Main Page   File List   Globals  

vcrop.c File Reference

vcrop - crops an image. More...


Detailed Description

vcrop - crops an image.

Description
vcrop crops a file of images using a cropping rectangle specified by command line options.

The cropping rectangle must be unambiguously specified by using any two of -top, -bottom, and -height, plus any two of -left, -right, and -width.

The cropping rectangle may fall partially or completely outside an image it is crop­ ping; in that case, the area outside is filled with zeros.

Usage
vcrop
Parameters:
-in  input image
-out  output image
-top  Specifies the first (top) row of the cropping rectangle.
-bottom  Specifies the last (bottom) row of the cropping rectangle.
-left  Specifies the first (leftmost) column of the cropping rectangle.
-right  Specifies the last (rightmost) column of the cropping rectangle.
-height  Specifies the height of the cropping rectangle.
-width  Specifies the width of the cropping rectangle.
Examples

Known bugs
none.
Author:
Ralph Horstmann, UBC Laboratory for Computational Intelligence

Generated on Tue Nov 23 09:50:52 2004 for VIA - Volumetric Image Analysis by doxygen1.2.15