Quantcast
Channel: Machine Vision topics
Viewing all articles
Browse latest Browse all 1268

Manual Thresholding and Saving 8-bit binary

$
0
0

Hello,

 

I am trying to understand some programming and thresholding. I have an image (attached) that I want to convert to 8 bit binary (0-black and 255-white pixel intensities only) but I want to use manual loops and not the available vi's so I can understand the process and manipulate it in my way. I tried doing somethings but seems like it does not work properly. Can somebody please help and let me know how to perform thresholding using manual loops in LabVIEW?

 

The other reason to do this is I tried using thresholding vi and converted an image to binary (0 and 255) but after I saved the file, it was not binary with only blacks and whites anymore. It has some grey pixels too so the system did not save the binary image as binary. I would also like to learn how to force the system to save the pixels as only 0 and 255 even if they are not?

VeMo_1-1741891551342.jpeg

 

 VeMo_0-1741891518222.png

 

 

Thanks


Viewing all articles
Browse latest Browse all 1268

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>