1.215. importRgbImage

Full Name: herschel.ia.toolbox.image.ImportRgbImageTask
Alias: importRgbImage
Type: Java Task - Java Task
Import: from herschel.ia.toolbox.image import ImportRgbImageTask
Categories

Images

Input-output

Description

This is a task to import an RGB image from a file.

This is a task to import an RGB image from a file (bmp, fpx, gif, jpg, png, pnm, tiff or fits format).

Example

Example 1: This is how you can import a file into an image
path = "testRgbImage/filename.fits"
myImage = importRgbImage(filename = path)

API details

Properties

Image image [INOUT, OPTIONAL, default=None]

This is the input RGB image, in which the file must be loaded.

string filename [INPUT, MANDATORY, default=None]

This is the file to import.

See also