Image Management Functions

NI Vision for LabWindows/CVI Function

Image Management Functions

Image Management functions allow you to gather information about an image or manipulate the contents of an image.

The following table lists the Image Management functions. The functions in the Image Management class are grouped according to the types of operations they perform. The first column contains the name of the class. The second column contains names of function subclasses. The third column contains names of individual function panels. Each Image Management function panel represents one function.

Class Subclass LabWindows/CVI Equivalent Function Name
Image ManagementArray To ImageimaqArrayToImage
Image ManagementCreate ImageimaqCreateImage
Image ManagementImage To ArrayimaqImageToArray

Border Functions

Border functions allow you to fill an image border with a set of values, get the size of an image border, and set the size of image border.

Class Subclass LabWindows/CVI Equivalent Function Name
Image ManagementBorderFill BorderimaqFillBorder
Image ManagementBorderGet Border SizeimaqGetBorderSize
Image ManagementBorderSet Border SizeimaqSetBorderSize

Clipboard Functions

The following functions are available only with a licensed version of NI Vision.

Clipboard functions allow you to copy images to and from the clipboard.

Class Subclass LabWindows/CVI Equivalent Function Name
Image ManagementClipboardClipboard To ImageimaqClipboardToImage
Image ManagementClipboardImage To ClipboardimaqImageToClipboard

Drawing Functions

The following functions are available only with a licensed version of NI Vision.

Drawing functions allow you to draw lines, shapes, and text on images.

Class Subclass LabWindows/CVI Equivalent Function Name
Image ManagementDrawingDraw Line On ImageimaqDrawLineOnImage
Image ManagementDrawingDraw Shape On ImageimaqDrawShapeOnImage
Image ManagementDrawingDraw Text On ImageimaqDrawTextOnImage

Image Information Functions

The following functions are available only with a licensed version of NI Vision.

Image Information functions allow you to gather information about pixels and images.

Class Subclass LabWindows/CVI Equivalent Function Name
Image ManagementImage InformationEnumerate Custom KeysimaqEnumerateCustomKeys
Image ManagementImage InformationGet Bit DepthimaqGetBitDepth
Image ManagementImage InformationGet Bytes Per PixelimaqGetBytesPerPixel
Image ManagementImage InformationGet Image InformationimaqGetImageInfo
Image ManagementImage InformationGet Image SizeimaqGetImageSize
Image ManagementImage InformationGet Image TypeimaqGetImageType
Image ManagementImage InformationGet Mask OffsetimaqGetMaskOffset
Image ManagementImage InformationGet Pixel AddressimaqGetPixelAddress
Image ManagementImage InformationGet Vision Info TypesimaqGetVisionInfoTypes
Image ManagementImage InformationIs Image EmptyimaqIsImageEmpty
Image ManagementImage InformationRead Custom DataimaqReadCustomData
Image ManagementImage InformationRemove Custom DataimaqRemoveCustomData
Image ManagementImage InformationRemove Vision Info 2imaqRemoveVisionInfo2
Image ManagementImage InformationSet Bit DepthimaqSetBitDepth
Image ManagementImage InformationSet Image SizeimaqSetImageSize
Image ManagementImage InformationSet Mask OffsetimaqSetMaskOffset
Image ManagementImage InformationWrite Custom DataimaqWriteCustomData

Image Manipulation Functions

Image Manipulation functions allow you to manipulate images in their entirety. Functions in this subclass copy, scale, shift, and transpose images.

Class Subclass LabWindows/CVI Equivalent Function Name
Image ManagementImage ManipulationCastimaqCast
Image ManagementImage ManipulationCopy RectangleimaqCopyRect
Image ManagementImage ManipulationDuplicateimaqDuplicate
Image ManagementImage ManipulationFlattenimaqFlatten
Image ManagementImage ManipulationFlipimaqFlip
Image ManagementImage ManipulationMaskimaqMask
Image ManagementImage ManipulationResampleimaqResample
Image ManagementImage ManipulationRotate 2imaqRotate2
Image ManagementImage ManipulationScaleimaqScale
Image ManagementImage ManipulationShiftimaqShift
Image ManagementImage ManipulationTransposeimaqTranspose
Image ManagementImage ManipulationUnflattenimaqUnflatten
Image ManagementImage ManipulationUnwrap ImageimaqUnwrapImage
Image ManagementImage ManipulationView 3DimaqView3D

Interlacing Functions

The following functions are available only with a licensed version of NI Vision.

Interlacing functions allow you to combine two fields into one image frame or separate a frame into two fields.

Class Subclass LabWindows/CVI Equivalent Function Name
Image ManagementInterlacingInterlace CombineimaqInterlaceCombine
Image ManagementInterlacingInterlace SeparateimaqInterlaceSeparate

Pixel Manipulation Functions

The following functions are available only with a licensed version of NI Vision.

Pixel Manipulation functions allow you to manipulate images at the pixel level. You can use functions in the Pixel Manipulation subclass to extract image planes, replace image planes, set and return pixel values, and convert images to arrays and arrays to images.

Class Subclass LabWindows/CVI Equivalent Function Name
Image ManagementPixel ManipulationArray To Complex PlaneimaqArrayToComplexPlane
Image ManagementPixel ManipulationComplex Plane To ArrayimaqComplexPlaneToArray
Image ManagementPixel ManipulationExtract Color PlanesimaqExtractColorPlanes
Image ManagementPixel ManipulationExtract Complex PlaneimaqExtractComplexPlane
Image ManagementPixel ManipulationFill ImageimaqFillImage
Image ManagementPixel ManipulationGet LineimaqGetLine
Image ManagementPixel ManipulationGet PixelimaqGetPixel
Image ManagementPixel ManipulationReplace Color PlanesimaqReplaceColorPlanes
Image ManagementPixel ManipulationReplace Complex PlaneimaqReplaceComplexPlane
Image ManagementPixel ManipulationSet LineimaqSetLine
Image ManagementPixel ManipulationSet PixelimaqSetPixel