Wiki

Clone wiki

BaristaSource / UserGuide / CropDialog

Crop Dialog

The crop dialog enables cropping of imagery and DEM data sets within Barista. Cropping of images and DEMs is possible from image views and DEM views after the selection of a region of interest (ROI). After the ROI selection the popup menu contains the function Crop Image/Crop DEM, which opens a cropping dialog. Considering images cropping of assigned node like image coordinate measurements and the different types of sensor model can be applied.

The crop dialog is generated for the Barista View where the ROI was selected. The crop setting becomes available as soon as the assigned node has the according sub nodes. The image below shows the crop dialog with the full set of possible selection options, ticking the check box will crop the assigned node and adds it to the crop result.

Grafik

Crop of Image/DEM Dialog

The values of the selected ROI are shown in the dialog, displaying the upper left, lower right corners as well as width and height. If the ROI was selected from a view with an TFW assigned to it, the display can be switched to metric values (which is probably useful for cropping orthoimages). These values can be modified within the limitations of the view by the spin boxes or by typing the demanded values. The display of the ROI will be updated accordingly. The pixel display will only show full pixel coordinates, whereas the metric display shows some decimals. The image contents will be cropped to the full pixel though.

Ticking Retrieve measured Image Points will create a Image Point Node assigned to the cropped image node. The points within the area of the ROI are corrected by the crop shift, the point label and e.g. coordinate sigmas remain the same.

Ticking Crop RPC parameters will create a RPC Node assigned to the cropped image node. The parameters of the RPCs are modified due to the crop shift, effecting only the 2D offset of the original RPCs. Other values and sigmas remain unchanged.

Ticking Crop TFW parameters will create a TFW Node assigned to the cropped image node. The parameters of the TFW are modified due to the crop shift, effecting only the 2D offset of the original TFWs. Other values remain unchanged.

Ticking Crop PushBroomScanner parameters will create a PushBroomScanner Node assigned to the cropped image node. The parameters of the PushBroomScanner are modified due to the crop shift, effecting only the camera specific to the resulting image. The shared components of the PushBroomScanner data remain unchanged.

Ticking Crop Affine parameters will create a Affine Node assigned to the cropped image node. The parameters of the Affine set are modified due to the crop shift, effecting only the 2D offset of the original Affine set. Other values and sigmas remain unchanged.

After successfully cropping and image/DEM, a thumbnail of the crop result will be created and added under the Barista thumbnail view.

To Image Node

To Image View

To DEM Node

To DEM View

Updated