"content":"Notebook name: registration.ipynb\nDescription This notebook will allow the registration (alignment) of a set of images using a reference image of your choice.\nHere are the steps (bold for user input/manipulation)\n Select the stack of images launch application Perform Auto alignment and/or Align images manually use profile to help in the alignment and sliders to check images overlap Start the notebook If you need help accessing this notebook, check the How To \u0026gt; Start the python notebooks tutorial.\nSelect your IPTS Need help using the IPTS selector?\n Select Images to Process Select the images you want to process using the File Selector. Once you click the Select button, the time stamp and the images will be automatically loaded. Wait for the progress bar to be done.\nNeed help using the File Selector?\n Registration UI Auto Registration Let the program perform auto-registration of all the images selected using the default first image as a reference by clicking Auto Registration\nManual Registration If you choose to manually align the images (except the reference image), click the Manual Registration button. Then move manually the images selected using the manual registration tool widgets.\nTools to Help You Profile You can display the profile of the image selected and of the reference image to help align the images.\nSimply move the edge of the profile lines. The profile of all the images selected (+ reference image) will be displayed.\nOpacity Slider The UI provides two types of opacity sliders.\n Selection vs Reference Image Images Selected Selection vs Reference Image This slider will show up whenever at least one file, other than the reference image, is selected in the table (bottom of UI).\n When the cursor is at the top of the slider, the mean of all the images selected is displayed (100% of selection is displayed) When the cursor is at the bottom of the slider, only the reference image is displayed (0% of selection is displayed) All other position will display a x% of the selected images and then (1-x)% of the reference image. Images Selected Whenever at least two images are selected (other than reference image), a checkbox labeled all and a slider will show up on the left of the UI.\nBy default all the images selected are display (mean of all images). But if you uncheck the all checkbox, then you can gradually display the imagess from the first one to the last one.\nThis slider will allow to go from the first image selected to the second by increasing the opacity of the first one, and decreasing the opacity of the second one. Once only the second image is display, keep moving the cursor will bring to display the third image and the second image will vanish.\nThe goal of this slider is to gradually display the images one by one.\nThe right slider to display current image vs reference image is always available.\n Export By clicking the Export \u0026hellip; button (bottom right) you will export the images registered into a folder you select.\nAdvanced users All the data registered can be access from the python notebook\n\u0026gt;\u0026gt;\u0026gt; data_registered = o_registration.data_dict \u0026gt;\u0026gt;\u0026gt; print(np.shape(data_registered['data'])) (8, 2048, 2048) you can also reach the list of file names and their metadata\n\u0026gt;\u0026gt;\u0026gt; import pprint \u0026gt;\u0026gt;\u0026gt; pprint.pprint(data_registered['file_name']) ['/Volumes/my_book_thunderbolt_duo/IPTS/IPTS-19921-Charles/02/im0000.tif', '/Volumes/my_book_thunderbolt_duo/IPTS/IPTS-19921-Charles/02/im0031.tif', '/Volumes/my_book_thunderbolt_duo/IPTS/IPTS-19921-Charles/02/im0032.tif', '/Volumes/my_book_thunderbolt_duo/IPTS/IPTS-19921-Charles/02/im0033.tif', '/Volumes/my_book_thunderbolt_duo/IPTS/IPTS-19921-Charles/02/im0034.tif', '/Volumes/my_book_thunderbolt_duo/IPTS/IPTS-19921-Charles/02/im0035.tif', '/Volumes/my_book_thunderbolt_duo/IPTS/IPTS-19921-Charles/02/im0036.tif', '/Volumes/my_book_thunderbolt_duo/IPTS/IPTS-19921-Charles/02/im0037.tif'] \u0026gt;\u0026gt;\u0026gt; pprint.pprint(data_registered['metadata'][0]) {256: 2048, 257: 2048, 258: (16,), 259: 1, 262: 1, 270: 'slope = 2.13626E-05 \\roffset = 0.00000E+00\\r', 273: (8,), 277: 1, 278: 2048, 279: (8388608,), 282: 10.0, 283: 10.0, 296: 3, 320: (0,), 339: (1,)} "