ANALYSIS This button lauches a dialog box containing ten buttons that are orgainized into three groups: TOOLS, INFORMATION, and DEVELOPMENT. TOOLS The 'Image Statistics' button launches a dialog box that allows calculation of global statistics (over the entire 'Processed Image') or ROI statistics (over a Region Of Interest). The choice of global or ROI calculation-region is effected through the toggle button whose face may be either 'Switch: Global to ROI' or 'Switch: ROI to Global'. The horizontal and vertical dimensions of the ROI are shown in the RoiWin edit boxes. These dimensions are in Display coordinates. In addition, The ROI edit boxes show the region-of-interest dimensions in Image coordinates. When the region is set to 'Global', the edit boxes reflect the dimensions of the entire picture. When 'ROI' is selected, the dimensions of the 'ROI' are selected by resizing the 'ROI' either by dragging the window borders or by entering the desired dimensions in the corresponding edit boxes, then pressing the 'Set ROI Dimensions' button. The statistics that are calculated are: Mean, Sigma (standard deviation), SNR (signal-to-noise ratio = Mean/Sigma), Maximum, Minimum, and Median. In addition, the 'Histogram' button opens a window that displays a histogram of the image's pixel values. The bit-depth value is determined when the image is read. For example, an image of the U12 format (unsigned short type of range 0-4095), is tagged with a 12-bit depth. In some, cases it is also possible for the bitdepth to be changed explicitly by processing. The refresh button refreshes this histogram. This histogram is first displayed as 256 sampled values from the entire grey-scale range of the image. An input range can be selected by entering the minimum and maximum values in the edit boxes at the bottom of the histogram window and the pressing the 'Select Grey Range' button. The counts are displayed in a range between the minimum number of counts in a bin and the maximum number of counts in a bin. These numbers are displayed in edit controls at the left of the histogram window. The counts can be magnified by pressing the buttons at the left of the histogram window. The save button writes the histogram to a file in text-file format with the bin number and number of counts written one set per line. Signed data is converted internally to unsigned 16-bit data with an added bias of 32768. Generally ImprocRAD keeps track of whether unsigned or signed input data are being treated. Should the user wish to override ImprocRAD's interpretation, radio buttons are provided to force the data to be analyzed as unsigned or signed The 'CRT Statistics' button launches two dialog boxes: The 16-bit Window and Level box and the CRT Statistics box. The window and level box contains 2-D thumb controls, one for coarse and one for fine control of the greytone scale. Depressing the coarse thumb copies the image and then a manipulates the image using the hardware palette. When the thumb is released, the modifications are made on the actual displayed image and the palette is reset. The result is manipulation of the upper eight bits of the image. The fine thumb adjusts only the palette and acts on the remaining bits of the image. The 16-bit Window and Level box is coupled to the CRT Statistics box. Adjusting the window and and Level changes the numbers displayed in the Grey Mapping Input edit controls of the CRT Statistics box. These values are used to map the Processed Image into the Displayed Image. The Processed Image is bit-shifted to correspond to the bit-depth of the image as it is read into the system. For example, if the image read in had a 12-bit depth, then the full range of Grey Mapping Input is from First = 0 to Last = 4095. This range is linearly mapped to the output range 0 to 255 in the Displayed image. The statistics are calculated on the displayed image. The enter values button transfers the values in the Grey mapping Input section to the calculation of the statistics. The statistics can be calculated globally (over the entire image) or in a region of interest ROI window. A toggle button effects the transition between the two regions. The ROI is defined by the ROI window which is resizable. The size can either be set by dragging the window border or by entering values in the ROI_xSize and ROI_ySize edit controls then depressing the Set ROI Dimensions button. A histogram of the displayed values can be displayed by pressing the Hisogram button. The Refresh button refreshes the histogram. See the histogram window description under the 'Image Statistics' button description above. The 'Lumisys Scanner' button displays three dialog boxes. The first is for for generating lookup tables for the Lumisys film scanner.The second is the 'Statistics' dialog box which is used for semi-automatic generation of tables. This window with the accompanying region-of-interest, ROI, window allows measuring the mean of a greywedge step and tranferring that value into the LUT table. The third dialog box is an eigth-bit level and window control for visualizing the steps of the wedge. The enhancement from this box affects only the appearance of the wedge, not the values measured by ImprocRAD. The first group in the 'Lumisys Scanner' box, 'EnterLUT table' is used for manual entering of the table as well as semi-automatic and full-automatic entering. For manual entry, simply enter the number in the In-column of the table as usual. For semi-automatic entering, adjust the desired ROI size and then place it on the step of interest. Enter the spot meter value for the density of that step in the lookup table OUT column. Then select the corresponding lookup table 'IN' edit control with the mouse and subsequently depress the 'One InVal' button. That value, truncated, will automatically be transferred into the selected edit control. The 'ROI Mean' button and its associated edit control are provided for a preview. For full-automatic entering of the input side of the table, first expand the ROI window to contain the number of steps of the gray wedge that has been enterer in the '-Steps' edit control, set the 'Sample-Height (%)' edit control to the percentage of the step height that is to be averaged over, then press the 'Fill InVals' button. The In values of the LUT will be filled. The 'Save Ascii' button saves the In column of the LUT-Table in ASCII format. The file is located in the ImprocRAD Directory, the one that is pointed to by the ImprocRadDir environment variable. The 'Save Table' and 'Read Table' buttons allow the LUT table to be saved and read in an unsigned-short integer format. It first writes all of the In and then all Out values. The name of the table can be altered in the corresponding edit controls. They are written to ImprocRadDir. The table is cleared using the 'Clear Table' button and filled with default Out-values using the 'Default OutVal' button. The default values are read from the 'LumisysDefaultOutVals.txt' file in the ImprocRadDir. They correspond to values measured from a wedge using a spot densitometer. The user may modify this file. The positive and negative radio buttons allow selecting the generated lookup table to correspond to the selected values or to their negatives. The density radio button generates a linearly interpolated table (4096 16-bit values) from the table. The transmittance button does a scaled power of ten mapping of the density values into a 0-4095 range of transmittance values. The 'Save LUT' button save the LUT in the format used by the Lumisys scanner. The table is generated by linerly interpolating between the values shown in the LUT Table. CAUTION: the steps in the table are numbered from top to bottom on the screen. The actual steps are numbered from 1 to the-number-of-steps. The In-entry and the Out-Entries at zero are normally zero, and the entrie at one past the last step are normally In=4095, Out = 4095. The 'Profile' button launches a dialog box that controls the calculation and plotting of a row or column profile from the Processed image. The radio buttons at the top of the dialog box select whether a profile is made of a row or column. The 'Central' edit control selects the row or column to be analyzed. The 'Count' edit control selects the number of rows or column to be averaged in order to form the profile. For example, if the radio button 'Row' is selected, 'Central' is 10 and Count is '5' then rows 8 through 12 are averaged at each column in order to form the profile. The refresh button is used to update the plot with the values that are entered in the edit controls. The 'Save' button writes a text file containing the profile values to the ImprocRad Directory. The files are namedThe file is named Prof.txt where is the number of the profile. The short, though ambiguous, name was selected because of user requests that the resulting filename be compatible with the MS-DOS 8.3 naming convention. For example, the first profile written after the dialog box is opened is named Prof0.txt. If the designated file exists, the next higher, nonexistant file number is used. The numerical format is one column, f10.3. 'Maximum' and 'Minimum' show the maximum and minimum values in the profile. The 'Selected' group refers to the pixel in the plotted profile that is located at the center of the plot window. This position is indicated by a vertical line in that window. 'Pixel' is the pixel number and 'Value' is the value of the profile at that pixel. The 'Cursor Position' button launches a dialog box that shows the location of the cursor position on the the main window in various coordinate systems. All of the measurements are in pixels. The Screen coordinates are measured from the upper-left corner of the screen with x positive to the right and y positive downward. The Main-Client coordinates are measured from the upper-left corner of the Main window client area. These coordinates can differ greatly when ImprocRAD is run in it RESIZE mode, i.e., in a resizable window. The display coordinates are measured from the upper-left corner of the image display area. The Original-Image coordinates are measured from the upper left corner of the image as read from disk. The display coordinates and original-image coordinates can differ because of image minfication on display. The box also shows the gray values of the Original, Processed and Display images at the locations corresponding to the cursor position. The rectangle group is for drawing a rectangle. The rectangle can be specified in image (Original) or display coordinates. The cursor can mark its center, or upper-left corner (origin). One use of the rectangle function is to visualize a cropping region. The coordinates from the cursor position box can be taken directly into the CropOnRead window. INFORMATION The 'Hardware' button opens a dialog box that returns properties of the display device. These properties are: DRIVERVERSION - the version number of the video driver, HORZRES - the number of pixels displayed in the horizontal direction, VERTRES- the number of pixels displayed in the vertical direction, COLORRES - the actual color resolution of the device in bits per pixel, SIZEPALETTE - the number of entries in the system palette, NUMRESERVED - the number of reserved entries in the system palette, System Pal Use - the way the sytem palette is being used ( STATIC, NOSTATIC, ERROR). All but the last property come from the Win32 API call 'GetDeviceCaps'. The system palette use is returned by the Win32 API call 'GetSystemPaletteUse'. The 'Image'button displays information about the image: The file it was read from, its dimensions and its bit-depth. The 'Update' button, revises the information in case it is changed while the 'Picture Information' dialog box is open. If the image was not read from a file but rather internally generated, e.g. it is a test pattern, a description rather than a file name is given. The 'ImprocRAD Info' button launches a dialog box containing the present version number, and the production date of that version. It also states whether the copy of ImprocRAD is a WEB/Free-distribution verion or a full version. In addition, the ImprocRadDir environment variable is displayed as is the operating system family (platform) that is currently being used. This help file was updated on March 5, 2001.