Image Resolution wrongly read in TIFFWSIReader
See original GitHub issue- TIA Toolbox version: 1.2.1
- Python version: 3.8
- Operating System:
Description
According to the Tiff description, the tags XResolution
and YResolution
are of type rational. Meaning that we should compute the fraction. In the code:
we are only passing the first element. Instead we should pass res_x.value[0]/res_x.value[1]
and res_y.value[0]/res_y.value[0]
Issue Analytics
- State:
- Created a year ago
- Comments:15 (12 by maintainers)
Top Results From Across the Web
Why is BufferedReader read() much slower than readLine()?
I found that read() is about 10x slower than readLine() . Is this expected? Or am I doing something wrong? Here's a benchmark...
Read more >How to read file in Java - BufferedReader - Mkyong.com
I want to keep data in memory as equal to my custom buffer size =let's say 5*103kb where 103kb is the one line...
Read more >Working of BufferedReader in Python | Examples - eduCBA
The class used to provide input buffering which means to fetch the data and store it in the queue of the memory so...
Read more >Efficient way to download an image - CodeRanch
I have a java code which downloads images from network. ... BufferedReader reader = new BufferedReader( new InputStreamReader(url.openStream()));.
Read more >Image Processing in Java - Read and Write - GeeksforGeeks
A BufferedImage can be read from several distinct image types (i.e., BMP, HEIC, etc.). Not all of these are backed by ImageIO itself, ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hi @John-P
I sent a link to a test file to the tia email address found in setup.py