Contents 

Mira Pro x64
Contents
New Features
Getting Application Help
About this Document
Tech Support
Getting Started
Glossary of Terms
Selecting Source Images
Setting Application Properties
Command Dialogs
Screen Capture
Mira's Special Folders
Changing the GUI Theme
Critical Concepts
Tip of the Day
Tutorials
Overview
Displaying an Image
Displaying an Image Set
Creating Plots from Images
Introduction to Image Registration
Making a Scatter Plot of Measurements
Using FITS Keywords to Analyze Image Data
Introduction to Aperture Photometry
Doing Time Series Photometry
Introduction to File Event Scripting
Cleaning Artifacts from an Image Set
Introduction to Source Extraction
Introduction to Astrometric Calibration
Examples
File Lists
Creating File Lists
Opening Files from File Lists
Images
The Boost Transfer Function Option
Image Rotation
Adding Labels to an Image
Editing the FITS Header
Image Registration
Plots
Plot Windows
Plotting Examples
Plotting an Averaged Line
Row Plots
Adding Series to a Line Profile Plot
Changing Plot Series Attributes
Plotting in World Coordinates
Comparison of Histogram Preferences
Contour Plotting Smoothing
3-D Plots
3-D Pixel Representations
3-D Z-Scaling
Measurements
Distance and Angle
Selecting Cells in a Grid Control
Tutorial: Making a Scatter Plot of Measurements
Fixing Header Problems in Photometric Data
Importing a Photometry Catalog
Image Basics
Image Types
Image Sets
Overview
Image Set Flags
Image Set Properties
Image Set Toolbar
Image Set Applications
Image Sets Menu
Duplicating an Image Set
File Lists
Overview
Creating file lists
Editing file lists
Opening files from file lists
Opening Images
Overview
File opening and saving commands
Using Drag & Drop
Opening image files
Creating an image catalog
Duplicating an Image
Duplicating an Image Set
Opening files from file Lists
Using File Opening Plug-ins
Selecting Source Images
Importing a Binary Image
Importing a Text Image
Saving Images
Saving a single image
Saving an image set
Saving all image set members
Saving an image set to a Folder
Saving an image set with a filename Suffix
Saving an image set to a file list
Exporting as a binary image
Exporting as a text image
Palettes
Overview
Image Palettes
Palette Pane
Palette Properties
Using the Palette Property Trackbars
Rubber Banding the Palette Graph
Importing Palettes
Transfer Functions
Overview
Choosing Transfer Function Properties
Using the Boost Transfer Function Option
Default Transfer Function Properties
Transfer Function Pane
Transfer Function Popup Menus
Image Cursor
Overview
Image Cursor Properties
Setting default and local properties
Image Window Properties
Image Plot Properties
Histogram Properties
Centroid Properties
FWHM Preferences
Radial Profile Properties
Palette Properties
Transfer Function Properties
General Properties
Selecting source images for commands
Overview
Image Display
Image Windows
Image Bar
Animation Bar
User Interface
User Interface Overview
Working with Toolbars
Initializing Toolbars and Docking Panes
Docking Panes
Command Dialogs
Command Toolbars
Main Message Pane
Image Cursor Toolbar
Image Keys Pane
Status Bar
Accelerator Keys
Profile Control
Status Bar
Save Window Position
GUI Theme
Changing the GUI theme
Context Menus
Image Context Menu
Image Context Menu for an image set
Plot Context Menu
3-D Plot Context Menu
Grid Context Menu
Dialog Styles
Command Dialogs
Dialog Buttons
Docking Panes
Overview of Docking Panes
Docking Panes Toolbar
Image Bar
Animation Bar
Image Keys Pane
Measurement Panes
Initializing Toolbars and Docking Panes
Property Profiles for Commands
Overview
Profile Control
Grid Controls
Overview
Report Windows
Grid Context Menu
Measurement Panes
Table Properties
Overview
Table Appearance Properties
Table Printing Properties
Menus
Tear-off menus
Main Context Menu
Default Menu Bar
Align Images Menu
Pictures of Menus
Creating new text documents
Default File Menu
Calibration Menu
Diagnostics menu
Edit Menu
File Menu
Measure Menu
Mira Windows
Image Windows
Plot Windows
Grid Controls
Image
Overview
Animation Pane
Image Bar
Image Set Toolbar
Image Window Keystroke Commands
Image Keys Pane
Adjusting the Image Cursor
Command Modes
Cursor Command Modes
Roam Mode
Cursor Mode
Plot
Overview
Plotting Images and Data
Creating a Plot from Table Data
Plotting Examples
Plot Bar
Plot Animation Bar
Plot Properties
Plot Series Properties
Plot Marker Properties
Image Plot Properties
Save Window Position
Chart
Chart Windows
Plotting Images and Data
Creating a Chart from Table Data
Chart Command Menu
Chart Axis Limits
Chart Properties Pane
Chart Series Properties
Chart Titles
Chart Legend Properties
Save Window Position
3-D Plot
Overview
3-D Animation Toolbar
3-D Rotation Toolbar
3-D Drawing Attributes
3-D Light Source Dialog
3-D Viewpoint Dialog
3-D Window Dialog
Save Window Position
File Open
Open Command
Opening & Saving Files
Opening Files from File Lists
Report
Overview
Grid Controls
Report Commands
Report Window Menu
Save Window Position
Grid Properties
Overview
Table Appearance Properties
Table Printing Properties
Text Editor
Overview
Creating a new text document
Text Editor Edit Menu
Text Editor View Menu
Save Window Position
Script Editor Window
Script Editor Toolbar
Script Editor Context Menu
Script Editor View Menu
Save Window Position
Plug-ins
File Opening Plug-ins
Image Processing Plug-ins
Toolbars
Working with Toolbars
Command Toolbars
Image Keys Pane
3-D Animation Toolbar
3-D Rotation Toolbar
Cursor Tools Toolbar
Image Cursor Toolbar
Image Plot Toolbar
Image Set Toolbar
Image Tools Toolbar
Image Bar
Calibration Tools Toolbar
Interactive Repair Toolbar
Main Toolbar
Measurements Toolbar
Working with FITS Format
Overview
FITS Format Definition
FITS keywords
FITS Header Editor
FITS Header Pane
FITS image orientation
List COMMENT Keywords
List HISTORY Keywords
List Statistics Keywords
List WCS keywords
MIRAPROC keyword
Editing the FITS header
Modifying keywords
Adding metadata at file open or file save
Creating an image list from keywords
Searching images for keyword values
Viewing the FITS File Header
Fixing Header Problems in Photometric Data
Image Information Editor (RGB images)
Coordinate Systems
Overview
Image Coordinate System
Pixel Coordinate Definition
Subpixel Coordinate Definition
World Coordinate System
Image Display Orientation
FITS Image Orientation
Image Coordinate Display
Coordinate Commands
Go to cursor coordinates
Go To Object
Astrometric Calibration
Set an arcsecond scale
Set an equatorial scale
Set a linear scale
Set independent linear scales
Set linear world coordinate units
Setting brightness units
Alignment Commands
High precision image registration
Align on Object
Align on Point
Align by WCS
Coordinate Readout
Set X-Axis Linear Format
Set Y-Axis Linear Format
Set Pixel Value Format
Select Image Properties
World Coordinate System
Overview
World Coordinate System Keywords
Deleting the WCS
Astrometric Calibration
Overview
Tutorial
Entering coordinate data
Changing reference point data
Calibration Preferences dialog
Plate Solution Strategy
Other preferences
Measuring Images
Overview
Measurement Panes
Image Measurements Toolbar
Image Cursor Toolbar
Image Keys Pane
Moving the image cursor to a coordinate
Setting Application Properties
Testing using synthetic images
Setting statistical estimator properties
Opening a table in Microsoft Excel
Tutorial: Working with Measurements in a Grid
Angle Measurements
Command overview
Marker properties
Aperture Photometry
Overview of aperture photometry
Apphot Pane for photometry results
Tutorial: Introduction to Aperture Photometry
Tutorial: Doing Time Series Photometry
How Magnitude and Errors are calculated
Editing target data and standard star data
Automatic detection of objects
Plotting a light curve
Kwee - van Woerden
Setting marker attributes
Preparing a report for the AAVSO
Setting the aperture size and shape
Setting photometry keywords
Fixing header problems in photometric data
Importing a photometry catalog
Calculate Julian Date
Definitions of measurements
Definitions of errors
Understanding signal to noise ratio
Aperture Photometry Toolbar
Aperture Photometry Properties
Aperture Photometry Properties dialog
Point Markers
Calibration Results
Image Information
Photometry Keywords
AAVSO Reporting
Other Properties
Measurement Output
Astrometric Calibration
Overview
Tutorial
Plate Solution Strategy
Centroid Measurements
Command overview
Centroid properties
Distance & Angle Measurements
Command overview
Measuring Distance and Angle
Example
Angle Measurement Definition
FWHM Measurements
Command overview
FWHM properties
PSF Fit Properties
Labeling Images
Overview
Label Properties
Examples
Line Measurements
Command overview
Marker properties
Plot Line Measurements
Command overview
Marker Properties
Plot Point Measurements
Plot Point Measurements
Marker Properties
Shape Properties
Point Measurements
Command overview
Marker properties
Region Measurements
Command overview
Marker properties
Region properties
Statistics Measurements
Command overview
Statistics Measurements
Statistics properties
List Statistics Keywords
Remove Statistics Keywords
Marker Properties
Overview
Drawing Properties
Centroid Properties
Region Properties
Copying & Pasting Markers
Copy Markers
Paste Markers
Scatter Plots
Scatter Plot command
Tutorial: Making a Scatter Plot of Measurements
Selecting Cells in a Grid Control
Point Sampling
Overview
Pixel Table Pane
Viewing and editing pixel values
Report Windows
Overview
Grid Controls
Grid Context Menu
Optimizing the column width
Opening a table in Excel
Table Properties
Table Printing Properties
Table Appearance Properties
Plotting Images and Data
Overview
Plot Bar Pane
Creating a Chart from Table Data
Creating a Plot from Table Data
Examples of plot types
Examples of row plots
Setting Application Properties
Horizontal Slice Plot
Vertical Slice Plot
Plot Windows
Overview
Creating a Plot from Table Data
Plot Bar
Plot Animation Bar
Plot Keys Pane
Plot Context Menu
Set X-Axis Format
Set Y-Axis Format
Plot Series Data
Plot Measurements
Go to Source Image
Plot Averaging Modes
Saving a plot as a text file
Save Window Position
Window Properties
Plot Properties
Plot Series Properties
Chart Windows
Chart Windows
Creating a Chart from Table Data
Chart Command Menu
Chart Axis Limits
Chart Properties Pane
Chart Series Properties
Chart Titles
Chart Legend Properties
Save Window Position
Working with Plot Series
Changing Plot Series Attributes
Overplotting & Animating
Go to Source Image
Copying & pasting plot series
Adding series to a line profile plot
Plot Default Marker Properties
Setting marker attributes before the plot
Default Series Properties
Plot Series Properties
Plot Series Data
Column and Row Profile Plots
Column profile plots
Making a column profile plot
Row profile plots
Making a row profile plot
Plotting an averaged line
Overview
Plot Averaging Modes
Changing the Plot Appearance
Changing Plot Attributes
The Plot Attributes dialog
Using a dialog shortcut
X Axis Properties
Y Axis Properties
Plot Labels
Frame Properties
Selecting a Coordinate System
Plot coordinate systems
Using World Coordinates
Comparison of coordinate systems
Line profile plots
Command
Creating a Line Profile plot
Adding series along different lines
Adding parallel series
Preferences
Setting Line Profile preferences
Centroid Preferences
Marker Properties
Radial profile plots
Making a radial profile plot
Radial Profile Properties
PSF Fit Properties
Histogram plots
Making a Histogram plot
Histogram Properties
Comparison of Histogram Preferences
Making a Bit Histogram plot
Plot Measurements
Overview
Plot Point Measurements
Plot Line Measurements
Statistics Measurements
Statistics Properties
Mark Statistic
Plot Marker Properties
Plot Notes Pane
Scatter plots
Scatter Plot command
Tutorial: Making a Scatter Plot of Measurements
Selecting Cells in a Grid Control
Pixel Series plots
Plotting a value through an image set
3-D plots
3-D Surface Plot command
3-D Plot Type Examples
3-D Z-Scaling Examples
Preferences
3-D Viewpoint
3-D Window Dialog
3-D Drawing Attributes
3-D Light Source
Surface Plot Z Limits
Contour plots
Contour Plot command
Contour Plot Properties
Contour Drawing Properties
Interactive Contour Plot command
Interactive Contour Properties
Contour Plot Smoothing
Copy & Paste
Example
Copying plot data to the clipboard
Pasting plots from the clipboard
Copying the window bitmap
Printing Plots
Overview
Properties
Overview
Printing Placement Properties
Printing Overlay Properties
Printing Heading Properties
Printing Text Properties
Calibrating Images
Selecting Source Images
Overview
Creating synthetic images
Trimming an image section
Adding metadata at File Open or Save
Modifying header keywords
Creating a Pixel Mask
Applying a Pixel Mask
Image Combining Strategy
Editing and Creating a Blemish Mask
Applying a Blemish Mask
File Event Scripting
Astrometric Calibration
Express Image Calibration
Express Image Calibration
Bias Correction Properties
Dark Correction Properties
Flat Correction Properties
Cosmetic Correction Properties
Creating a Master Bias
Create Master Bias
Image Combining Strategy
Creating a Master Dark
Create Master Dark
Image Combining Strategy
Create Master Flat
Create Master Flat
Flat Frame Selection Criteria
Image Combining Strategy
Create Illumination Flat
Create Illumination Flat
Flat Correction Properties
Image Combining Strategy
Create Pixel Flat
Create Pixel Flat
Flat Correction Properties
Image Combining Strategy
Repairing Artefacts and Cosmetic Defects
Overview of Methods
Cleaning artefacts from an image set
Interactively Repairing Defects
Evaluating repair techniques using synthetic images
Blemish Masks
Creating and editing a blemish mask
Applying a Blemish Mask
Pixel Masks
Creating a Pixel Mask
Editing a Pixel Mask
Applying a Pixel Mask
Removing Stars from Images
Overview
Changing the aperture properties
Viewing data for template samples
Properties
Overview
Point Properties
Other Properties
Processing Images
Overview
Command Dialogs
Selecting Source Images
Image Types
Image Region Commands
Testing calibration strategies using synthetic images
Image Keys Pane
File Event Scripting
Adding metadata at File Open or Save
Creating an image list from keywords
Searching images for keyword values
Cosmetic Repairs
Interactive Repair
Interactive Repair Properties
Removing cosmic rays from an image set
Blemish Masks
Creating and editing a blemish mask
Applying a blemish mask
Pixel Masks
Creating a pixel mask from an image
Editing a pixel mask
Applying a pixel mask
Removing Stars from Images
Overview
Changing the aperture properties
Viewing data for template samples
Properties
Overview
Markers
Background
Sample Data
Combining Images
Combine Image Set
Combine Files
Image combining methods
Setting normalization preferences
Region Statistics
Aligning Images
Overview
Aligning on a point
Aligning on an extended object
Aligning using the WCS calibration
High Precision Registration command
Overview
Tutorial: Introduction to Image Registration
Example using Point Tracking
Image Registration Properties
Image Registration Properties Dialog
Resampling
Background
Image Registration Residuals
Marker Properties
Resampling Properties
Tracking Properties
Image Region Statistics
Overview
Estimators
Editing & Copying
Overview
Duplicating to a new window
Emptying the Clipboard
Math Commands
Overview
Arithmetic Operations
Change Pixel Type
Combine Image Set
Fit Background
Image Arithmetic
Normalize Image
Region Statistics
Value Arithmetic
Using Plug-ins
Geometry Commands
Overview
Rotating Images
Rotation Menu
Affine Transformation
Expand Image
Imbed Image
Mirror
Reverse
Rotate
Rotate by angle (from Image Toolbar)
Scale
Shift
Transpose
Cropping to specified bounds
Cropping to the Image Cursor
Cropping by a rectangle
Align Horizontal
Align Vertical
Commands for RGB data
Working with RGB Images
Applying a palette to the pixels
Converting to RGB
Converting to Grayscale
Converting to 16 bit Luminance
Converting to 8 bit Luminance
Removing color noise
Extracting channels
Making an LRGB Image
Making an RGB Image
Commands for Intensity data
Extracting byte planes
Converting the data type
Converting to RGB
Undo
Using undo
Filtering Images
Overview
Removing Extreme Pixel Values
Cosmic Ray Filter
De-speckle Filter command
Clip High Values
Clip Low Values
Rank Filtering
Rank Filter
Median Filter
Minimum Filter
Maximum Filter
Smoothing Image Details
Rectangle Filter
Elliptical Filter
Binomial Filter
Gaussian Filter
Block Average Filter
Block Sum Filter
Sharpening Image Details
High Pass Filter
Unsharp Mask
Maximum Entropy command
Maximum Entropy example
Enhancing Edges
Gradient Filter
Rotational Gradient Filter
Rotational Gradient example
Laplacian Filter
Miscellaneous Kernel Filters
Custom Filter Kernel
3x3 Custom Filter command
Extracting Sources from Images
Using the MExtract Module
Definitions of Extracted Properties
Running the Pipeline
Tutorial
Preferences
Properties for the Source Extraction Tutorial
Source Extraction dialog
Procedure page
Background page
Detect page
Filter page
Match page
Difference page
Post Process page
Post Processing Options
Centroid Properties (Source Extraction)
FWHM Properties (Source Extraction)
PSF Fit Properties
Aperture Photometry Properties
Variability Properties
Image Diagnostics and Calculations
Overview
Create Synthetic Image
Bit Histogram Plot
Calculate Airmass
Calculate Gain
Calculate Image Scale
Calculate Julian Date
Calculate Readout Noise
Using the Pro Script Module
Working with scripts
Using the Script Editor Window
Using the Script Manager
Editing script keywords
Save Window Position
Related Topics
Script Editor Toolbar
Script Editor View Menu
Script Editor Context Menu
File Event Scripting
File Event Scripting
Tutorial: Introduction to File Event Scripting

