ClipIm
De MicMac
Révision de 14 juin 2019 à 11:17 par Scpsc (discussion | contributions) (Page créée avec « 25px List of commands ==Description== ClipIm is used to extract a subset of an image. ===Syntax=== The global syntax is: <pre>mm3d C... »)
Description
ClipIm is used to extract a subset of an image.
Syntax
The global syntax is:
mm3d ClipIm ImageName BoxOrigin BoxSize NamedArgs
Results
ClipIm generates a subset of the input image. The coordinates provided for the box origin correspond to the top-left corner of the box, in pixels. First coordinate is the column, second is the line. The size is also in pixels, from the box origin. The image is not resampled in the process. You can use the "Out" option to specify the output name.
Help
You can access the help by typing:
mm3d ClipIm -help
Mandatory unnamed args :
* string
* Pt2di :: {P0}
* Pt2di :: {SZ}
Named args :
* [Name=Out] string
Example
mm3d ClipIm img1.tif [1429,2842] [1000,1000] Out=img1_subset.tif