TomographicImaging/CIL

Add tool for auto-cropping Image Geometry

Opened this issue · 0 comments

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)