Changes between Version 1 and Version 2 of Scripts/FFTSearch
- Timestamp:
- 10/23/08 15:28:24 (2 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Scripts/FFTSearch
v1 v2 10 10 * In the viewer, under the menu ''Windows'', remove the ''Zoom'' and ''Overlay'', and add the ''LiveFFT'' subwindow. 11 11 12 * In the smaller, ''LiveFFT'' viewer, make sure to select a subregion (not containing the origin!) and re-normalize (left-click and drag with the mouse, then press ''N'', just as you would in the main image viewer). 12 * In the smaller, ''LiveFFT'' viewer, make sure to select a subregion (not containing the origin!) and re-normalize (left-click and drag with the mouse, then press ''N'', just as you would in the main image viewer). This may need to be repeated after the following steps. 13 13 14 14 * Right-click on the ''LiveFFT'' image to access the submenu, where you can set its size (bottom menu point). Note that depending on your local workstation, sizes above 256 or 512 may slow things down. 18 18 * In the main viewer window, right-click to access its submenu, and then activate the ''Draw FFT Box'' option. 19 19 20 * As you move the mouse around in the main viewer, and keep the ''Shift'' key pressed, the ''LiveFFT'' window will update accordingly 20 * As you move the mouse around in the main viewer, and keep the ''Shift'' key pressed, the ''LiveFFT'' window will update accordingly. Or, simply move the mouse to a region, and press ''Shift'' briefly to get an update of the ''LiveFFT'' window only at that time. 21 21 22 22 * Once you have found the region you would like to extract from the original image, make a single click with the left mouse button at the center of that region, then use this command sequence to cut out this subregion and save it (adjusting the size and filename as required) 23 23 24 24 {{{ 25 s = i.Extract(Extent(Size(1024,1024),Point(v.GetClickedPosition())) 25 s = i.Extract(Extent(Size(1024,1024),Point(v.GetClickedPosition()))) 26 26 SaveImage(s,"cut_out.tif") 27 27 }}}
