From: Enblend <enb...@li...> - 2009-10-28 17:55:59
|
Bugs item #2885858, was opened at 2009-10-25 12:01 Message generated for change (Comment added) made by harryvanderwolf You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=696409&aid=2885858&group_id=123407 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: Internal error Group: v4.0 Status: Open Resolution: Rejected Priority: 5 Private: No Submitted By: Harry van der Wolf (harryvanderwolf) Assigned to: Nobody/Anonymous (nobody) Summary: 16bit Tiff's containing preview imgs "stop" enfuse/enblend Initial Comment: 16bit Tiff images sometimes contain small preview images. Canon camera's (can) do this for example, but also some programs (can) do this, also when converting from raw to 16bit tiff. It means that the tiff contains actually 2 images: a "normal" 16bit image with an alpha-mask, and an 8bit thumbnail without an alpha mask. Enfuse/enblend can deal with multilayer tiffs and will compensate for differences in size (e.g. the thumbnail). However, it can't work with tiffs with and without an alpha-mask or with different bitdepths. This makes both enblend and enfuse stop. enfuse mentions when running "enfuse -o pipo.jpg img_0141.tif img_0141_ds1.tif ": enfuse: warning: input image "img_0141.tif" does not have an alpha channel; enfuse: warning: assuming all pixels should contribute to the final image enfuse: warning: input image "img_0141.tif" does not have an alpha channel; enfuse: warning: assuming all pixels should contribute to the final image enfuse: input image "img_0141.tif" has pixel type UINT8, enfuse: but previous images have pixel type UINT16 enblend mentions when running "enfuse -o pipo.jpg img_0141.tif img_0141_ds1.tif": enblend: input image "img_0141.tif" does not have an alpha channel Both test images contain a 2912x4368 and 182x273 image. Note: When using tiffsplit to separate the big ones from the previews, I can enblend/enfuse both sets without problem. note 2: I can't generate the images from my camera or software and can't add them now. I have asked both owners if the images can be used for "bugfixing". I have no answer yet. I still filed the bug now as I think the issue will occur more and more when users are going to use these 16 bit tiff images, converted from their RAW images (as I understood: default Canon hardware and conversion software behaviour). ---------------------------------------------------------------------- >Comment By: Harry van der Wolf (harryvanderwolf) Date: 2009-10-28 18:55 Message: I agree that it is not a bug. That's also why I described it as "This makes both enblend and enfuse stop." I just added it to the bug tracker as that's the most appropriate place IMO, also in case future "bugs" regarding this might be reported. I still think that "something" should be done about it as the user doesn't have a clue what's going on and it took me also some time to find out what happened. My suggestion would be to make a more clear message to the user. enblend only mentions "enblend: input image "img_0141.tif" does not have an alpha channel". It doesn't mention that there are two images inside the tiff and that they are not suitable for blending (or fusing for that matter). Adding it to the manual is also good. The mentioned images are multi-layered images but not to be used like that for blending/fusing. ---------------------------------------------------------------------- Comment By: Christoph L. Spiel (cspiel) Date: 2009-10-28 08:44 Message: This is not a bug, but a misuse of Enblend (or Enfuse). The user is responsible for feeding appropriate image files into Enblend/Enfuse. The error message unambiguously makes it clear that the input files are not suited for blending/fusing. => Not-a-Bug If you are aware of a method to select those layers of multi-layer images which make up the final image, please let us know. Of course your technique must work across all TIFF and PNG images and for all camera makes. We could add a paragraph to the documentation that explains the (new) multi-layer capabilities of Enblend and Enfuse to guide first-time users. ---------------------------------------------------------------------- Comment By: Harry van der Wolf (harryvanderwolf) Date: 2009-10-26 20:31 Message: The second set of images is from Bill Musset. They are small 1.4MB 16bit tiffs with a tiny preview. The total size of the set is 4.7M. The individual size is bigger than the 256KB that is allowed for SF. These images can be found at http://harryvanderwolf.dyndns.org/tmp/BillMusset/ Error message (only last 4 lines relevant): enfuse -l 27 --compression=PACKBITS --depth=16 -o '/Users/harryvanderwolf/Pictures/pipo.TIF' '/Users/harryvanderwolf/Pictures/enfuse/BillMusset/IMG_3605.tif' '/Users/harryvanderwolf/Pictures/enfuse/BillMusset/IMG_3604.tif' '/Users/harryvanderwolf/Pictures/enfuse/BillMusset/IMG_3602.tif' TIFFReadDirectory: Warning, /Users/harryvanderwolf/Pictures/enfuse/BillMusset/IMG_3605.tif: wrong data type 1 for "RichTIFFIPTC"; tag ignored. TIFFReadDirectory: Warning, /Users/harryvanderwolf/Pictures/enfuse/BillMusset/IMG_3605.tif: wrong data type 1 for "RichTIFFIPTC"; tag ignored. TIFFReadDirectory: Warning, /Users/harryvanderwolf/Pictures/enfuse/BillMusset/IMG_3605.tif: wrong data type 1 for "RichTIFFIPTC"; tag ignored. TIFFReadDirectory: Warning, /Users/harryvanderwolf/Pictures/enfuse/BillMusset/IMG_3605.tif: wrong data type 1 for "RichTIFFIPTC"; tag ignored. TIFFReadDirectory: Warning, /Users/harryvanderwolf/Pictures/enfuse/BillMusset/IMG_3605.tif: wrong data type 1 for "RichTIFFIPTC"; tag ignored. TIFFReadDirectory: Warning, /Users/harryvanderwolf/Pictures/enfuse/BillMusset/IMG_3605.tif: wrong data type 1 for "RichTIFFIPTC"; tag ignored. enfuse: warning: input image "/Users/harryvanderwolf/Pictures/enfuse/BillMusset/IMG_3605.tif" does not have an alpha channel; enfuse: warning: assuming all pixels should contribute to the final image TIFFReadDirectory: Warning, /Users/harryvanderwolf/Pictures/enfuse/BillMusset/IMG_3605.tif: wrong data type 1 for "RichTIFFIPTC"; tag ignored. TIFFReadDirectory: Warning, /Users/harryvanderwolf/Pictures/enfuse/BillMusset/IMG_3605.tif: wrong data type 1 for "RichTIFFIPTC"; tag ignored. TIFFReadDirectory: Warning, /Users/harryvanderwolf/Pictures/enfuse/BillMusset/IMG_3605.tif: wrong data type 1 for "RichTIFFIPTC"; tag ignored. TIFFReadDirectory: Warning, /Users/harryvanderwolf/Pictures/enfuse/BillMusset/IMG_3605.tif: wrong data type 1 for "RichTIFFIPTC"; tag ignored. TIFFReadDirectory: Warning, /Users/harryvanderwolf/Pictures/enfuse/BillMusset/IMG_3605.tif: wrong data type 1 for "RichTIFFIPTC"; tag ignored. enfuse: warning: input image "/Users/harryvanderwolf/Pictures/enfuse/BillMusset/IMG_3605.tif" does not have an alpha channel; enfuse: warning: assuming all pixels should contribute to the final image enfuse: input image "/Users/harryvanderwolf/Pictures/enfuse/BillMusset/IMG_3605.tif" has pixel type UINT8, enfuse: but previous images have pixel type UINT16 ---------------------------------------------------------------------- Comment By: Harry van der Wolf (harryvanderwolf) Date: 2009-10-25 15:52 Message: I received permission ("yes please do") from one of the users. As the images are 146 MB (total) in size I can't upload them to SF. They can be found at http://harryvanderwolf.dyndns.org/tmp/thrift/. I bzipped both images. They are 2 "false bracketed" images from the same RAW Canon image. It's from my resident server which doesn't have huge bandwidth. You can off course only download one and copy it as that doesn't matter for the process. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=696409&aid=2885858&group_id=123407 |