[HOME][CONTENTS][DOWNLOAD][PREV][NEXT]


IMAGE DISPLAY WITH GIMG

Magnification. A gimg can change the image scale in display. The options -mx and -my define the horizontal scale and the vertical scale respectively. A scale value less than 1.0 means an image reduction, and a scale value greater than 1.0 means an image magnification. A scale value configured by -mx or -my is always an absolute scale based on the original image array size. 

In addition to the options -mx and -my, a gimg has a command, image_of_gimg copy src_gimg xc yc mx my, to make a copy of pixmap from a source gimg, src_gimg. The center of the pixmap is xc and yc with magnifications mx in x direction and my in y direction. This command is designed for a quick image magnification in display. The command does not copy the original image data set. Instead, it makes a copy of the pixmap with the specified xc, xy, mx and my according to the configuration of the src_gimg

The following examples show the same image of Mount Saint Helens displayed with different magnificaiton options. The raw image was cropped from the original Space Shuttle image archive, sts064-051-025, taken on September, 1994. A sharpness of 0.25 is used in all images to highlight the volcano structures in display.
 


-mx 1.0 -my 1.0

-mx 0.65 -my 0.65

-mx 1.8 -my 1.8

-mx 2.8 -my 2.8

[HOME][CONTENTS][DOWNLOAD] 1