
Image SXM history        v1.64-1.67        ( Aug 2000 - Oct 2001 )
____________________________________________________________________________________

v1.67-3    ( 28 Oct 01 )

Added features:
 ¥ A new 'Facet Calculator' item has been added to the SPM/Calculation submenu. This allows the facets that form vicinal surfaces to be calculated from the Miller indices of the surface, or from the miscut angle and azimuth, or vice versa.

Bug fixes:
 ¥ Scanning tunnelling spectroscopy (STS) data associated with Omicron SCALA images will now display correctly if the start point is greater than the end point (ie, if the data are stored in the STS file 'backwards').
 ¥ The STS Plot window will now update when the mouse is placed in the grow box (ie, the bottom-right-hand corner) of an image window.
 ¥ For Omicron SCALA images, the SPM/Parameters/Display Parameters dialog box incorrectly displayed the scan rate as 'Scan Time'.
 ¥ Changes made to the file handling code in 167-1 caused SPM/Files/Change File Types to work only with individual files - it now handles all files in a folder correctly.
 ¥ The xy coordinates of the STS data displayed in the Info window had the x and y coordinates interchanged.

Other changes:
 ¥ Files of type '????' are now treated as SXM image files (though it is still advisable to change the file types to 'iSXM' to ensure that images can be opened by double-clicking files in the Finder).
 ¥ Changes made to the code to comply with the Carbon model of Mac OS X have resulted in the 68K code failing to run correctly in the 'M' version. For the time being, the 68K 'F' version will be distributed separately.
 ¥ Updated support for Digital Instruments NanoScope III v5.12.

Changes to macros:
 ¥ None.
____________________________________________________________________________________

v1.67-2    ( 15 Jul 01 )

Added features:
 ¥ None.

Bug fixes:
 ¥ Fixed a memory leak that affected Leica TCS images.

Other changes:
 ¥ Selecting all of an image does not now reset the magnification to unity.
 ¥ The Session Log now displays the current window title only if it is different from the previous line.

Changes to macros:
 ¥ None.
____________________________________________________________________________________

v1.67-1    ( 30 Jun 01 )

Added features:
 ¥ A new 'Quasicrystal Symmetry' item has been added to the Specialist Analysis submenu (see below). This procedure finds and displays sites of local 5-fold or 10-fold symmetry.
 ¥ Support has been added for Leica TCS images.

Bug fixes:
 ¥ 'Radial Distrib From Click' calculated the radial distribution about the centre of the image, ignoring the location of the mouse click.

Other changes:
 ¥ A 'Browse' menu item has been added to the File menu by user request. This is identical to the 'Browse Images' items in the SEM and SPM/Files menus.
 ¥ Help pages can now be navigated by clicking on items in the contents page, and returning to the contents page by clicking in the top left corner of any page. 
 ¥ All of the Help and History files have been moved into a new 'Documentation' folder. Also, a new 'Overview' file for new users and the documentation provided with NIH Image have been included as pdf files. 
 ¥ Browsing now handles alias files correctly.
 ¥ The maximum number of files in a folder that can be browsed has been increased to 2500.
 ¥ Menu items at the bottom of the Analyze menu have been moved into a new 'Specialist Analysis' submenu.
 ¥ Any routine that can be aborted with 'cmd-period' can also be aborted by pressing the escape key. 
 ¥ All of the code dealing with file handling has been modified to comply with the Carbon model of Mac OS X.

Changes to macros:
 ¥ The maximum number of files in a folder that can be handled by the 'Open...File' macro commands has been increased to 2500.
 ¥ Macro commands 'SaveROIarray' and 'RestoreROIarray' have been added to mirror their menu counterparts.
 ¥ The maximum number of symbols in the Symbols Table has been increased to 600.
____________________________________________________________________________________

v1.66-2    ( 14 Apr 01 )

Added features:
 ¥ None.

Bug fixes:
 ¥ Radial Distributions applied to FFTs would produce plots with the zero of the x axis set incorrectly.
 ¥ Azimuthal Distributions applied to FFTs would produce plots with the x axis labelled incorrectly.
 ¥ Azimuthal Distributions would produce plots in which the 0û value did not equal the 360û value.
 ¥ Duplicating the power spectrum of an FFT now produces an image with the correct xy calibration.
 ¥ Loading TIFF images with invalid tags would give unpredictable results.

Other changes:
 ¥ When creating an image caption (to appear under an image when printed or saved as an EPS or PDF file) the default caption is now the Finder comment string. Use 'SXM Preferences... / Comment' to set the format of the Finder comment. See also 'Get Finder Comment' and 'Set Finder Comment...' under v1.64-1.
 ¥ The new menu item 'SPM/Parameters/Add Caption To Image' allows an image caption to be added to an image directly. If the caption needs editing before being added to the image, use 'Create Image Caption' first.

Changes to macros:
 ¥ None.
____________________________________________________________________________________

v1.66-1    ( 10 Mar 01 )

Added features:
 ¥ Support has been added for Klocke Atomikro SPM and SNOM images.