Mira Pro x64 User's Guide

Prev Page Next Page

Tutorial: Creating Plots from Images


This tutorial teaches you how to create intensity plots from images. In this exercise we will make Line Profile Plots and Row Profile Plots from one of the sample images. Also see Plotting Commands, Plotting Examples, Plot Windows, Chart Windows, and Examples of Row Plots.

Open an Image

To create a plot, we need to first display an image (see Tutorial: Displaying an Image). After starting Mira , click the File > Open command in the main menu bar. This opens the normal the Open dialog. In this dialog, navigate to the sample images in the folder "<Documents>\Mira Pro x64\Sample Data". Open the image named 'hyak0324.120.fts'. The displayed image will look like the one shown below. Note that the image may appear larger or smaller than shown here, depending upon how Mira scales it to fit the screen.

 

Now magnify and re-center the image so that it looks like the figure below. Next, open the Line Profile Toolbar by clicking on the main Image Plot Toolbar. The Line Profile Toolbar opens on the left side of the Image Window as shown below.

Plotting an Intensity Profile

A Line Profile Plot shows the change in intensity along a line drawn on the image. This type of plot uses the Line Profile Toolbar shown on the left side of the Image Window in the figure above. This is a standard Command Toolbar which was opened by clicking on the main Image Plot Toolbar at the top of the Mira application window. This toolbar opened in the typical mode with the top button (the marking mode) enabled. Using these toolbar buttons you can plot the intensity along any vector drawn on the plot and, as with other Mira plots, it works for both RGB images and non RGB images. To make a plot, mouse simply down at the starting point, then drag the line to its ending point and release the mouse. You will get a plot that looks like this:

