ImageEn for Delphi and C++ Builder ImageEn for Delphi and C++ Builder

 

ImageEn Forum
Profile    Join    Active Topics    Forum FAQ    Search this forumSearch
 All Forums
 ImageEn Library for Delphi, C++ and .Net
 ImageEn and IEvolution Support Forum
 How to access 16 bits values from TIFF ?

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

View 
UserName:
Password:
Format  Bold Italicized Underline  Align Left Centered Align Right  Horizontal Rule  Insert Hyperlink   Browse for an image to attach to your post Browse for a zip to attach to your post Insert Code  Insert Quote Insert List
   
Message 

 

Emoji
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Black Eye [B)]
Frown [:(] Shocked [:0] Angry [:(!] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
Check here to subscribe to this topic.
   

T O P I C    R E V I E W
jcf Posted - Nov 02 2013 : 10:11:47
Hi,
i'm working with TIFF 16 bits or 32 bits files, but when i want to access and display all the values of grey in a table, i get the values on 8 bits range (from histogram for example).
How can i have access to the original 16 bits values to display all of them ? (the other solution would be to display a real 16 bits histogram...not sure it's possible).
Thanks,
JC
2   L A T E S T    R E P L I E S    (Newest First)
jcf Posted - Feb 09 2014 : 18:54:49
thank you.
What about 16 bits color (3x16=48 bits color files) values ?
Do i need to convert my 48 bits color pic to 16 bits gray to display the value ?
thanks.
JC
fab Posted - Nov 27 2013 : 01:22:51
Hi,
to load a 16 bit image without converting it to 8 bit write:

ImageEnView1.LegacyBitmap := false;
ImageEnView1.IO.NativePixelFormat := true;
ImageEnView1.IO.LoadFromFile('....filename....');

To read a 16 bit gray scale value use:

value := ImageEnView1.IEBitmap.Pixels_ie16g[col, row];