home left right up

---

Scaling Experimentation

HIPR Applet Running Instructions

The following are instructions on how to run the applets which are part of the HIPR package. These applets are designed to allow the user to try out the operators which are outlined in the worksheets.

You may want to review the general instructions first, which gives a demonstration overview, JAVA details, browser details, known bugs, etc.

Source for this operator.

Image Loading

You can experiment with different images using any of the images supplied in HIPR or by a URL. Some of those available in HIPR have the prefixes given here and .gif as the file extension: grayscale (cam1, che1, cln1, fru1, man8, str1, str2, str3, tol1, txt2, wal2, wom1, wom2, urb1, xra1) and range (bae1, fac1, phn2, ren1, ren2, ufo1, ufo2, ufo3) images.

Enter image specifiers (into the edit box at the top of the screen) either as a full HIPR image filename (eg. cam1.gif) or by a full URL. Only gif files can be loaded. Because of JAVA security, the URL should refer to a publically accessible place, such as your public_html directory.

Pushing the Load Image button or pushing "Return" on the keyboard causes the specified image to be loaded. The input image is displayed in the Input display area below the control buttons, along with the image size.

Operator Instructions

There are three pull down menus from which to select. The first of these, Method, selects what method is used to determine how to calculate the output image when the scaling takes place.

The middle of the three boxes, Direction, specifies whether you are scaling the image up or down. If the selection in this box is expand, then a red-edged box should appear in the input window which shows the area you wish to expand. This box can be moved around in the image by clicking the mouse in the input window. Where the mouse is clicked will determine where the top left of the box is. The size of the box is determined by the Scale factor.

The third menu, Scale, determines what size of scaling is taking place. If you are scaling down then a value of two would mean that the width and height would each be half as big. When scaling up takes place, the scale value determines the size of the area that is being scaled up to the original image size.

The output is displayed to the right of the input image.

Pressing the green start button causes the operator to run. Pressing the Stop button causes the operator to stop running. This is useful if the system being run on is very slow and the operator is taking a long time to complete.

The time box shows the amount of time which the operator took to complete the process on the input image.

Image value inspection

You can inspect the input and result image pixel values by depressing the left mouse button and moving the cursor over the desired pixel. The pixel coordinates and gray-level value are displayed underneath the image. Note that some images are larger than the displayed 256x256 display window. Larger images are subsampled in an appropriate manner.

Known Bugs

You can find out about known problems with the system here.

---

home left right up

©2003 R. Fisher, S. Perkins, A. Walker and E. Wolfart.

Valid HTML 4.0!