The SKIRT project
advanced radiative transfer for astrophysics
pts.visual.rgbimage Namespace Reference

Managing a color image in various representations. More...

Classes

class  _CubicSpline
 An instance of the CubicSpline class implements a function \(y=f(x)\) composed of three cubic spline segments of the form \(y=ax^3+bx^2+cx+d\). More...
class  RGBImage
 An instance of the RGBImage class represents a single RGB color image, i.e. More...

Functions

 _split16 (value32)
 This helper function returns a 2-tuple containing the least and most significant 16-bit portion of the specified unsigned 32-bit integer value.

Detailed Description

Managing a color image in various representations.

An instance of the RGBImage class in this module manages a color image in one or more representations.

Function Documentation

◆ _split16()

pts.visual.rgbimage._split16 ( value32)
protected

This helper function returns a 2-tuple containing the least and most significant 16-bit portion of the specified unsigned 32-bit integer value.