Notebook name: rotate_and_crop_images.ipynb
You will use this notebook if you need to crop and/or rotate a set of images.
The application will ask you to select the images (FITS or TIFF) you want to modify. Then a User Interface (UI) will allow you to define the cropping region as well as the rotation angle to apply to the images. You will be able to browse through the images to check the result and then create the transformed images before exporting them to a new output folder as TIFF images.
Need help using the IPTS selector?
Using the file selection tool, select the images you want to work with.
Once selected, your images will be automatically loaded.
This is where you will apply the correction to your images.
Simply by entering the angle value in the text field. The angle is using the geometrical convention, with counter clock wise rotation direction.
By clicking the apply on all images button, you will apply those correction to all images and quit this UI
Using the folder selection tool, select where you want the output images to be created.
The program will automatically create a folder based on the rotation angle you defined
For example:
A folder named rotated_0.5deg is created when the angle is 0.5 degrees.