-
Notifications
You must be signed in to change notification settings - Fork 1
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
Downsampling Tasks Skipped for Isotropic Inputs in Igneous Task Creation #58
Comments
Technically the bot does not skip isotropic input. The downsample stops when the highest mip is isotropic, so if the input is already isotropic, nothing will be done. This is more of a design decision. There are quite a few details to be decided about the default behavior if we want to do more
I doubt these questions have unique answers makes everyone happy, and I am not thrilled about providing parameters for every possible scenario either. Any suggestions? |
I think it's necessary to introduce an optional explicit control for downsampling. Although it's not as common as dealing with anisotropic data, there are certainly cases where we need to handle isotropic data from FIBSEM. In these instances, we should have the capacity to explicitly specify the arguments for igneous's |
For isotropic data, you could potentially use 2x2x2 instead of 2x2x1.
Igneous supports both.
…On Tue, Jul 11, 2023, 5:10 AM Kisuk Lee ***@***.***> wrote:
I think it's necessary to introduce an optional explicit control for
downsampling. Although it's not as common as dealing with anisotropic data,
there are certainly cases where we need to handle isotropic data from
FIBSEM. In these instances, we should have the capacity to explicitly
specify the arguments for igneous's create_downsampling_tasks rather than
relying on the default behavior designed for anisotropic data. This will
allow us to both downsample and mesh the segmentation result from isotropic
FIBSEM data.
—
Reply to this email directly, view it on GitHub
<#58 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AATGQSJFLDWQKGFDI4IZXLDXPUKAZANCNFSM6AAAAAA2FJJ5RI>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
@torms3, I agree we should make dowmsample process smarter or flexible or both. I am just not quite sure about the best approach, I still hope to be able to expose a more abstract and limited interface as part of the segmentation process. Besides, if you want arbitrary access to igneous tasks, you can use the |
Problem
In the Igneous task creation, specifically in the
downsample_for_meshing
anddownsample
methods, we've observed that downsampling tasks are skipped if the input data is already isotropic (if mip == target_mip:
).Impact
The issue arises when we want to process isotropic inputs through the downsampling pipeline, for purposes beyond merely making the data isotropic. The current code doesn't allow us to do so because the conditions check for isotropic data and skip the downsampling process altogether.
Proposed Solution
We propose a modification to the conditions in the mentioned methods so that downsampling tasks aren't automatically skipped for isotropic data. Providing an option or a flag to choose whether to skip isotropic inputs could be a possible solution.
We suggest something like:
And similar for the downsample function.
Benefits
This modification will provide users with greater flexibility in managing their data processing pipeline, enabling them to pass isotropic data through the downsampling process if needed.
Looking forward to your thoughts on this.
The text was updated successfully, but these errors were encountered: