Image

An image is a 2D matrix of pixels. Each pixel is composed of one or more 32 bit floating point precision values known as channels. The type of information contained in the pixel and its channels is defined by the Pixel Format of the image.

Image Position

The Image is one of the main value types that flow through PixaFlux graphs.

Image Size

The image size is the width and height of the pixel array. One of the main advantages of PixaFlux is that the size of images can change as they flow through the nodes graph. See Resize node.

Image Position

In PixaFlux, images have a position property, which locates them in the 2D space. The [0,0] pixel of the image is at the left, bottom corner. This pixel is positioned at [position.x, position.y] in the 2D space.

Image Position

The image position can be modifed using nodes like Transform and Reframe.

Pixel Format

Each pixel in the Image defines a particular type of information. PixaFlux supports pixels of Color format, and pixels of Normal format. In the future we plan to also support pixels of Elevation (or Height) format. In PixaFlux Images have an unique color mode. The color mode defines how the color information is stored in each pixel.

Color Pixel Format

Each pixel represents a color and opacity. Colors can be represented in many ways: Monochromatic, Red-Green-Blue, CieLab, etc. These representation requires one or more numeric values to define the color. Those numeric values are knows as channels.

One of the main advantages of PixaFlux is that the nodes graph can change the pixel format of the images. This allows you to convert an image to the best color mode for a certain operation:

See ToM node, ToRGB node, ToHSV node, ToLab node.

Normal Pixel Format

The normal pixel format stores a vector known as normal, which represents surface variations on 3D models. The vector is usually normalized, meaning that the lenght of the vector is always 1.0. The XYZ channel values of the normal can range from -1.0 to 1.0.

The normal pixel format also has an alpha value, which can be use when blending two normal images.

Pixel Depth

The pixel depth is the size of the data for each pixel. In PixaFlux each image pixel has a 32 bits depth per channel. Giving superb quality.

Opacity

The pixel's opacity is defined by the alpha channel. In color modes that have no alpha channel the opacity is always fully opaque (alpha = 1.0) / (opacity = 1.0)