[Insight-users] Re: Problem with lossless JPEG compression in
GDCMImageIO
Steve M. Robbins
steve at sumost.ca
Mon Sep 24 21:18:34 EDT 2007
On Mon, Sep 24, 2007 at 11:50:05PM +0200, Pechin Lo wrote:
> After some tweaking around, I found out that JPEG compression works provided
> that the minimum difference between two pixels is 2.
> For example, if I have an image that only consists of n and n+1, the saved
> image will only contains the value n.
> However, if the image consists of value n and n+2, then the saved image will
> contains both n and n+2.
> In other words, the image will stores fine if I multiply it by a factor of
> 2.
>
> Can someone please tell me why is this happening?
I'm not familiar with the code in question, but is it possible
that you're using a lossy JPEG compression?
-Steve
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://public.kitware.com/pipermail/insight-users/attachments/20070924/a1e5baf1/attachment.pgp
More information about the Insight-users
mailing list