03-09-2018 11:45 AM
Hey Everyone,
Using the Vision Development Module, LV17.
The Image processing VIs do not seem to work for me, I am probably doing something wrong. Please see the attached picture.
Objective: load bmp from desktop, and perform image processing.
Data: U8, but BMP is standard 24-bit. I just take Red for the gray scale, verified all RGB values are identical.
It seems adding in the border cause the edge detector not to fail but the image is totally screwed up (black). But if I do not use a border, the before image is correct and I can an error for the after (likely need the border for the mask multiply.
Any ideas? thanks everyone
Solved! Go to Solution.
03-09-2018 05:37 PM
Hey Everyone,
Here is another picture/attempted to get edge detection working.
See attached image, thanks.
03-09-2018 10:41 PM
03-10-2018 11:09 AM
Hi Uday,
Thanks for your reply my friend. Attached is my code, and my picture (251 x 111 pixels) please review and see what you think.
Looking at the output, it seems that it has a lot of zeros and ones, could this be a multiply map?
I tried to find an IMAQ function to add/multiply, I do not see any way of merging these images in any form. No one has experience using the typical filters of Vision? I tried other filters and they have the same problem, there is some step I am missing. I checked the examples and there are mostly inspection examples, and a histogram, not much on real image processing algos.
-Peter
03-12-2018 01:01 AM
03-12-2018 01:17 PM
Uday,
You're the man, and you are correct, it seems the image processing VIs generate an image mask as an output. I also attempted to multiply the output with the original image and it was great, I'll likely go back to adding + histogram equalization.
*** Code & Image is attached to support others in the forum.