Pixel

Description

Pixel type encompasses the most general case of what a single element of an Image might be. It contains 4 real-valued fields:

  • X : Real – First pixel components (usually: red)
  • Y : Real – Second pixel components (usually: green)
  • Z : Real – Third pixel components (usually: blue)
  • W : Real – Fourth pixel components

Note that pixels in FabImage Studio do not correspond to any specific color model. Appropriate interpretation of the components is left for responsibility of filters. It is only the display in the IDE that assumes the RGBA model (Red, Green, Blue, Alpha).

Structure Fields

Type fields and default values (if defined) are described below:

Name Type Description
X Real First component, displayed as Red
Y Real Second component, displayed as Green
Z Real Third component, displayed as Blue
W Real Fourth component