IntensityTo

Description

Name

class Tinman.Image.IntensityTo

Derived from

Image

When first is non-null:
Replaces a pixel channel of the first image with the grayscale intensities of the second image.

When first is null:
Returns an image that has a single pixel channel (see channel parameter), initialized to the grayscale intensities of second image. All other pixel channels are initialized to their respective default values (see Channel).

Void pixels in the second image are ignored (i.e. the original pixel remains unchanged). Void pixels in the first image will also be void in the resulting image.

Fields / Required

second

Type

Image

Constraint

# != null

The pixel channel.


channel

Type

Channel

The pixel channel.

Fields / Optional

first

Type

Image

Default

null

The pixel channel.

Fields / External

info

Type

Image.Info

Contains information about the image data source, including image format and embedded geo-referencing information.