LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Image filters inside an ROI

Solved!
Go to solution

Hello,

Does anyone know of a way to apply image filters (edge detection, threshold…) to only the portion of an image inside an ROI?

Thanks for any advice,

Brian

0 Kudos
Message 1 of 6
(2,914 Views)

Is your ROI a rectangle or some arbitrary shape?

 

 

Randall Pursley
0 Kudos
Message 2 of 6
(2,906 Views)

Randall,

 

It's a rectangle.

 

Thanks,

Brian

0 Kudos
Message 3 of 6
(2,897 Views)


Does anyone know of a way to apply image filters (edge detection, threshold…) to only the portion of an image inside an ROI?




Dear brian,

 I dont know its a good idea or not. Why cant you try image mask (Mask From ROI) function. 

---
Silver_Shaper | CLD
0 Kudos
Message 4 of 6
(2,888 Views)
Solution
Accepted by topic author w17

Take a look at the attached.  I think this is what you are looking for.  Make sure you have an ROI defined in the 'Original' image control before running.

 

 

FP.png

Randall Pursley
Message 5 of 6
(2,877 Views)

Randall,

 

This is exactly what I was looking for. I modified your code to use video and it works great!

 

Thank you for your help.

Brian

Message 6 of 6
(2,872 Views)