Once a file is downloaded to your computer and renamed as Xxxx.SCR, you can start Talon Ultra, and select the new script file as follows:
Save sequences as AVI filesSeqAvi.Scr - Converts grayscale sequences to AVI - current version 1.0, 18 May, 2001
Converts a 12- or 16-bit sequence to a 24-bit RGB sequence, respecting the display range and any pseudo-color table that is applied. Then prompts user if they want to save as an AVI file. If so, pulls up "Save As" dialog box with AVI format as default. User needs to specify file name and location as required.
Before starting this macro, the user should have the subject sequence adjusted to the desired Display Range (with "Enhance | Display Range"), and if desired, should apply a pseudo-color palette (with "Process | Pseudo-Color")
Note that in the "Save As" dialog box, with the AVI format selected, you can use the "Compression" drop-down box to pick different encodings, depending on which "codecs" are installed on your system. A full discussion of codecs is beyond the scope of this macro header, but be aware that uncompressed AVI files take up significantly more disk space than compressed ones, and that some codecs are more common than others (and therefore the resulting AVI files will tend to be more portable to other computers.)
Sometimes, at the mid-point of the conversion, on a sequence where you
do not have a pseudo-color palette applied, you will see the error message:
Error; Cannot read file. If you get this message, just click "OK"
and the process should continue to completion with no problem. I
am researching ways to eliminate this message.
Export pixel intensities to ExcelExcelBitmapExport.Scr - Export pixel intensity data to Excel workbook - current version 1.1, 24 Jan, 2001
The macro in this script will export individual pixel intensity values from an Area-of-Interest on and image or sequence to an Excel workbook. It will automatically open Excel, if needed, and step through the frames in a sequence, putting the intensity data from each frame into a new worksheet in the workbook.
This script gives a good example of manipulating sequences, as well as opening and interacting with Excel workbooks and worksheets from the macro language.
Please read the comments at the top of the script file for setup and operational notes. Before running this script, you do need to check the COM references under the Macro editor "Edit" menu. (version 1.1 has original references removed - user must enable them upon installation.)
Plot Intensity vs. Time across a sequenceTimeProfiles.Scr - Plots graph of population statistics (Mean, Std-Deviation, Min, Max) vs time across a sequence.
Pretty simple and self-explanatory. No COM references needed.