Hexagon Geospatial
MENU

Spatial Modeler Tutorials

Learn more about our products, find answers, get the latest updates, and connect with other Hexagon Geospatial product users, or get support from our professional service team.
Showing results for 
Search instead for 
Do you mean 

Drop Edges from Image

by cassie.tamblyn on ‎04-29-2016 12:20 PM (808 Views)

Download model

Description:

Trims edges from an image. Enter number of pixel rows/columns to trim from image. You can use the Preview function to tweak the trim level setting to your needs. This is useful for cutting off rough or skewed edges or otherwise if you need a rectangular image. 

One limitation of this Model is that the rows and columns aren't physically trimmed from the file - the output image still has the same number of rows and columns as the input file, but the specified number of edge rows and columns have been set to  have a pixel value of 0 in the output. In ERDAS IMAGINE 2016 we will be able to use the Define Processing Area operator to physically trim edge rows/columns (and a new Article will be posted with that Model).

 

DropEdges-v15-1-5.gmdx

image2015-12-17 16:6:46.png   

Input parameters:

Raster Input File: enter the filename of raster to trim

Set Trim Level: enter the number of pixel rows/columns you wish to trim from the image

Trimmed Raster Output File: enter the filename of the new raster

 

Courses