Aardvark.Base


PixVolume<'T>

Constructors

ConstructorDescription
new(format, tensor4)
Signature: (format:Format * tensor4:Tensor4<'T>) -> unit
new()
Signature: unit -> unit
new(size, channelCount)
Signature: (size:V3i * channelCount:int) -> unit
new(sizeX, sizeY, sizeZ, channelCount)
Signature: (sizeX:int * sizeY:int * sizeZ:int * channelCount:int) -> unit
new(format, size)
Signature: (format:Format * size:V3i) -> unit
new(format, sizeX, sizeY, sizeZ)
Signature: (format:Format * sizeX:int * sizeY:int * sizeZ:int) -> unit
new(format, size, channelCount)
Signature: (format:Format * size:V3i * channelCount:int) -> unit
new(...)
Signature: (format:Format * sizeX:int * sizeY:int * sizeZ:int * channelCount:int) -> unit
new(pixVolume)
Signature: pixVolume:PixVolume -> unit

Copy constructor: ALWAYS creates a copy of the data!

new(format, pixImage)
Signature: (format:Format * pixImage:PixVolume) -> unit

Copy constructor: ALWAYS creates a copy of the data!

Instance members

Instance memberDescription
Array
Signature: Array
Modifiers: abstract
BytesPerChannel
Signature: int
ChannelArray
Signature: Volume<'T> []

Returns the array containing the cahnnels in canonical order: red, green, blue, (alpha).

ChannelCount
Signature: int
Modifiers: abstract
Channels
Signature: IEnumerable<Volume<'T>>

Returns the channels of the image in canonical order: red, green, blue, (alpha).

Copy()
Signature: unit -> PixVolume<'T>
Copy(fun)
Signature: fun:Func<'Tv,'Tv> -> PixImage<'T>

Copy function for color conversions.

Copy(fun, format)
Signature: (fun:Func<'Tv,'Tv> * format:Format) -> PixImage<'T>

Copy function for color conversions. Note that the new color format must have the same number of channels as the old one, and the result of the supplied conversion function is reinterpreted as a color in the new format.

CopyChannelTo(channelIndex, target)
Signature: (channelIndex:int64 * target:Volume<'Tv>) -> unit
Modifiers: abstract
CopyToImageLayout()
Signature: unit -> PixVolume<'T>
CopyToPixVolume()
Signature: unit -> PixVolume
Modifiers: abstract
CopyToPixVolumeWithCanonicalDenseLayout(...)
Signature: unit -> PixVolume
Modifiers: abstract
Data
Signature: Array
Modifiers: abstract
GetChannel(channelIndex)
Signature: channelIndex:int64 -> Volume<'T>

Returns the specified channel, based on the canonical channel order: red, green, blue, (alpha).

GetChannel(channel)
Signature: channel:Channel -> Volume<'T>

Returns the specified channel.

GetChannel(channelIndex)
Signature: channelIndex:int64 -> Volume<'T,'Tv>

Returns the specified channel (based on the canonical order) with a different view type.

GetChannelInFormatOrder(...)
Signature: formatChannelIndex:int64 -> Volume<'T>

Returns the specified channel based on the order of the volumes's color format.

GetChannelInFormatOrder(...)
Signature: formatChannelIndex:int64 -> Volume<'T,'Tv>

Returns the specified channel based on the order of the volumes's color format with a different view type. formatChannelIndex

GetVolume()
Signature: unit -> Volume<'T,'Tv>
PixFormat
Signature: PixFormat
Modifiers: abstract
Size
Signature: V3i
Modifiers: abstract
SizeL
Signature: V3l
Modifiers: abstract
ToFormat(format)
Signature: format:Format -> PixVolume<'T>
ToImageLayout()
Signature: unit -> PixVolume<'T>
ToPixVolume()
Signature: unit -> PixVolume<'T1>
Modifiers: abstract
ToPixVolume(format)
Signature: format:Format -> PixVolume
Modifiers: abstract
Visit(visitor)
Signature: visitor:IPixVolumeVisitor<'TResult> -> 'TResult
Modifiers: abstract
Volume
Signature: Volume<'T>

Returns the volume representation of the tensor4 if there is only one channel. Fails if there are multiple channels.

Fork me on GitHub