Wiki

Clone wiki

BaristaSource / UserGuide / Orthoimage

The Orthoimage Dialog

Orthoimage generation can be started in one of three ways:

  1. By selecting the item Orthoimage in the Image Processing Menu. In this case, the user will be able to generate multiple orthoimages.

  2. By using the item Orthoimage Generation in the pop-up menu of an image node in the thumbnail view. In this case, that image node will be automatically selected as the input image.

  3. By selecting the item Generate Orthoimage from an ROI in the pop-up menu of a Region of Interest (ROI) of an image view. In this case, that image node will be automatically selected as the input image and the metric extensions of the orthoimage will be determined from the ROI by monoplotting. If more than one DEM are available, a Choose DEM dialog will appear to select a DEM first.

Choosing function Orthoimage starts a process dialog for Orthoimage generation. The generation of an orthoimage requires three input data sets:

  • Input Image(s): In this field you can select any of the image nodes in the thumbnail view having a current sensor model. Images not having a current sensor model will not be shown in this list and cannot be orthorectified. If there is no image with a current sensor model, no orthophoto can be generated. See the description of the image node for how a current sensor model can be initialised. By default, the first image in the list of image nodes will be selected.

If the dialog was started by selecting the item Orthoimage in the Image Processing Menu, there will be a checkbox next to the image name that decides whether the image shall be orthorectified or not. Only images with a checked box will be resampled to an orthoimage. By selecting an image with the mouse it is made the current image (displayed with a blue background), whose properties will be displayed in the ortho image properties group box, but it does not change the status of the checkbox; this has to be done by clicking the checkbox itself. There will be no such checkbox if the dialog was started in any other way; in this case, there is only one image, which is always selected for orthophoto generation.

  • DEM: A digital elevation model for the area of interest. The user can choose between all DEM nodes in the thumbnail view. By default the first DEM in the list of DEM nodes will be selected. If no DEM is available in the project, an error message is issued, and orthoimage generation will be impossible.

Grafik

Barista Orthoimage generation dialog

The parameters defining the orthoimage to be generated, the resampling method, and the method for determining the back-projected image points also have to be provided. Note that the parameters shown in the Ortho Image Properties group box always refer to the current image (the one displayed with a blue background) only, and independent from whether the image is selected for orthophoto generation or not (i.e, whether the associated checkbox is checked or not):

  • Orthoimage Extents: The extents of the orthoimage have to be provided by the X and Y coordinates of the centres of the pixel at the lower left (south-western) and the upper right (north-eastern) corners of the orthoimage to be generated. These coordinates have to be provided in the same coordinate system as the DEM. By default, the extents will be set to the extents of the previous orthophoto that has been generated using the same DEM; if the DEM is changed, the extents will be set to the extents of the new DEM.

Using the button Apply current extents to all will initialise the orthoimage extents for all images in the list by the values shown on the screen; however, the upper right corner will be changed so that the coordinate differences between the upper right corner and the lower left corner is a full multiple of the ground resolution of each image. This function is useful if multiple images covering the same area are to be orthorectified, e.g. a panchromatic and a multi-spectral QuickBird image.

Using the button Set current extents to maximum will have the following effects:

* The corners of the current image will be projected to the DEM
* The orthoimage extents will be determined as the intersection of area covered by the DEM and the rectangle delimited by the maximum/minimum object coordinates of the projected image corners
* The upper right corner will be selected so that the extents of the orthophoto are a full multiple of the resolution.

Using the button Set all extents to maximum has the same effect as B CLASS="doc">Set current extents to maximum**, but the process is applied to all images in the list.

  • Ground resolution: Here you have to select the ground resolution (pixel size) of the orthoimage to be generated in [m]. The upper right corner will be changed so that the extents of the orthophoto are a full multiple of the new resolution. These changes will only be applied to the current image; selecting the button Apply to all will applie the new resolution to all images in the list.

  • Output Image: Here you can select the output image. By default, the output will be a GeoTiff file having the same band configuration and image depth as the input file. In order to change these defaults, this button can be pressed, which will open an export image dialog, where you can select the filename and the output format.

After you have done so, by pressing the Apply format to all button you can select the same image format you have just selected for all files in the list. However, in order to change any of the other defaults for a file, the file has to be selected in the list, and it the export image dialog has to be used opened for this file separately.

  • Resampling Method: Here you have to select by which method the grey levels of the orthoimage are computed from the grey levels of the original image. There are two options:

    • Bilinear: The grey levels will be computed by bilinear resampling, taking into account four neighbouring pixels. This method is faster, but may give unsatisfactory results if the resolution of the orthoimage is much higher than the ground resolution of the original image.
    • Bicubic: The grey levels will be computed by bicubic resampling, taking into account sixteen neighbouring pixels. This method is slower, but may give better results if the resolution of the orthoimage is much higher than the ground resolution of the original image.
  • Anchor points: If the Use anchor points box is unchecked, each pixel of the orthophoto will be back-projected into the original image separately, which might be time-consuming, especially for the pushbroom scanner sensor model. If the box is checked, only a subset of the points will be back-projected, and the other image coordinates will be interpolated. Which points are back-projected depends on the parameter Max. Distance: In general, only the DEM grid points would be back-projected; however, if the grid size of the DEM is larger than Max. Distance (in [orthoimage pixels]), then additional points in a grid corresponding approximately to Max. Distance will be back-projected.

Using the anchor point method makes orthoimage generation considerably faster. However, if there are areas without data in the DEM, the boundaries of these areas might be expanded (by up to Max. Distance pixels in the orthoimage); If this is found to be problematic, the Max. Distance parameter can be selected smaller, or the anchor point method might not be used at all.

The process of orthoimage generation is started by pressing the OK button. The following actions will be taken:

  1. The program checks whether the definitions of the coordinate systems of the DEM and the sensor model are compatible with each other, i.e. if the DEM and the sensor model refer to the same geodetic datum. In the current version of Barista, no datum transformation can be carried out. If the DEM and the sensor model are found to refer to different geodetic datums, an error message is issued and orthoimage generation will be impossible.

  2. If the coordinate systems are found to be compatible, the orthoimage will be generated.

  3. Once the orthoimage has been created, it will be converted into the desired image file format, and it will be imported into Barista as a new image node.

Back to the Menu Image Processing

Updated