SlicerMorph: ImageStacks TIFF warning/error

Some dataset that generates this warning message for the tiff files in ImageStacks, slowing down the import to a crawl. Same dataset imported without ImageStacks, using Slicer’s own load data, works fast and loads normally.

Is there away to make ImageStacks ignore this field. This is the warning that constantly repeated.

TIFFReadDirectory: Warning, Unknown field with tag 65280 (0xff00) encountered. TIFFReadDirectory: Warning, Unknown field with tag 65281 (0xff01) encountered. TIFFReadDirectory: Warning, Unknown field with tag 65280 (0xff00) encountered. TIFFReadDirectory: Warning, Unknown field with tag 65281 (0xff01) encountered.

I added a short sequence of offending tiff files to the issue.

@pieper @lassoan if you have suggestions it will be great.

sample.zip

About this issue

  • Original URL
  • State: closed
  • Created 3 years ago
  • Comments: 16 (4 by maintainers)

Commits related to this issue

Most upvoted comments

Ok my concern is making sure this changes integrated before the new stable is cut, as we primarily use the stable versions for our events.

Also @jcfr

Here’s the fix Andras proposed.

https://github.com/lassoan/ITK/commit/f85248f5378de26b0a57a3bd2cc843099e0a00cd

It looks good to me, so I guess the next step would be to create a pull request to upstream ITK and also merge the patch into Slicer/ITK and update the hash in the SuperBuild.