Next we want to know what is happening to pixels along a parallel line beside the one we just drew on the image. Click the second button on the toolbar to enter Move Mode for the marker (the line). Next, point at the line and click the mouse down to grab it and then drag the line to a new location as described in Move perpendicular. When the mouse is released, the next profile Over-plots the first one, like so:

We can continue adding plot series forever. But at some point we will want to change to another mode, or click to return to the default Roam Mode. If you don't like the appearance of the Plot Window, press Ctrl+A to open the Plot Properties dialog.

Over-plotting and Animating Plots

When more than 1 plot series exists, you can choose to Overplot or animate them 1 series at a time. Right click on the plot to open the Plot Context Menu and select Plot Series Mode > Animate (you can also get this command from the Plot menu when an Image window has the focus) This command changes the window appearance to:

The Plot Animation Bar allows you to step or animate through the stack. Notice that you now see only 1 series at a time in Animate mode. You can switch back to Overplot in the same way.

Using Overplot and Animate modes in a Plot Window is a parallel to what can be done in an Image Window using Mira's unique concepts of Image Sets and File Lists; these are covered in another tutorial.

Plotting a Row Profile

Next, let us plot the profile of a single row through the peak of a star. To make a Column Profile Plot or Row Profile Plot, we use the Image Cursor to mark the extent of the plot. To plot a Row Profile, you must first adjust the Image Cursor to enclose the columns and rows you want to use. Often we would do that by moving and sizing the Image Cursor. In this case we may want to set the length of the plot (the number of columns) and we want to position it on the peak of a star. There are several ways to position the Image Cursor on the peak:

  1. One way is to have a steady hand and carefully position the image cursor using by microscopic mouse movements while watch for the peak pixel value to appear in the Image Coordinate Display box at the top of the Image Window. This may not give you what you want if the image is de-magnified because not every pixel can be hit by mouse movements. And there are easier ways.

  2. Another method is to magnify the image so it is easier to position the mouse on the center of the star. You can use the mouse to position the Image Cursor or, if the window has focus, you can position it using the keyboard arrow keys. The window does have focus if you have clicked on it.

  3. Still another method is to crudely position the Image Cursor within a few image pixels of the peak. Then click on the Image Bar to home the Image Cursor to the centroid position near where you dropped it with the mouse.

