Create

RenderOptionsFactory.Create method

Creates GrayscaleRenderOptions from the given pixelData and populate the options properties with values:

Bit Depth;

Rescale Slope;

Rescale Intercept;

Window Width;

Window Center;

public static GrayscaleRenderOptions? Create(PixelData pixelData)
ParameterTypeDescription
pixelDataPixelDataThe dataset to extract GrayscaleRenderOptions from.

Return Value

The GrayscaleRenderOptions if options can be created or null.

See Also