-
Notifications
You must be signed in to change notification settings - Fork 0
Repeat cropping with MotiQ_Cropper
This guide was written on March 04, 2023.
MotiQ Cropper logs the ROIs that you select and saves them along with the cropped image. If you find out later that you missed out a cellular branch during cropping, you may repeat the cropping and use the selections you previously used and reapply them with modifications to include the missing branch.
In this guide you will find out how!
- Launch FIJI or ImageJ
- Open the original image from which you aim to crop cells by drag and drop into the status bar of FIJI / ImageJ.
-
Launch MotiQ_Cropper via the menu entry Plugins > MotiQ > MotiQ Cropper.
-
Select the settings for MotiQ_Cropper that you selected before and start MotiQ_Cropper.
- Drag and drop the ROI-Set .zip file from the previous cropping into the status bar of your ImageJ/FIJI.
- In turn the loaded ROIs will appear in the ROI Manager window that pops up.
- Select the image plane in which you want to start cropping using the bar below the image that you aim to crop and select the corresponding ROI from the previous cropping in the ROI Manager (The number at the end of each ROI's name indicates the stack position it belonged to).
-
Eventually modify the ROI if needed and confirm it to move to the next stack image.
-
Continue the cropping as usual until you reach the last stack image to be processed (read 10. - 14. before you finish the cropping!). During the cropping process, whenever you aim to pull up again an ROI from the previous cropping, select it from the ROI Manager as in 7. - 8.
-
While you re-cropped the cell, the ROI Manager has also logged the newly cropped ROIs. You can see now that the old ROIs and the new ROIs are logged (the old ROIs are the ROIs on the top of the list in the ROI Manager). When you finish the cropping, MotiQ Cropper will save all ROIs from the ROI Manager as the ROI log.
- To avoid that you also save the "old" ROIs into the newly generated log file, delete them as follows. Click on the first "old" ROI in the ROI Manager. Then while holding shift on the keyboard click on the last "old" ROI in the ROI Manager.
- Now delete the selected ROIs by clicking on the "Delete" button in the ROI Manager.
-
You will now have to set the ROI for the last stack image. Note that you might see a ROI now that was from the "old" ROIs and does not match. For this last stack image you unfortunately cannot use any "old" ROI. But you may use one of the previously selected "new" ROIs by selecting it in the ROI Manager and then may modify it to fit to the last stack image.
-
Confirm the last ROI.
-
Now the re-cropping is done. MotiQ Cropper will have generated a new output file in the directory where the original image was stored (as usual).
Copyright (C) 2017-2024: Jan N. Hansen.
MotiQ is part of the following publication: Hansen et al., MotiQ: an open-source toolbox to quantify the cell motility and morphology of microglia, Molecular biology of the cell, 33:11 (2022). https://doi.org/10.1091/mbc.E21-11-0585