Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations cowski on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Working with 12 bit tiff image saved as 16 bit image

Status
Not open for further replies.

Ejaz

Electrical
Joined
Dec 4, 2001
Messages
26
Location
JP
The captured image from a camera is 12 bit but saved in the computer as 16 bit tiff image with postfix '0' bits. During capture, the pixel values don't exceed 4095 as should be with 12 bit images. But after saving the image and openning in Matlab, the "imview(image)" command shows 16 bit values, that is the pixels have values upto 65536. Is there any way to cut those extra 4 bits and make the image as 12 bits? It's very important that there shouldn't be any change in the original image.

Thanks in advance!
 
Assuming there are no distortions in scaling, why don't you simply divide by 16?

TTFN
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top