class documentation

class CalibrationProfile:

View In Hierarchy

Chromatic calibration profile, representing the sensor information from a device

Method __init__ Undocumented
Method convert_to_srgb Converts a numpy image from sensor RGB to sRGB
Instance Variable base_icc_profile The loaded profile from a slide/image for the purpose of building a colour transform
Instance Variable microscope_to_sRGB_transform Undocumented
def __init__(self, filename=None):

Undocumented

def convert_to_srgb(self, numpy_image):

Converts a numpy image from sensor RGB to sRGB

Parameters
numpy_imagea numpy array of a slide (numpy array)
Returns
numpy_image (in place) (numpy array)
base_icc_profile =

The loaded profile from a slide/image for the purpose of building a colour transform

microscope_to_sRGB_transform =

Undocumented