Now that the Image cursor is positioned on a star, click to plot the single row at the center of the Image Cursor. This button executes the Row Profile Plot command. Clearly Method 3, above, is the quickest way to get a row profile plot through the center of a star. And it shows why some commands such as Centroid, Statistics, and Profile Plots are all linked to the Image Cursor. Notice that the plot caption (not the window caption) reminds us of the columns and rows we just plotted. In this case, [350:450, 848] tells us that we plotted from column 350 to 450 along row 848. Since we centroided before making the plot, the center of the plot passes through the peak of the star profile.

The plot above may have appeared differently if we were plotting in units of World Coordinates. if the image has a World Coordinate System calibration, with Right Ascension and Declination for every point, then you can choose to plot in those coordinates. The choice is specified a number of places in Mira , one being in the Image Context Menu > Plot menu. Right click on the image to open the Image Context Menu, select the Plot submenu, then the check the World Coordinate item. Then click again, and a plot is created like the one below with World Coordinate position on the X axis. Roaming the mouse pointer around either plot lists the coordinates in whichever Plot Coordinate System was used.

To make the plot below, we used the image 'hyak0324.125.fts', which is a sample image having a World Coordinate System calibration pre-applied (note: the calibration is not correct but is included simply to show how World Coordinates are used).

The tutorial Tutorial: Displaying an Image Set shows how to Overplot the row profiles for members of an image set.

