meta data for this page
  •  

ReadImage – Window Arguments

A “window” is a 4-number argument that outlines a rectangular region of interest on an image. The four numbers refer to the x- and y-position of the upper left corner, and the width and height of the rectangle. One way to define a window is to display the image in Show and to draw a box around the region of interest by holding down the Shift key while simultaneously pressing the left mouse key and dragging the cursor to the opposite corner.

If you then select the “Save” button in Show, the window coordinates are copied into the System Clipboard, and can be pasted into the “window” argument of ReadImage or of another module.

You can drag the crop window, by pressing and dragging the cursor inside the crop window. You can also change the window parameters by editing the values within the crop window text box and typing the ”return” or “enter” key.

No matter how you get the 4 numbers into the “window” argument, they tell ReadImage to only use the image data in that rectangular region.