05-26-2012 10:21 AM
HELLO,
I am a new bee to labview.My objective is to "ERODE OBJECTS" through "BASIC MORPHOLOGY" in vision assistant using a 2 x 28 structuring element filter.But vision assistant only provides 3 x 3 , 5 x 5 and 7x 7 order structured elements erode object filter. Is there any way out??
Thank you 🙂
05-27-2012 10:17 AM
1. When doing erosion, you need to use odd dimensions. This gives you a center pixel.
2. Anything bigger than 7x7 will have to be done using LabVIEW. Make sure you make your image borders larger, also.
Bruce
05-30-2012 11:37 AM
i got it...thank you Mr.Bruce Ammons for your reply..
05-30-2012 09:28 PM
The latest version of Vision Assistant 2011 SP1 lets you specify much bigger kernels, but unfortunately, they still have to be the same size in X and Y. Thanks for the feedback. We might consider letting the user specify different sizes in X and Y in a future version.
As Bruce mentioned, you will have to generated the code and do it in LabVIEW.
Alternatively, you can just create that VI from LabVIEW using the kernel you want, call it using the Run LabVIEW step, and still do the rest of your prototyping in Vision Assistant.
Christophe