The attached project consists or two images - small, ostensibly 
single-colour JPEGs.

When opened in Photoshop, green.jpg has pixels all of value (0,255,1). 
yellow.jpg has pixels all of value (255,255,0).

After stiching to separate tifs, one tif is over 10x larger than the other. 
On opening in Photoshop this can be seen to be the result of the pixels 
being a mixture of (0,255,1) and (0,255,2), and as such, not being very 
compressible with LZW - unlike the other tif, which is still pure 
(255,255,0).

This suggests a bug in Nona's resampling code which is causing some values 
to round up - either that or a bug (or maybe just a difference from 
Photoshop) in the code that decompresses the JPEG? Maybe the second is more 
likely, because changing Nona's interpolator makes no difference.

Anyway, it's probably more of academic interest really, since such images 
are not common in real usage, but I thought it would be of interest.

David

-- 
A list of frequently asked questions is available at: 
http://wiki.panotools.org/Hugin_FAQ
--- 
You received this message because you are subscribed to the Google Groups 
"hugin and other free panoramic software" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/hugin-ptx/abf79eb5-6dae-43c3-84b1-0b2472262cfen%40googlegroups.com.

<<attachment: nona_bug.zip>>

Reply via email to