The SKIRT project
advanced radiative transfer for astrophysics
Classes | Functions
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

def _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. More...
 

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()

def pts.visual.rgbimage._split16 (   value32)
private

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