# GetGreyscale

The GetGreyscale function is used to supply a 2D greyscale image to the Spreadsheet. When a Spreadsheet is initially created, a Getgreyscale function will automatically be added and located in cell A1, referencing the default InputPointCloud function. However, the GetGreyscale function can exist anywhere within the Spreadsheet. In addition, a Spreadsheet may contain multiple instances of the GetGreyscale function.

When the function is inserted into a cell, it is automatically configured with an Input pin.

## GetGreyscale Inputs

The GetGreyscale function must always reference an InputPointCloud function.

## GetGreyscale Outputs

Returns the input image in the cell's value attribute, as an Image object. If the image no longer exists or cannot be retrieved, the cell will return #ERR.

Note: Functions that require an Image parameter must reference a spreadsheet cell that contains a valid Image data structure. The default Image parameter reference in all property sheets is cell A1, which contains the Image data structure returned by an GetGreyscale function. But Image data structures returned by the Image functions are also valid references for Image Parameter values in property sheets.