Bug fixes:
 ¥ Attempts to browse folders containing no files would give misleading error messages.
 ¥ Image SXM will now run OK under any Mac OS from 7.0 to 9.1.

Other changes:
 ¥ If the option key is pressed then the menu item 'Register...' in the Stacks menu changes to 'Register XY Only' and allows slices in a stack to be brought into registry with the current slice without rotation. Only one mouse click per slice is required to identify a reference point that is common to all slices. 
 ¥ The 'cmd-cursor arrow' shortcuts now allow modifier keys to be used when loading the next or previous file: pressing the option key will close the current window before opening the next; pressing the shift key will skip through five files rather than load the next.
 ¥ When the LUT tool is selected, option-clicking on a pixel in an image allows the colour of the LUT entry for that pixel to be changed using the colour picker dialog.
 ¥ When an FFT window is selected, the Info window now displays the base 10 log of the square root of the magnitude of the power spectrum for each pixel.
 ¥ It is now possible to browse in folders containing image files masquerading as text files.
 ¥ Support for TopoMetrix SPMLab v5 has been updated to account for changes made to the image file format.
 ¥ Many changes have been made to the code of Image SXM to comply with the Carbon model of Mac OS X.

Changes to macros:
 ¥ None.
____________________________________________________________________________________

v1.65-2    ( 23 Jan 01 )

Added features:
 ¥ None.

Bug fixes:
 ¥ After using 'ReCalibrate XY...' to calibrate the piezo scanners of an SPM, a file containing the calibration data was not saved to disk.
 ¥ DME SPM images are acquired from bottom-to-top and so are now flipped vertically before being displayed.

Other changes:
 ¥ In the 'SPM Options' dialog box, a custom image data type has been added to the bottom of the pop-up menus to give the user more control over which images are displayed when opening multi-image files.
 ¥ When browsing files in a folder is complete, the 'cmd-cursor arrow' shortcuts will allow browsing to continue in another folder: 'cmd-right' or 'cmd-down' will browse files in the next folder (at the same level as the original folder) and 'cmd-left' or 'cmd-up' will browse files in the previous folder.

Changes to macros:
 ¥ None.
____________________________________________________________________________________

v1.65-1    ( 10 Dec 00 )

Added features:
 ¥ Pop-up menus have been added to the 'SPM Options' dialog box to give the user control over which images are displayed when opening multi-image files. The images can be specified by the image data type (amplitude, current, height, etc) or their location in the file (first, second, etc), depending on the SPM file format. Also, the user can specify which images are displayed when browsing and which are loaded when executing 'Batch Conversion' (these can be set independently). If no image is loaded from a multi-image file, the resultant alert box can be suppressed.
 ¥ The 'XResolution', 'YResolution' and 'ResolutionUnit' tags are now set in TIFF image file headers. This allows other applications (Mac, PC and Unix) to display the correct xy calibration when opening TIFF images saved by Image SXM. The TIFF file format specification is limited to an xy scale in units of cm. It does not allow for smaller units or for z calibration. If the xy scale of an image is > 200 pixels per nm, then the resolution set in the header is reduced by a factor of a million to keep the 'pixels per cm' value within the range of a long integer.
 ¥ Support has been added for Quesant Instruments SPM images.
 ¥ Support has been added for Philips SEM images.

Bug fixes:
 ¥ Custom colour tables (CTs) would not be set correctly after displaying a (greyscale) dialog box. This was a problem only for CTs that had been modified by the user with the eyedropper tool, not for those selected from the Color Tables submenus.
 ¥ Two image file formats that use the same four-byte 'signature' at the start of the file could be confused with each other Ð Noran Vantage and Screen Machine.
 ¥ Opening old 'Session Log' text files would cause a problem if a live 'Session Log' window was in use.

Other changes:
 ¥ The 3d Plot routine has been speeded up by a factor of about 25 and the dialog box has been reorganised. The view, light and z scale parameters can now be changed using the cursor keys and the option, control and shift keys, respectively. The view angle of a 3d plot can also be changed by holding down the space bar and dragging the mouse around in the plot window. A 3d plot of a 256 x 256 pixel image can be recalculated and displayed in about 50 ms on a G4.
 ¥ Non-square images from Digital Instruments NanoScope SPMs have the image size in pixels stored incorrectly in the 'image list' of the file header. Image SXM now reads the image size from the 'scan list' and ignores the values in the 'image list'.
 ¥ Selections from the SPM/Dimensions submenu now affect all open images or only the current image, depending on whether or not the option key is pressed. Previously, this was dependent on the setting of a checkbox in the 'SPM Options' dialog box.
 ¥ The stack type (RGB, HSV, movie, volume) of a stack saved by NIH Image is now read from the file header.
 ¥ An unnecessary warning dialog box has been suppressed when opening RHK Technology SPM images.
 ¥ Changes have been made to the zoom and scroll routines (using the magnifying glass and hand tools) to allow more flexibility when working with images that have been scaled to fit the size of the monitor.

