Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ConvertTo

converts source pixel values to the target data type.

Hierarchy

Implements

Index

Constructors

constructor

Properties

Protected Optional defaultOptions

defaultOptions: T

description

description: string = "converts source pixel values to the target data type."

isInPlace

isInPlace: boolean = false

name

name: string = "ConvertTo"

noDst

noDst: boolean = false

noInPlace

noInPlace: boolean = false

optionsOrder

optionsOrder: ("dst" | "src" | "alpha" | "beta" | "dtype")[] = ['src', 'dst', 'dtype', 'alpha', 'beta'] as (keyof ConvertToOptions)[]

sameSizeAndType

sameSizeAndType: boolean = false

validChannels

validChannels: number[] | undefined = undefined

Protected validateEachExec

validateEachExec: boolean = false

Protected validated

validated: boolean = false

Methods

Protected _exec

Protected afterExec

Protected allChannels

Protected checkDst

Protected checkInPlaceAfter

Protected checkInPlaceBefore

Protected checkInputImage

Protected checkOptions

  • checkOptions(o?: T): T

exec

resolveOptionsObject

Protected validate

Generated using TypeDoc