faster_cropping#

A GUI miniapp to quickly define crop region for bifurcation experiment images.

Syntax

python faster_cropping.py imgDir [optional arguments]
  • imgDir – the directory of nd2 or tif raw images.

  • optional arguments – (i) angles: angles between each channel, default 0 120 240. To pass the argument, use --angles 0 120 240. It is possible to pass more than 3 numbers. In that case, more crops will be created. (ii) wh – width and height of the cropping regions, default 300 500. To pass the argument, use --wh 300 500.

Edit

  • Apr 27, 2023 – Set commandline arguments.

  • Apr 28, 2023 – Wrap in __name__=="__main__".

  • Sep 06, 2023 – Add translation argument --xtranslate and --ytranslate. Both are lists of integers, specifying the translation of the origins of the cropping regions. They should be in the same length as the angle argument.