-
Notifications
You must be signed in to change notification settings - Fork 4
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
crop in transformed coordinates #168
Comments
Yes, you can using: [Process > Transform] (enter an affine transform) and then afterwards do [Process > Crop...]. Would that work for you? |
I can also try to make the Manual Transform |
My actual intention was to use the cropping to define sources for a gallery view of subvolumes. mobie/mobie.github.io#32 |
so it seems there is no way of storing a crop only in metadata. Even when I load a BDV/XML dataset into BDP2 and crop it saving requires to write a new data container. Would it be possible to do this entirely at the metadata level? So that instead of defining transformations only, I could also define the crop bounding box? Ideally in the same logic of a transformation... So one could even do:
|
Conceptually possible. @NicoKiaru do we have a @constantinpape @K-Meech do you feel having a spec for a crop of an image in MoBIE would be something generally useful (to me it feels that could be something useful in order show sub-volumes of big image data sets) @martinschorb regarding "arbitrary BBox orientation" I think the easiest would be to first transform the source into a space where you can then crop along the cartesian axes (and the crop would be given in this coordinate system). |
Yes, that's precisely what I thought of and what I would need in that gallery use case. |
Yes, I agree that could be useful, as already discussed in mobie/mobie.github.io#32. |
@martinschorb Would you already have a convenient workflow for how to determine the transformation and crop? Or should we add something to BDV-Playground or BigDataProcessor2? |
Yes, that is all ready to go. The scenario is:
|
Hi,
I like to crop a dataset in an arbitrary orientation.
However, the bounding box is only shown in the original volume coordinates. Can I provide a transformed source and crop it in the viewer's frame?
The text was updated successfully, but these errors were encountered: