Code Comments

Programming Forum and web based access to our favorite programming groups.
For Programmers: Free Programming Magazines | New: Database administration forum
Registration is free! Edit your profileCalendarFind other membersFrequently Asked QuestionsSearch -> 
Post New Thread











Thread
Author

Decompressing JPEG to 48-bit ARGB
Hi,

I'd like to know if it's a good idea to decompress a 12-bit precision JPEG
to ARGB values with 16-bit per component. Is there a program that can read
such files ?

Thanks in advance.



Report this thread to moderator Post Follow-up to this message
Old Post
Manhattan
09-12-04 08:55 PM


Re: Decompressing JPEG to 48-bit ARGB
Hi,

> I'd like to know if it's a good idea to decompress a 12-bit precision JPEG
> to ARGB values with 16-bit per component. Is there a program that can read
> such files ?

Frankly, I don't quite get the question. Whether this is a good idea
or not depends on what you want to do. In medical applications, 12 bit
output is more or less a requirement, and if your professional display
device uses 16 bits/component, then this is a very good idea indeed.

Surely there are jpg decoders that can read 12bpp files, and I would
call this a requirement for a codec that claims to be professional.

So long,
Thomas




Report this thread to moderator Post Follow-up to this message
Old Post
Thomas Richter
09-13-04 01:55 PM


Re: Decompressing JPEG to 48-bit ARGB
"Thomas Richter" <thor@cleopatra.math.tu-berlin.de> wrote in message
news:ci3lfm$1eb$1@mamenchi.zrz.TU-Berlin.DE...
> Hi,
> 
JPEG 
read 
>
> Frankly, I don't quite get the question. Whether this is a good idea
> or not depends on what you want to do. In medical applications, 12 bit
> output is more or less a requirement, and if your professional display
> device uses 16 bits/component, then this is a very good idea indeed.
>
> Surely there are jpg decoders that can read 12bpp files, and I would
> call this a requirement for a codec that claims to be professional.
>
> So long,
> Thomas

I realized I can't count. It's not 48-bit but 64-bit XRGB : 16-bit per
sample. X is unused.
This is for a personal project. I don't have access to any special device to
display the image. I read that Photoshop can read 48-bit RGB but I don't
know if there is a program to read 64-bit RGB.



Report this thread to moderator Post Follow-up to this message
Old Post
Manhattan
09-14-04 01:55 AM


Re: Decompressing JPEG to 48-bit ARGB
"Manhattan" <manhattan95@wanadoo.fr> wrote in message
news:ci4vv1$adf$1@news-reader5.wanadoo.fr...
> I realized I can't count. It's not 48-bit but 64-bit XRGB : 16-bit per
> sample. X is unused.
> This is for a personal project. I don't have access to any special device
to
> display the image. I read that Photoshop can read 48-bit RGB but I don't
> know if there is a program to read 64-bit RGB.
>
>

At least these are not standard bitmaps in the Windows GDI sense. The
standard DIB's highest bits/pixel is 32bit, for RGBA.

I have experimented a bit with more precision per channel, esp. since new
digicams store pixels with 12, 13 or 14 bits per channel. You'd have to read
the raw or TIFF images though, I haven't yet encountered one that produced
JPEG files with higher than 8bit/channel precision. I don't know JPEG too
well, but I think it is limited to that.

You could have a look at TIFF, which is able to do it, or create your own
format.

Kind regards,

Nils



Report this thread to moderator Post Follow-up to this message
Old Post
Nils
09-14-04 01:55 AM


Re: Decompressing JPEG to 48-bit ARGB
Hi,

> I realized I can't count. It's not 48-bit but 64-bit XRGB : 16-bit per
> sample. X is unused.
> This is for a personal project. I don't have access to any special device 
to
> display the image. I read that Photoshop can read 48-bit RGB but I don't
> know if there is a program to read 64-bit RGB.

I'm not sure which program would be able to display this either. I would
also believe photoshop can do it, but in case this is just some kind of
"toy project", I would rather suggest to store the decompressed images
as "raw" bitmap and write a custom viewer for it that allows you to extract
parts of this image; one thing we did when we had to deal with 16bpp medial
image data was to allow the user some kind of "luminance window". Pixels
with a higher or lower luminance are shown as complete black or white.
Kind of allowed you to "move" thru the image in the luminance direction.

So long,
Thomas



Report this thread to moderator Post Follow-up to this message
Old Post
Thomas Richter
09-14-04 08:55 AM


Sponsored Links




Last Thread Next Thread Next
Search this forum -> 
Post New Thread

Compression archive

Show a Printable Version Send to friend Email This Page to Someone! subscribe to this thread Receive updates to this thread
Computer Consultants
Programming Jobs
Visual Basic Controls
SQL Server Programming
Webservices
Java Security
Visual Studio
C# Programming
Visual J++
Software engineering
Open source Software
Perl Programming
PHP Programming
ASP Programming
ASP .NET Programming
Visual Basic Programming
Windows Scripting Host
Java Programming
Java Help
Java Beans
VBScript
Cobol
MAC Applications
Unix Programming
Forum Jump:
All times are GMT. The time now is 05:13 PM.

 
Free MCSE Braindumps | Real Estate Topics

Programming forum archive

Copyrights CodeComments.com 2004 - 2006

Powered by vBulletin Copyright 2000-2006 Jelsoft Enterprises Limited.