question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

imread methods shows different frame number compare with ImageJ

See original GitHub issue

I’d like to read Tiff’s video using imread techniques from your package, however, I received more frames than what I see in ImageJ. When I use tif = TiffFile('temp.tif') and check the len, it gives me the same result (len(tif. pages)). This occurs in only a few of the videos. Is there any particular explanation for this?

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
cgohlkecommented, May 30, 2022

In this case tifffile is using the OME metadata in the file, which obviously does not match the image data. This could be due to an interrupted acquisition. Try to use imread(filename, is_ome=False) or imread(filename, is_ome=False, is_imagej=False) to ignore the corrupted metadata.

0reactions
po60nanicommented, May 30, 2022

image

Read more comments on GitHub >

github_iconTop Results From Across the Web

Image Difference with OpenCV and Python - PyImageSearch
Learn how to compare two images by computing image differences and highlighting the differences between the images using OpenCV and Python.
Read more >
ImageJ-MATLAB: IJM.show() does not reliably pass numeric ...
I've encountered a very strange bug with regard to pixel values of image data passed to ImageJ/Fiji from MATLAB (R2018a) via ImageJ-MATLAB ...
Read more >
how to get the number of channels from an image, in OpenCV ...
Use img.shape. It provides you the shape of img in all directions. ie number of rows, number of columns for a 2D array...
Read more >
ImageJ Basics
Check 'global' to apply this scale to other image frames. Set Measurements. Choose parameters to be measured via Analyze → Set Measurements. Measuring...
Read more >
Basic Image Processing In Python - Part 1 | Codementor
Vector graphics are somewhat different method of storing images that ... In an RGB image, each pixel is represented by three 8 bit...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found