Over-plotting Different Plot Series

The previous sections have described how to Overplot multiple line profiles by using Move mode for the Line Profile Plot. Mira also lets you Overplot the plot data (series) from any Plot window onto the data displayed in any other Plot window. To do this, use the Copy/Paste protocol to copy the series from a "source" plot and paste them into a "destination" plot. For example, using the image 'Hyak0324.120.fts' from above, let us compare a median combination of about 20 rows with a mean combination of the same rows.

1.    Make sure the window containing the image is the window with focus (it shows the highlighted caption).

2.    Change the Image Cursor to a rectangle and adjust the size to approximately 51 rows tall by 51 columns wide, as shown below. The width may be any number, but this was the default image cursor size when the window opened. In Image Cursor Mode ( button), move the cursor to pixel (720,534) as shown below.

3.    On the Image Plot Toolbar, click the down arrow next to the Row Profile command and select Averaging Mode > Mean as shown below.

  1. Using the Row Profile down arrow, execute the Mean Row command as shown below.

           This creates a Mean row plot over 51 rows, as shown below.

5.    Repeat the previous step using Averaging Mode > Median followed by the Median Row command to create the following plot. If the toolbar command is not available, click on the image to give it focus and load its toolbar. Note that the Averaging mode change applies to this image window only. To make a setting the default, see Plot Averaging Mode            

