Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

shrink ROI

Solved!
Go to solution

Hi Bruce,

Your suggestion worked. I am able to shrink the ROI using erode function and looping it until the required area percentage is reached. 

Thanks a ton.

Regards

Aveo

0 Kudos
Message 11 of 13
(2,634 Views)

If you had a large image (>20MB) and the amount of erosion needed was taking too much time, is there another way? I've tried shrinking an ROI with respect to the centroid, which is fast, but this doesn't always maintain the overall shape in the way that erosion does. In other words I need a fast erosion. Is there a mathematical routine that does this somehow? 

0 Kudos
Message 12 of 13
(456 Views)

You could select erosion kernel that is proportion to the size of the image. 

That will make the erosion faster.

 

Amit Shachaf
0 Kudos
Message 13 of 13
(448 Views)