Next: Color menu
Up: Process menu
Previous: Copying Wavelets into an
Contents
Index
3D Plot
Creates a wireframe representation of the currently-selected image. A dialog
box allows interactive adjustment of various graph parameters.
- Img.# - The image to be graphed (should not need to be changed).
- x
- Angle around x axis to rotate the graph.
- y
- Angle around y axis to rotate the graph.
- z
- Angle around z axis to rotate the graph.
- x scale - Magnification in x dimension (0.01 - 10x).
- y scale - Magnification in y dimension.
- z scale - Magnification in z dimension.
- x ctr - x coordinate of image to use as x axis of rotation. If this value is
set appropriately, the graph should remain centered when rotating around
x axis.
- y ctr - y coordinate of image to use as y axis of rotation. If this value is
set appropriately, the graph should remain centered when rotating around
y axis.
- z ctr - z coordinate of image to use as z axis of rotation. If this value is
set appropriately, the graph should remain centered when the z scale is changed.
- x trans - x translation for positioning of graph.
- y trans - y translation for positioning of graph.
- z trans - z translation for positioning of graph.
- granularity - the degree of fineness of the graph. Lower values give more
detail, but take longer to render.
- color - Selects method by which graph should be colored.
- 0 = all white (not recommended for surface plots)
- 1 = grayscale, intensity is proportional to z
- 2 = original colors
- Invert Z - Multiply image pixel values by -1 to swap white and
black coordinates.
- Rotate X - Continuous animated rotation about x axis.
- Rotate Y - Continuous animated rotation about y axis.
- Rotate Z - Continuous animated rotation about z axis.
- Surface - Toggle between wireframe and surface plot.
Notes:
- If the image on which the graph is based is unloaded, the graph still
is visible but becomes unmodifiable. Unloading the image while the
graph is being adjusted produces unpredictable results.
- The x,y, and z scale magnify the graph in the original xyz coordinates,
which will usually differ from the screen x-y coordinates.
- The graph is handled like any other image, and can be saved and printed.
Currently there is no provision for saving in a vector format; graphs are
saved as bitmap images. Future versions will have vector printing in
PostScript format.
- Small graphs (
) are redrawn continuously as the scale
indicator is dragged. Larger graphs are only redrawn when the mouse is
unclicked after changing a value. If you have a fast computer, this behavior
can be modified by editing the section after the line ``Callbacks for
x,y,z rotation sliders'' in xmtnimage41.cc and recompiling.
- For images larger than the width of the screen, it is recommended to use
``Image..Change Size'' to make a smaller copy of the image before creating
a graph.
- If the original image is still present, the dialog box can be reopened
at any time to adjust the graph, by clicking on the desired graph and
selecting ``Process..3d graph'' again. If you select the image first,
a new graph will be created instead.
- Not all image operations are functional on graphs.
- Future versions of tnimage will allow interactive rotating of
the graph by dragging on parts of the graph.
- For color images, better results are obtained if the image is converted
to screen bits/pixel first.
- For color mode 1 (grayscale), the intensity varies with the plotted z
value. If the graph is too dark, it can be lightened by translating on
the z axis. Similarly, changing the z scale adjusts the grayscale gradient
of the plot.
- Grayscale images can be plotted in color (e.g., a color spectrum with high
z values encoded by red and low encoded by blue) by the following procedure:
- Click on the graph to select it.
- Convert the image to color (``Color...Gray scalecolor'').
- Select desired colormap (``Color..Colormap/False color..Select colormap'').
- Click on one of the 3d controls to rebuild the graph. If this has no
effect, click on the graph again and press Ctrl-R to rebuild the
graph image.
- Spectrum and multicolor 1 give the best results.
- If the Z scale is too small, this indicates the contrast in the image
is too low. This can occur with 10- and 12-bit images, which are stored in
memory as 16 bits/pixel. To correct this, select ``Color..Contrast''
and click ``Maximize Value''.
Next: Color menu
Up: Process menu
Previous: Copying Wavelets into an
Contents
Index
root
2006-11-13