Measuring Images


Mira provides many tools for measuring and quantifying images, including distance and angle, statistics, photometry, shape measurements, and others.

Measurement procedures are operated through buttons, menu commands, and command toolbars. Measurements share a common user interface in terms of how the target object is marked and how the results are displayed in a Grid Control (also called a "report" or "table"). You can also create a scatter plot, including error bars, from two columns in a table of measurements using Create Plot from Table Data. Other types of plots and point samples are also useful for quantifying images.

Measurements are divided into classes according to whether they use the Image Cursor or the Mouse Pointer to mark locations. All measurements that use a toolbar use the mouse pointer. Conversely, all measurements that use the image cursor operate from a button (or a duplicate entry in a menu). All Command Toolbars all have a similar interface

The Extract Sources command from the MExtract Module also performs automated detection and numerous measurements to quantify the properties of point sources and extended objects.

In addition, data displayed in a Plot Window have access to the 1-D Fit Package for doing regression analysis.

Measuring a Single Image or Image Set

Most measurements offer the option to measure one or all of the images of an Image Set. If an Image Set is open in the Image Window, you can choose whether to measure only the currently displayed member of the image set or to repeat the measurement for all images of the image set. This is done using the Measure Image Set button in the Image Set Flags group on the Image Bar. When the button face shows a "1", then only the current (one) image is measured, otherwise, the entire image set is measured.

Measurements that use the Image Cursor

These commands list their results in a Report Window or a Measurement Pane (the default for a new Mira installation). They also have menu commands in case the button is not accessible.

These commands can also be operated using a single keystroke command.

Centroid: Reports a high precision position for a peak or trough.

Statistics: Reports statistics inside a rectangular region. Use the Statistics Properties to select the statistical estimator and set its parameters.

FWHM: Reports the Full Width at Half Maximum value for a peak.

To change the destination of the measurement, choose the destination using the drop-menu next to the command icon in the Cursor Tools Toolbar.

Measurements that use the Mouse Pointer and a Toolbar

These commands list their results in a Measurement Pane or Report Window:

Distance & Angle: Measures the distance and angle between two points.

Angle Measurements: Reports multiple measurements of included angle and base angle.

Line Measurements: Reports multiple measurements of distance or length and angle.

Point Measurements: Measures a collection of point coordinates and pixel intensities.

Region Measurements: Reports multiple measurements of polygon area, perimeter, and luminance.

Aperture Photometry: Makes photometric measurements of stars and other objects.

Star Removal: Subtracts stars from images by building and applying a template for the star profile.

Marker Properties: This dialog sets properties for markers for measurements using the mouse pointer and a toolbar.

Measurements that use the Mouse Pointer

Image Coordinate Readout: The "live" cursor in the image window measures image coordinates and values.

  

Tip

The difference between measurements made by the mouse pointer and image cursor is generally as follows:

Measurements that use a window toolbar use the mouse pointer to mark or drag markers on the image.

Measurements that use menu commands and buttons on the Image window or main toolbar use the Image Cursor as a position reference.

 

In addition, data displayed in a Plot Window have access to the 1-D Fit Package for doing regression analysis.

Also see Analyzing Measurement Data.

Source Extraction

The Extract Sources command detects objects in an image and extracts their properties such as coordinates, ellipticity, luminance, etc. This command is available in the optional MExtract module. The extraction procedure runs without any interactive marking procedure except when finding sources within the rectangular bounds of the image cursor.

Measuring RGB Images

Making measurements of luminance images is straightforward. However, RGB color images contain a separate image of luminance data for each of the 3 planes. When Mira measures an RGB image, it performs the calculations on an equivalent grayscale image and returns an equivalent measurement for a single "grayscale" channel. To measure any or all of the individual color channels in an RGB image, do the following:

  1. Use the Extract Channel command to separate the color channels. If extracting more than 1 channel, check the Create Image Set option so that all extracted images end up in the same Image Window.

  2. If you extracted more than 1 channel, press on the new window so the entire Image set will be measured.

  3. Perform the measurement on the extracted channels. The result for each channel is reported in the same way as for a luminance image.

Related Topics

Contents, Grid Controls, Measurement Panes, Report Windows, Command Toolbars, Image Windows, RGB Image Commands, Create Plot from Table Data, Create Chart from Table Data, Extract Sources command, Open Table in Excel, Image Tool Keystroke Commands, Marker Properties.