LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Problem with thresholding and skeletonizing

I am having problem in image processing. Basically what I want to do is to capture an image of interference pattern, filter the noise, threshold it into binary and skeletonize it. The captured image is of 16 bit type. The image must be transformed into 8 bit so that it can be skeletonized. But when I threshold the new 8-bit image, only blackness appears. If I want something to appear, I need to set the replace value to 255. And when I skeletonize the image, only blackness appears again. How to solve this problem? Please help me with this. You can refer to the attached file to see my VI.
0 Kudos
Message 1 of 2
(2,640 Views)
Rig, try adjusting the color palette in the IMAQ WindDraw function (i.e. 255,255,255 instead of 0,0,0). That should get rid of the all black image from the IMAQ Skeleton. Also, make sure you have a border width of at least 1 (IMAQ ImageBorderSize) on the image being sent to IMAQ Skeleton.

Good luck,

Steve
0 Kudos
Message 2 of 2
(2,640 Views)