02-13-2015 12:26 AM
Hi all,
I have an 8bit grayscale image, i have extracted the column indeces of Image which has defects. I need to mark the defective pixels with a line or dot indication on the image. Can anybody suggest me how to go about it.
Solved! Go to Solution.
02-13-2015 12:55 AM
Hello,
check out the IMAQ Overlay pallete.
Best regards,
K
02-13-2015 05:14 AM
Hi Klemen,
Thanks for your time,
I tried using overlay oval vi with No luck, i have attached the snippet. I am not getting any image output from the overlay oval vi.
02-13-2015 05:40 AM - edited 02-13-2015 05:41 AM
Hello,
first of all, I do not know how you interpret "column indices", but in the overlay input you are passing this as a "y" coordinate - so this should be "rows indices"? Are you using rotated image?
Secondly, why do you pass an empty array to the for loop for "x" coordinates? In order for the overlay oval to work, you need to input valid "x,y" coordinates of the oval location.
Best regards,
K
02-14-2015 01:27 AM - edited 02-14-2015 01:28 AM
Hi Klemen,
Thanks for your time, the overlay is working fine, i passed a 1D array of constant pixels (i.e 250)(Y Coordinates)
Here is my actual requirement:
I am having a Grayscale 8-bit image (3969 X 600)(To find the pixel values widthwise which has defects, X-Coordinates).
I am facing an issue to find the Cooresponding Y-Coordinates(Pixels for height) for the X-coordinates(Pixels for Width). So i can feed the both x & y coordinates to overlay function to mark the exact pixel with defect on the image.
I would be glad if you suggest me how to find the height pixels for the corresponding width pixels.
02-16-2015 05:20 AM
Hello,
since you've marked a solution, I assume that you've managed to properly overlay the oval?
Best regards,
K
02-16-2015 06:25 AM
Hi,
I was able to find the row indeces using the column indeces. I managed to overlay oval on the image. Thanks for all the hints you provided to make it happen.