Welcome Guest! To enable all features, please Login or Register.

Notification

Icon
Error

Options
View
Last Go to last post Unread Go to first unread post
#1 Posted : Wednesday, May 16, 2012 8:57:07 PM(UTC)

kb7  
kb7

Groups: Registered
Posts: 71


Hi,

I want to view a 14 bit raw image in MainDemo. But the problem is, it has only 8-bit, 12-bit, 16-bit etc options not 14-bit. Is it possible through any other example or through this one only to view 14-bit  raw image. Actually by using 16-bit option in MainDemo I am able to view this 14-bit image but it's not that much clear as i am not passing the exact parameter of BitsPerPixel. Can you please help me in this regards.

Thanks.....
 

Try the latest version of LEADTOOLS for free for 60 days by downloading the evaluation: https://www.leadtools.com/downloads

Wanna join the discussion? Login to your LEADTOOLS Support accountor Register a new forum account.

#2 Posted : Thursday, May 17, 2012 5:20:47 AM(UTC)
Maen Hasan

Groups: Registered, Tech Support
Posts: 1,328

Was thanked: 1 time(s) in 1 post(s)

Please send me a sample image that contains 14-bit data and include the following information:
1. Are the image pixels grayscale?
2. Are the allocated bits equal to the stored bits, both = 14?
3. Is there padding with each line of data (what's the value of Bytes Per Line)?
4. Can you send a screenshot of how the image should appear?
5. Which LEADTOOLS version are you using?

If you send files, please put them all in a ZIP or RAR file and either post them here or email them to support@leadtools.com.

Thanks,
Maen Badwan
LEADTOOLS Technical Support
 
#3 Posted : Thursday, May 24, 2012 9:26:00 PM(UTC)

kb7  
kb7

Groups: Registered
Posts: 71


Hi,

I am not able to attach the image here. So can you please download it from the below link.
http://www.4shared.com/zip/Zp4eVxwM/RawImages.html

1.Yes image pixels are grayscale.
2. Yes allocated bits =stored bits.
3. I don't know about this.
4. screen shot is attached.
5. Leadtools version 17.
File Attachment(s):
Screenshot.zip (1,608kb) downloaded 27 time(s).
 
#4 Posted : Sunday, May 27, 2012 12:03:52 AM(UTC)
Maen Hasan

Groups: Registered, Tech Support
Posts: 1,328

Was thanked: 1 time(s) in 1 post(s)

I want to investigate more about this issue. Please send this issue in a new email to support@leadtools.com and include the following information in your email:
Are you using
1. Which LEADTOOLS programming interface (.NET classes, C DLL, C++ Classes, etc.) are you using?
2. Your LEADTOOLS serial number (do Not post it here).
3. Send me the image information such as width, height, BPP, etc.
3. A link to this forum post.

Thanks,
Maen Badwan
LEADTOOLS Technical Support
 
#5 Posted : Monday, June 4, 2012 1:21:25 AM(UTC)
Maen Hasan

Groups: Registered, Tech Support
Posts: 1,328

Was thanked: 1 time(s) in 1 post(s)

After checking the raw files, it appears they contain 16 bits allocated and not 14.
The data values are in the range of 14 bits which means 2 bits are not used (bits stored = 14).
Also, the intensity values are inverted, which means the values closer to zero are the bright shades and the values closer to 0x3FFF are the dark shades.

To load such images and display them correctly using LEADTOOLS, you can use the Raw loading mechanism and specify the following parameters:
W = H = 3000
BPP = 16
Order = Grayscale
View Perspective = Top Left
Fill Order = MSB First
Pad Line 4 Bytes: Not important because data is multiple of 4 bytes.

After that, you must do some image processing to convert it to actual 16-bit image for display. I used the Remap Intensity function to obtain attached display.

Thanks,
Maen Badwan
LEADTOOLS Technical Support
Maen Hasan attached the following image(s):
RemapDlg.png
 
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Powered by YAF.NET | YAF.NET © 2003-2020, Yet Another Forum.NET
This page was generated in 0.216 seconds.