Comments (4)
Please see the discussion here - this seems to be the same topic.
from libczi.
Thank you for the detailed answer. Although I can understand why the reported size is reported as such I would consider that a bug. There is only one image size in pixels independent of how data storage is organized. When pyramidal levels are computed from this original size there's no ambiguity on their sizes nor to what the original size is. Moreover, the correct size is reported by the Zen software as well as embedded meta-data.
I can submit a fix pull-request if you decide this is an issue. Otherwise I'll be using my own block enumeration and image statistics for now.
from libczi.
I chose to extend "SubBlockStatistics" in order to provide both size-definitions - because both are reasonable and both are in use. It is conceivable to have files without any layer0-subblocks at all, so relying only on layer0-subblocks is not sufficient.
from libczi.
That sounds like a great solution for the problem! Thank you!
I'm guessing the no layer 0 image is a degenerate case that is possible in format but unlikely to happen, do you have any situations when that is needed? I would feel that in that case the highest resolution available effectively is level-0 and should be stored as such, pixel resolution parameters should be adjusted along with objective magnification and other metadata and the image would be completely valid.
from libczi.
Related Issues (20)
- how to free the bitmap?if I call it 10000,my cpu is 100%,my memory is 80%
- Multiple-scene overlapped area rendering HOT 5
- ChannelComposite extraction using CZIcmd yields only half an image HOT 2
- Wrong dimension T for AiryScan time series HOT 7
- Commercial license HOT 1
- alligned_alloc gcc compatibility HOT 1
- CZIcmd: Colour Channel order reversed for 10 bit and 12 bit images. HOT 8
- thread safety HOT 3
- memory initialisation in CHeapAllocator::Allocate HOT 2
- SingleChannelPyramidLevelTileAccessor throws when a matching pyramid level is not found
- libCZI static not properly building
- Incorrect Output in release build HOT 2
- low contrast thumbnail
- Add install instructions and cmake project configuration
- EnumAttachments issue - update not a bug. HOT 1
- Increase png image resolution HOT 1
- Reading Attachments
- Compression mode 1001 not supported? HOT 12
- eigen3 build is failing HOT 1
- Missing/White tile on 5x and below resolution HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from libczi.