Image Creations, Saving And Closing

This palette contains vis for creating new images from file, camera, avi, arbitrary data, array and saving image, closing image functions.

Note: An vi icon with yellow background means they work on color images. With gray background means they only work on single channel image. With half yellow and half gray background means they work on both color and single channel image. Others vi icon background are for either examples or high level vis. For controls descriptions, you need to go to the vi in LabVIEW, use help (ctrl+H) and move mouse over the controls to see them.


IVision_NewImageFromCamSnap.vi

This vi will first pause the video, retrieve an image from video and resume the video again. It also shows the image if "Show Image?" is true.

Connector Pane

IVision_NewImageFromCamSnap.vi


IVision_NewBlankImage.vi

Create a new image with random value. It supports image type of binary, gray and RGB. For gray image, it supports 8U, 8S, 16S, 32S, 32F and 64F depth. Color image has only 8U per color channel, that means 24bit color image.

Connector Pane

IVision_NewBlankImage.vi


IVision_NewImageByClone.vi

Creates a new image by clone.

Connector Pane

IVision_NewImageByClone.vi


IVision_NewImageFromFile.vi

Creates a new image from file. The supported image file format are:

Windows bitmaps - BMP, DIB; JPEG files - JPEG, JPG, JPE; Portable Network Graphics - PNG; Portable image format - PBM, PGM, PPM; Sun rasters - SR, RAS; TIFF files - TIFF, TIF.

Connector Pane

IVision_NewImageFromFile.vi


IVision_NewImageFromWindow.vi

Creates a new image from an image window. The image window has to be created by the "IVision_Create Named Window.vi".

Connector Pane

IVision_NewImageFromWindow.vi


IVision_NewImageFromAVI.vi

Create new image from AVI file.

Connector Pane

IVision_NewImageFromAVI.vi


IVision_NewImageFromArray.vi

Creates a new image from the input array.

Image.width has to be the multiple of 4.

Use for 8U gray or RGB image(24bit). For color image the data order has to be: B,G,R,B,G,R...

Connector Pane

IVision_NewImageFromArray.vi


IVision_SaveImage.vi

Save an image to file.

Currently the following file formats are supported: Windows bitmaps - BMP, DIB; JPEG files - JPEG, JPG, JPE; Portable Network Graphics - PNG; Portable image format - PBM, PGM, PPM; Sun rasters - SR, RAS; TIFF files - TIFF, TIF.

Connector Pane

IVision_SaveImage.vi


IVision_CloseImage.vi

Close a specified image or all images. Close image can free up some memory storage.

Connector Pane

IVision_CloseImage.vi


IVision_CreateImageHeader.vi

Create image header. Low level vi.

Connector Pane

IVision_CreateImageHeader.vi


IVision_CreateImage.vi

Create a new image. This is a low level vi. It supports image type of binary, gray and RGB. For gray image, it supports 8U, 8S, 16S, 32S, 32F and 64F depth. Color image has only 8U per color channel, that means 24bit color image.

Connector Pane

IVision_CreateImage.vi


IVision_LoadImage.vi

Currently the following file formats are supported: Windows bitmaps - BMP, DIB; JPEG files - JPEG, JPG, JPE; Portable Network Graphics - PNG; Portable image format - PBM, PGM, PPM; Sun rasters - SR, RAS; TIFF files - TIFF, TIF.

Connector Pane

IVision_LoadImage.vi


IVision_GetWinImage.vi

Get image window image data. Low level vi.

Connector Pane

IVision_GetWinImage.vi


IVision_ReleaseImageHeader.vi

Release image header. Low level vi.

Connector Pane

IVision_ReleaseImageHeader.vi


IVision_ReleaseImage.vi

Release image. Low level vi.

Connector Pane

IVision_ReleaseImage.vi


IVision_CloneImage.vi

Clone image. Low level vi.

Connector Pane

IVision_CloneImage.vi