In the above plots, compare the Y AXIS scales to see the difference between the median of 51 rows and the mean of 51 rows.

6.    Click the Median Row Plot (the first one of the two we created) to activate it. Now click the Edit > Copy command in the Plot menu or use Ctrl+C to copy the data from the Median Row Plot window.

7.    Click the Mean Row Plot window to activate it. Now click the Edit > Paste command in the Plot menu or use Ctrl+V to paste the data into the Mean Row Plot window. The result looks like the following:

           

After you paste the data into the window as shown above, you might wish to open the Plot Animation Bar so you can blink between the plot series. You will also notice that the plot caption changes when you change the series.

Accessing Plot Data

You can access the plot data values directly using the Plot Series Data command. With the last window active, right click on it to open the Plot Context menu, then select the Plot Series Data command. This opens a window which looks like the following:

In the Plot Series dialog, the row at X Axis = -13 has been highlighted by dragging the mouse point across it to show a position where the mean and median row values are very different. You can also see this in the plot windows above. You can save the data from the Plot Series dialog using the buttons on its bottom border or by using commands in its context menu (right click on the table to open). See Plot Series Data.

Creating a Contour Plot

Mira provides two ways to plot contours on an image: 1) Contours computed at specific intensity levels, and 2) a single contour computed at a level you mark on the image. Here, we will mark a contour on the comet image we have been using thus far.

