Next: Area Measurement
Up: Process menu
Previous: Chromatic Aberration
Contents
Index
Calibrate
Calibrates the image x and y coordinates and pixel values.
'x units' and 'y units' both calibrate x and y coordinates to
user-specified calibration values. The coordinates are fitted
to a straight line or a polynomial curve depending on the setting
of ``No. of terms'':
| No. of terms |
Type of curve |
| 1 |
Straight line |
| 2 |
Quadratic curve |
| 3 |
Cubic curve |
The coordinates are also fitted to the calibration values that
you enter using the same type of curve.
The calibration units are labeled 'x' and 'y' for
convenience, but in fact they are independent of each other and can
be in any direction, including any diagonal direction, or can even be
parallel to each other. The 'x' and 'y' calibration is useful if the
position of a point on the image corresponds to some parameter, such
as molecular weight, longitude, etc.
'z units' calibrates pixel values only, and is independent of the
pixel's location. This is useful when pixel value represents some
position-independent parameter such as altitude, height, temperature,
etc. Densitometry results can also be calculated in terms of calibrated
z values.
If you change a calibration point by clicking ``Edit data'', or if
you change one of the fitted parameters in the boxes (such as `y intercept'),
a new calibration curve will be calculated when you click ``Recalculate''.
The new calibration values take effect immediately.
Each image can have a different x, y, and z calibration curve.
Procedure for calibrating an image:
- Click on the image to select it.
- Select ``Calibration'' from the menu.
- Set Non-directional or Directional calibration type.
- For each dimension to calibrate, select the equation which will
be used to fit the data (linear, logarithmic, polynomial, or
distance from 0).
- Click on ``Obtain data'' to select calibration points from
the image, or enter the desired parameters if already known.
- When calibrating from calibration points, click at the
points on the image where the x, y, or z value is known.
A small box will appear indicating the control point. This
box can be dragged to a different location.
- Continue clicking until all the desired control points have
been acquired, then press any key or space bar to finish.
- A small spreadsheet will appear allowing you to edit the x and y
coordinates and to enter the calibration value for each point.
When calibrating the z dimension, the spreadsheet has two
columns instead of 3. In this case, enter the calibration
value that corresponds to the indicated pixel value and edit
the pixel value if necessary.
- Click OK. The image is automatically calibrated. The f value
and correlation coefficient for the curve fitting are shown.
- Repeat with other dimensions if desired.
- The calibration points can be modified by clicking on ``Edit data''.
- The calibration parameters can also manually altered. Any
changes in these boxes take place immediately. Clicking on
``Recalc from data'' will recalculate the calibration parameters
from the data points.
- The data points and calibration parameters can also be read
from and saved to a disk file by clicking on the corresponding
button.
Each image, as well as the background, can be calibrated separately
and can have a different title.
The calibrated value is shown in the left information panel below the
Relative Coordinates display.
Several types of calibration are possible:
- Non-directional linear calibration: The distance between the
starting and ending points is multiplied by a conversion factor
to give the calibrated value.
This calibration is useful for morphometric measurements on
images, where the units are independent of the angle.
- Directional linear calibration: Measures the distance from a line
perpendicular to the best-fit line passing through your calibration
points. This calibration is useful for images of isoelectric
focusing gels, or other situations where the distance in one
direction is the parameter of interest.
- Logarithmic calibration: Same as (2) except distances are
logarithmic (For example, if 10 pixels corresponds to 1 unit of
distance, 20 pixels would be 10 units, and 30 pixels would be
100 units). This calibration is suitable for acrylamide and
agarose gel electrophoresis images.
- 2nd-order polynomial calibration: Same as (1) except
distances are fitted to a quadratic equation. Could be useful.
- Distance from 0: Distances are calculated as the distance
from a (0,0) point somewhere in the image. This calibration
type is suitable for calibrating to objects of known size
on the image, for example if a ruler was included in the image.
- Exponential: pixel values raised to some exponent. This equation
is often used as `gamma correction'.
For example, to calibrate a 2D SDS acrylamide gel, set the calibration
type to ``Directional'', calibrate the first dimension from the molecular
weight standards (using a logarithmic function), and then calibrate
the isoelectric point from the IEF standards using a linear function.
Set the Units to ``MW'' and ``pI'' respectively.
Example 1: Calibrate an SDS-PAGE gel for molecular weight standards.
- Select ``Calibration''.
- Select ``logarithmic'' and ``Directional'' calibration from the dialog box.
- Check to ensure the correct image number is shown.
- Change units to ``Molecular weight'' (optional).
- Click on ``Obtain data'' to start calibration.
- Click on each size standard in the image. Each point will be shown by a
small box. In case of a mistake, you can go back and drag
any of the boxes to a new location. A best-fit line is
automatically drawn connecting the boxes. Make sure that this
line is in the same orientation as the lanes in your gel
(i.e., vertical or near vertical if your lanes are straight).
- When finished, press a key. The Data Entry dialog will appear.
Enter the corresponding molecular weights in each box.
- When finished, press Enter or click on OK. The dialog box will disappear.
- The molecular weight is now displayed continuously.
Image calibration dialog
Example 2: Calibrate coordinates on the image to centimeters using a ruler
in the image.
- Select ``Calibration''.
- Select ``Distance from 0'' and ``Non-directional'' calibration from the dialog box.
- Check to ensure the correct image number is shown.
- Click on ``Obtain data'' to start calibration.
- Click on the ruler markings on the strip in the image.
A small box indicates the calibration point. Move the box by
clicking-and-dragging if necessary.
- Press a key when finished, then enter the centimeter value.
- When finished, press Enter .
- The image is now calibrated. Each image, as well as the
background, can have a different calibration. The distance is
measured as the distance from 0,0 in any direction as defined by
the calibration points. Calibrated distance measurements can now be performed.
Notes:
- If the image is calibrated from data, at least 3 points are required.
Values less than or equal to 0 are not permitted for logarithmic
calibration.
- If the parameters are already known, they can be entered directly
(see below).
It is not necessary to acquire calibration points in this case.
The `statistics' fields will remain blank.
- The control points do not need to be obtained in any particular
order.
- The x, y, and z calibrations are calculated independently, using
separate parameters. This means the calibration axes do not need
to be orthogonal with respect to each other or to the screen axes.
They also do not need to be oriented in any particular direction.
This means, for example, that you could calibrate both the 1st and
2nd dimensions to different scalings in the same direction to indicate
inches and centimeters in the same direction.
- The z calibration is different from the x and y calibrations in that
only the pixel values are considered, and is independent of the x and
y coordinates.
- The calibrated distances are also used for distance and angle measurements
and strip densitometry area calculations. Z calibration can also be
used to calibrate densitometry density measurements.
Entering calibration coefficients directly
If the calibration coefficients are already known, they may be
entered directly into the dialog box. For calibrating pixel values,
imal interprets these parameters as follows:
| Calibration type |
Equation |
| Exponential |
answer = + pixel |
| Logarithmic |
answer = + 10 |
| Linear |
answer = + pixel
 |
| Polynomial |
answer = + pixel
+ pixel
 |
where q
to q
are the 0, 1st, and 2nd order polynomial
coefficients of the best fit line and `pixel' is the pixel value.
For calibrating x and y coordinates,
imal interprets the parameters as follows:
| Calibration type |
Equation |
| Exponential |
answer = + x |
| Logarithmic |
answer = + 10 |
| Linear |
answer = + x
 |
| Polynomial |
answer = + x
+ x
 |
where x is the distance from the origin point in pixel units.
The x and y origin points are calculated from
The slope and intercept of a line perpendicular to the best-fit
line are also shown but have no effect on the calibration if they
are changed.
For example, if the 1st order coefficient in z is set to 1.3 and the
z calibration is set to `exponential', the program will use
(pixel value)
instead of the pixel value in density calculations.
Calibrating images based on a reference image
Often it is necessary to calibrate a series of images to a known standard,
such as a scanned image of a ruler. This can be done as follows:
- Calibrate the standard image as described above. In this example, the
calibration type (i.e., ``Calibration for x'' ) would be ``1-D Non-Directional''.
- Select ``Image Properties...Copy tables'' and select ``Copy calibration''.
Set the ``Image to change'' to the image number of the new image, and ``Copy
from'' to the image number of the standard image.
- Click OK. The new image now has the same calibration as the standard.
Next: Area Measurement
Up: Process menu
Previous: Chromatic Aberration
Contents
Index
root
2008-10-10