Houdini 20.5 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.

  • geodiff

    Display Geometry Differences.

  • geps

    Converts EPS files to Houdini polygon format.

  • giges

  • ginfo

    Prints polygon file statistics.

  • glightwave

    Converts LightWave files to/from Houdini format.

  • gpdb

    Converts .pdb files to/from Houdini format.

  • gplay

    Geometry viewer.

  • gply

    Converts .ply files to/from Houdini format.

  • gptex

    Makes a ptexture image file from a geometry file.

  • greduce

    Reduces polygons in a file.

  • gwavefront

    Converts .obj files to/from Houdini format.

  • hcollapse

    Collapses a directory structure.

  • hcpio

  • hexpand

    Expands hip files into a directory structure.

  • hkey / License Administrator

    Opens a graphical user interface for viewing and managing licenses and license server options.

  • hoiiotool

    Swiss-army knife of image operation tools.

  • hotl utility

    Command line utility to work with .hda/.otl files.

  • hrender

  • hsc

  • hscript

    Command line HScript interpreter.

  • hserver

    Houdini communicates through this proxy server to the sesinetd licensing daemon.

  • htexcache

    Query or modify the disk texture cache.

  • husk

    Command line utility for rendering a USD file using Karma or some other Hydra client.

  • i3dconvert

  • iautocrop

    Crops images based on pixel values.

  • icineon

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

  • icomposite

  • iconvert

    Converts an image of one type to another type.

  • icp

    Isolate a region of an image in a new image.

  • idenoise

    Removes noise from an image file.

  • idiff

    Display Image Differences.

  • 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.

  • imaketx

    Creates mipmapped .exr or .rat textures from image files.

  • 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.

  • Launcher

    The Houdini Launcher downloads, installs, upgrades, and uninstall Houdini and its components.

  • 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.

  • mqserver

    Message Queue Server for PDG/TOPs

  • py23convert

    Convert Python 2 expressions in HDAs to Python 2/3.

  • renderstatsoverlay

    Generates a (possibly scaled down) version of a rendered image with render statistics baked in.

  • renderstatsreport

    Generates an HTML page containing render statistics from an EXR image.

  • sesictrl

    Sets Houdini license server options from the command line.

  • sesinetd

    The Houdini license server. This program runs in the background managing Houdini licenses.

  • siminfo

    Prints simulation cache file statistics.

  • spiff

    Display Text Differences.

  • spy

    Shell utility for navigating the UNIX filesystem.

  • usdview

    Command line utility for viewing and inspecting USD scenes.

  • vexcache

    Query or modify the VEX compile cache.

  • vexexec

    Execute a cvex shader.