Skip to main content

Interface: RawImage

Defined in: model/image.ts:97

A two-dimensional raster image

Extends​

Properties​

activeChannel?​

optional activeChannel?: number

Defined in: model/image.ts:124

The channel shown in the single-channel view modes (0-based)

Default Value​

imageDefaults.activeChannel


channels?​

optional channels?: ImageChannel[]

Defined in: model/image.ts:106

The channels of the image, indexed by channel

Channels beyond the end of the array, and channels of images whose data is not multi-channel, use the default values of ImageChannel.


channelViewMode?​

optional channelViewMode?: ImageChannelViewMode

Defined in: model/image.ts:117

How the channels are displayed

In the single-channel modes, only RawImage.activeChannel is shown, whatever the visibility of the channels; the channel colors are kept, and ignored in grayscale.

Default Value​

imageDefaults.channelViewMode


dataSource​

dataSource: RawImageDataSource

Defined in: model/base.ts:53

Data source

Inherited from​

RawRenderedRasterDataObject.dataSource


id​

id: string

Defined in: model/base.ts:47

Data object ID

Inherited from​

RawRenderedRasterDataObject.id


layer​

layer: string

Defined in: model/base.ts:173

Layer ID

Inherited from​

RawRenderedRasterDataObject.layer


name​

name: string

Defined in: model/base.ts:50

Human-readable data object name

Inherited from​

RawRenderedRasterDataObject.name


opacity?​

optional opacity?: number

Defined in: model/base.ts:112

Data object opacity, in the range [0, 1]

Default Value​

renderedDataObjectDefaults.opacity

Inherited from​

RawRenderedRasterDataObject.opacity


transform?​

optional transform?: SimilarityTransform

Defined in: model/base.ts:119

Transformation from data object space to layer space

Default Value​

renderedDataObjectDefaults.transform

Inherited from​

RawRenderedRasterDataObject.transform


visibility?​

optional visibility?: boolean

Defined in: model/base.ts:105

Data object visibility

Default Value​

renderedDataObjectDefaults.visibility

Inherited from​

RawRenderedRasterDataObject.visibility