To interactively draw a contour, do the following:

  1. Select the image 'Hyak0324.120.fts' (click on its window if it does not already have focus).

  2. Outline a region of interest by positioning and sizing the Image Cursor. The contour will be computed inside this region.

  3. Click the Interactive Contour command button on the main toolbar. This opens the Interactive Contour toolbar at the left margin of the Image Window. The toolbar opens in marking mode. If you leave marking mode, you can re-enter by clicking the top button on the interactive contour plotting toolbar.

  4. Click the left mouse button on the intensity level where you want to create the contour. To change the contour smoothness or color, open the Interactive Contour Plot Properties by clicking on the toolbar.

In the picture below, the contour was marked at an intensity value of of 2419. One way to enhance the information give by the contour is to switch to a pseudocolor palette and adjust it to appear dark near the intensity level of the contour but to show color above and below that value.

Note

It is usually advisable to constrain the contour using as small a region as necessary by using the image cursor. Contours require drawing many short lines, and a complex contour containing a huge number of line segments may cause the computer to lag when redrawing the image window.

Creating a 3-D Surface Plot

Mira can quickly create a 3-D Surface Plot showing the surface intensity versus (column,row) position in the image. Like contour plots, 3-D plots work with the region bounded by the Image Cursor and should be constrained to a small number of pixels, usually not more than 10,000 pixels in area unless the image is very noise-free. Otherwise, plotting many pixels often just shows a rough noise surface with little information. Various types of 3-D plots are available; see 3-D Pixel Representations to view some of these variations.

To create a 3-D plot for a region of the comet image,
  1. Select the image 'Hyak0324.120.fts' (click on its window if it does not already have focus).

  2. Outline a region of interest by positioning and sizing the Image Cursor. The 3-D surface will be rendered inside this region. Here, we moved the cursor to near the center of the comet nucleus.

  3. Click the 3-D Surface Plot command button on the Image Plot Toolbar.

  4. To quickly reorient the plot to a different viewpoint position, click on the Rotation Toolbar to enter rotation mode. To rotate the image, mouse down inside the plot window and hold down the button while you move the mouse to move the plot viewpoint.

  5. The 3-D plot takes its palette from that used in the 2-D image. After the 3-D plot is drawn, you can change its appearance using the 3-D Drawing Attributes dialog and other tool windows. You can also adjust the palette to enhance the rendering as shown below.

Related Topics

Contents

Tutorials

Getting Started

Tutorial: Displaying an Image Set

Plotting Commands

Examples of Row Plots


Mira Pro x64 User's Guide, Copyright Ⓒ 2023 Mirametrics, Inc. All Rights Reserved.