How do I use the IMAQ Histogram and IMAQ Histograph VI's with 16 bit Images? Primary Software: LabVIEW Development Systems>>Base PackagePrimary Software Version: 7.1 Primary Software Fixed Version: N/A Secondary Software: LabVIEW Toolkits>>IMAQ Vision for LabVIEW
Problem: I use the IMAQ Histogram and IMAQ Histograph VI's with my 16 bit image, but I only get 256 levels of histogram data. This is only 8 bits. I can’t get the 65536 levels or 16 bits of data I expect. Solution: The IMAQ Histogram and IMAQ Histograph VI's require the 'Number of Classes' and 'Interval Range' to be filled with appropriate values to accommodate image data larger than 8 bits or 256 levels of data. For 16 bit images, the 'Number of Classes' would be 2^16 or 65536. The 'Interval Range' corresponds to a signed 16 bit integer which is -32768 to 32767. This same method can be used to get histogram data for 10, 12, and 14 bit images. The attached example shows a created 16 bit image and the corresponding histogram and histograph data. Related Links: Attachments:
Report Date: 08/29/2005 Last Updated: 09/26/2005 Document ID: 3OSGAEMQ |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