Changes to macros:
 ¥ None.
____________________________________________________________________________________

v1.64-1    ( 4 Aug 00 )

Added features:
 ¥ Two new items have been added to the SPM/files submenu, 'Get Finder Comment' and 'Set Finder Comment...'. The first gets the Finder comment of the image file and uses this to set the comment of the image, and the second sets the Finder comment of the image file or all files in the same folder as the image file. The 'image file' is taken to be either (i) the file to which the image was saved or, if the image has not yet been saved, (ii) the file from which the image was loaded. A dialog box allows the user to select image parameters that can be concatenated with the image comment to form the Finder comment. If the option key is pressed or if the command is called from a macro (see below) then the dialog box is suppressed. The dialog box can also be accessed from the 'Comment' button in the 'SXM Preferences' dialog box.
 ¥ Two checkboxes have been added to the 'SXM Options' dialog box that allow the Finder comment to be read from or saved to image files automatically on loading or saving. Setting both of these options simultaneously is not recommended, as the concatenation can lead to the comment growing in length each time it is loaded/saved.
 ¥ A new 'Invert Selection' item has been added to the Edit menu. This procedure changes the selection from all pixels inside the current region of interest (ROI) to all pixels outside the ROI.
 ¥ A new 'Autocorrelation' item has been added to the FFT submenu. For images, this is equivalent to the macro command of the same name supplied with NIH Image. If a line selection has been made on an image, or if the current window is a Profile Plot or an FFT of a Profile Plot, then the autocorrelation of the Profile Plot will be calculated and displayed. 
 ¥ Two new items have been added to the Analyze menu, 'Radial Distribution' and 'Azimuthal Distribution'. The first produces a profile plot which is the average of 360 line profiles obtained from line selections arranged radially from the centre of the image. The second produces a profile plot in which each data point is the average of the data points for a line selection arranged radially from the centre of the image.
 ¥ Support has been added for Omicron SPA-LEED images and spot profiles.

Bug fixes:
 ¥ 'Browse Selected Images' could display the wrong selection of images if multiple Browse windows were open.
 ¥  Loading macros would cause an unexpected quit on 68K Macs. 
 ¥  Exporting the data from plots created using the macro command 'PlotUserData' resulted in empty text files.
 ¥  Convoluting with kernels larger than 31x31 would cause a crash. The maximum is now set to 63x63.

Other changes:
 ¥ Image SXM has had a Spring clean. This has involved moving some code around to make the internal structure more logical and thus improve the ease with which future modifications can be introduced. This should have no effect on the application created, but the probability of introducing a bug in the process is not insignificant.
 ¥ All previous versions of Image SXM have had version numbers that indicated the release of NIH Image into which all the SXM-related routines were grafted or spliced. There will be no further development of NIH Image and so it will remain frozen at v1.62. Image SXM is compiled from 95,000 lines of source code (almost double that of NIH Image) and so justifies a new version number. From here on, version numbers will increment from 164-1, with major new features incrementing the version number and minor bug fixes incrementing the release number (the digit after the dash). 
 ¥ Many floating point operations now execute significantly faster. As an example, on a G4/400 an FFT of a 512x512 image now takes < 0.7s compared to 1.4s previously. The speed comparison chart on the last page of the online Help pages has been updated.
 ¥ The maximum number of data points in STS spectra has been increased to 250.
 ¥ The 'Page Up', 'Page Down', 'Home' and 'End' keys now work in text windows.
 ¥ Routines that calculate the size of hard disks now recognise disks in Mac OS Extended (HFS+) format.

Changes to macros:
 ¥ Macro commands have been added to handle Finder comments: a 'GetFinderComment' function and a 'SetFinderComment' command. These two macros mirror their menu counterparts as described above, and in addition the GetFinderComment function returns the comment as a string.
 ¥ Macro commands 'PlotRadialDistrib' and 'PlotAzimDistrib' have been added to mirror their menu counterparts as described above.
 ¥ Four macro commands have been added to improve user access to the data corresponding to a plot (such as a force curve, scope data, line scan, I-V spectrum, spot profile, etc) in the current window: 'GetUserData', 'GetPlotScales', 'GetXYfromPix' and 'GetPixFromXY'. See the 'Image SXM Macros' help pages for more details.
 ¥ Four macro functions have been added to enable the user to batch process files in a folder: 'GetFolderInfo', 'OpenFirstFile', 'OpenNextFile' and 'OpenPrevFile'. See the 'Image SXM Macros' help pages for more details.
 ¥ The 'SetPalette' macro command can now set any of the colour tables (CTs) in the Options/Colour Tables menu. To set the Digital Instruments CTs use the parameters 'CT0', ..., 'CT25' and to set the remaining CTs use 'Red', 'Green', 'Blue', 'RedGreen', 'GreenBlue', 'BlueRed', 'RedGreenBlue', 'RedMagBlue', 'RedYellGreen', 'Gold', 'GoldRed', 'Pastel' or 'Mandelbrot', respectively.
____________________________________________________________________________________
