Displaying a Raw Mono Image with Cocoa
Displaying a Raw Mono Image with Cocoa
- Subject: Displaying a Raw Mono Image with Cocoa
- From: email@hidden
- Date: Tue, 02 Aug 2005 10:53:13 -0700
Hello All:
I have a 1392 X 1040 12 bit monochrome image from a Scientific CCD camera that I am trying to display an image from using a Cocoa App. I have tried many things - the best that I can get is an image displayed but the image looks very strange - odd patterns - you can tell the image is in there - but it is not rendered correctly.
I am suspecting that because it is a 12 bit per pixel camera - I am not setting something correctly. Does anyone have any suggestions or code samples that could help me get this image displayed correctly?
It is a file with a single plane of 1392 x 1040 pixels - each pixel takes 2 bytes (upper 4 bits are 0 - since it is a 12 bit camera)....
Thanks in advance for any help!
JB
John J. Bahun
Firewire Mac Development
Senior Software Engineer
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden