Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

max-merge option on axis in frame selector #1118

Closed
manthey opened this issue Apr 18, 2023 · 3 comments
Closed

max-merge option on axis in frame selector #1118

manthey opened this issue Apr 18, 2023 · 3 comments
Assignees

Comments

@manthey
Copy link
Member

manthey commented Apr 18, 2023

When in axis mode, we could have a check box next to each axis that would show a max-merge on that axis. When enabled, the slider would be disabled.

@annehaley annehaley self-assigned this Jun 27, 2023
@manthey
Copy link
Member Author

manthey commented Sep 18, 2023

Also called Max Intensity Projection

@manthey
Copy link
Member Author

manthey commented Sep 18, 2023

Description:

Suppose a image with 3 z values and 4 time values. We currently have two sliders, one for z and one for t. For this example, suppose our image is white. If you check "max-merge" next to an axis, the slider is disabled. If you did this on z (and the IndexStride of Z is 1, The style is now {"bands": [{"band": 1, "framedelta": 0, "palette": "white"}, {"band": 1, "framedelta": 1, "palette": "white"}, {"band": 1, "framedelta": 2, "palette": "white"}]}. Basically, we ask for all z-stack frames -- the default compositing is lighten, so you get the brightest pixel from those frames. If you did max-merge of t (IndexStride of 3), you'd have four entries with the framedeltas of 0, 3, 6, 9. If you did max-merge of both, you have all twelve frames in the style.

If you are in channel compositing mode, you repeat the palette for each channel for each max-merge entry and have the appropriate framedelta for both the channel and max-merge entry.

The net result of this is you see the brightest pixel from any frame that has been max-merged. Somethings probably make no sense to max-merge (like an XY axis), but I wouldn't prohibit any of them -- if it has a slider, it should have a max-merge checkbox.

@manthey
Copy link
Member Author

manthey commented Jan 4, 2024

This was added in #1306.

@manthey manthey closed this as completed Jan 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants