Fake: add labelPlanes option to add human-readable labels to planes#4339
Merged
sbesson merged 1 commit intoome:developfrom Aug 20, 2025
Merged
Fake: add labelPlanes option to add human-readable labels to planes#4339sbesson merged 1 commit intoome:developfrom
labelPlanes option to add human-readable labels to planes#4339sbesson merged 1 commit intoome:developfrom
Conversation
sbesson
approved these changes
Aug 14, 2025
Member
sbesson
left a comment
There was a problem hiding this comment.
Tested with a few example of synthetic images e.g.
% ./tools/showinf "test&labelPlanes=true&sizeZ=20&sizeC=3&sizeT=3&series=2.fake" -series 1
The primary goal from my side was to simplify the validation of plane reading in the context of glencoesoftware/omero-zarr-pixel-buffer#28. Coupled with bioformats2raw, I think this change is sufficient to easy generate test datasets with various modalities and dimensionalities.
Proposing to merge unless @jburel @dominikl can think of features introduced in their investigation worth bringing here.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Discussed with @sbesson that in the same line as
MakeTestOmeTiff, it might be useful for some test scenarios to haveFakeReadershow readable ZCT indexes and other metadata included in each plane's pixels. This is encoded already in the "special pixels" in the top left corner, but human-readable values would be nice as well.showinf test&labelPlanes=true&...fakeshould draw the relevant metadata in white, asMakeTestOmeTiffdoes. This doesn't attempt to wrap the image name if it spans multiple lines. The default behavior without thelabelPlaneskey should remain unchanged.