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

Add tool for auto-cropping Image Geometry #1998

Open
lauramurgatroyd opened this issue Nov 26, 2024 · 0 comments
Open

Add tool for auto-cropping Image Geometry #1998

lauramurgatroyd opened this issue Nov 26, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@lauramurgatroyd
Copy link
Member

Description

Add tool for cropping image geometry around a sample.

  • Do a low res FBP/FDK
  • To begin with:
    • user selects crop on each axis
    • CIL displays graph of values which are getting cropped out - as a visual to indicate if there might be sample getting cropped out
  • More advanced
    • CIL auto selects crop on each axis based on pixel values
    • CIL displays crop and graph of values getting cropped out

We can use functionality developed as part of development of FluxNormaliser.

Something like this for each axis but uses the entire region which has been cropped out:
Image

Alternatively could show the user the maximum of each pixel value along an axis to determine where to crop. This could be used in our method for auto selecting the crop.

Environment

import cil, sys
print(cil.version.version, cil.version.commit_hash, sys.version, sys.platform)
@lauramurgatroyd lauramurgatroyd added the enhancement New feature or request label Nov 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant