Houdini 17.0 Reference Stand-alone utilities

icp

Isolate a region of an image in a new image.

On this page

Synopsis

icp [-v] [-u] [-m] [-b] [res] [sub] <inimage> [sub] <outimage> iconvert [-d depth]

where:

res is [-w width] [-h height], and sub is [-x xoff] [-y yoff] [-w width] [-h height] or [-d divs section].

Description

icp copies an image, or a portion thereof, from the inimage image to the outimage.

Without any arguments, icp copies an entire image from the specified source to the destination. At any time, if the resolutions of the source image and the destination image differ, icp will copy the largest portion of the source which will fit within the destination image.

If outimage is of a different file type than inimage, then the file is converted to the new filetype automatically. For example:

icp myimage.sgi myimage.tif

…converts myimage.sgi to a .tif format file.

If the destination image is an existing file the -m option indicates to icp that the file is to be modified rather than re-created. This allows sub-frames to be copied into existing frames stored on disk without destroying the portion of the destination image outside the sub-image area.

To avoid the internal allocation of memory for image storage, frames are copied on a per scanline basis, but may be overridden by specifying the -b block option, which reads/writes entire images in one operation.

To keep images from being compressed, you can use the -u option (uncompressed). This avoids run-length encoding (RLE) for output formats that support it. This includes, Prisms/Houdini (.pic), Wavefront (.rla/.rlb) and Targa (.tga/.vst).

Resolution + offset (Res)

An arbitrary portion of an image may specified by defining its resolution and its offset from the origin of the image. The width and height of the sub-area are specified with the -w and -h options respectively. If one is omitted, its value will be the full width or height of the image. These options must be specified before the source image on the command line.

Either the source or the destination image may have offsets specified for the sub-area. These are given with the -x and -y options. The offset options appearing in front of the source image apply to the source image, while those specified immediately before the destination apply to the destination. If one or both are omitted, their values default to zero.

If offsets are specified without a resolution, then icp adjusts the resolution of the image appropriately for the given offset values.

Divisions + image (SUB)

A sub-image may be specified for either the source or the destination by specifying the -d option before the source and/or the destination. This option takes two values representing the number of sub-frames into which the image is to be divided and the sub-image number to be used for this copy operation.

The number of sub-divisions must be the square of an integer. The sub-image number must be between zero and the number of sub-divisions -1 where sub-image 0 is at the top left corner and sub-image sub-divisions -1 is at the bottom right.

As with the offset specifications, the option appearing in front of the source image applies to the source image, while that specified immediately before the destination applies to the destination.

The two methods of specifying sub-areas of an image may be mixed so that one method is given for the source while the other is used for the destination. As mentioned above, any mis-match of resolutions will result in copying the largest portion of the source which will fit within the destination image area.

The -v option will output a status message to the standard error file indicating the source, destination and resolution of the copy operation.

Examples

To copy the top-right corner of the iris into the top-right corner of a previously saved file with 512 x 384 resolution:

iclear -w 800 -h 600 temp.pic icp -m -d 4 1 marble.pic -d 4 1 ip 

To display the top half of an image:

icp -y 242 back.pic ip 

Stand-alone utilities

  • abcconvert

    Convert between Alembic formats.

  • abcecho

    Print information about an Alembic file.

  • abcinfo

    Print information about an Alembic file.

  • chchan

    Copies channel collection to/from action channel format.

  • chcp

    Copies channel collection file to another format.

  • chinfo

    Prints information about a channel collection file.

  • claudio

    Copies CHOP data (clip) to/from audio formats.

  • clchan

    Copies CHOP data (clip) to/from action channel format.

  • clchn

    Copies CHOP data (clip) to/from channel collection format.

  • clcp

    Copies CHOP data (clip) to another format.

  • clinfo

    Prints information about a CHOP data (clip) file.

  • dsmconvert

  • dsmmerge

  • dsparse

    Parses and displays dialog scripts.

  • gabc

    Convert between Alembic and Houdini geometry.

  • gconvert

    Convert between Houdini polygon formats.

  • gdxf

    Converts DXF polygons to/from Houdini format.

  • geps

    Converts EPS files to Houdini polygon format.

  • giges

  • ginfo

    Prints polygon file statistics.

  • glightwave

    Converts LightWave files to/from Houdini format.

  • gplay

    Geometry viewer.

  • gptex

    Makes a ptexture image file from a geometry file.

  • greduce

    Reduces polygons in a file.

  • gwavefront

    Converts .obj files to/from Houdini format.

  • hbrickmap

    Converts an i3d file or volume primitive geo/bgeo file into a Pixar brickmap file.

  • hcollapse

    Collapses a directory structure.

  • hcpio

  • hexpand

    Expands hip files into a directory structure.

  • hrender

  • hsc

  • hscript

    Command line HScript interpreter.

  • i3dconvert

  • iautocrop

    Crops images based on pixel values.

  • icineon

    Convert images from 10-bit Cineon format to an 8 bit format.

  • icomposite

  • iconvert

    Converts image formats.

  • icp

    Isolate a region of an image in a new image.

  • iflip - Flip Image

  • iinfo

    Outputs information about an image.

  • ilut

    Generates a lookup table (LUT) from standard channel formats or another LUT.

  • ilutcomp

    Generates a single lookup table (LUT) from from two LUTs.

  • ilutinfo

    Prints information about a lookup table (LUT) file.

  • imdisplay

    Sends an image to an mdisplay window.

  • iprint

    Prints the RGBA values for an image as text.

  • iquantize

    Reduces the number of colors in an image.

  • isixpack

    Generates an environment/reflection map from six images representing the six sides of a cube, or a cross image.

  • itilestitch

    Assemble a series of image files with crop windows into a single image.

  • izg

    Converts Z-depth images to 8-bit grayscale images.

  • mcacclaim

    Converts an Acclaim motion file to a Houdini script and channel file(s).

  • mcbiovision

    Converts a BioVision motion file to a Houdini script and channel file(s).

  • mcmotanal

    Converts a Motion Analysis TRC motion file to a Houdini script and channel file(s).

  • mcp

    Convert an image sequence to a movie file.

  • minfo

    Prints information about movie files.

  • siminfo

    Prints simulation cache file statistics.

  • spy

    Shell utility for navigating the UNIX filesystem.

  • vexcache

    Query or modify the VEX compile cache.

  • vexexec

    Execute a cvex shader.