Transforms

See also: Grading Transforms

Transform

class PyOpenColorIO.Transform
Transform(*args, **kwargs)
getDirection() → PyOpenColorIO.PyOpenColorIO.TransformDirection
getTransformType() → PyOpenColorIO.PyOpenColorIO.TransformType
setDirection(direction: PyOpenColorIO.PyOpenColorIO.TransformDirection) → None
validate() → None

AllocationTransform

class PyOpenColorIO.AllocationTransform
AllocationTransform(*args, **kwargs)

Overloaded function.

  1. __init__(self: PyOpenColorIO.PyOpenColorIO.AllocationTransform) -> None

  2. __init__(self: PyOpenColorIO.PyOpenColorIO.AllocationTransform, allocation: PyOpenColorIO.PyOpenColorIO.Allocation = <Allocation.ALLOCATION_UNIFORM: 1>, vars: collections.abc.Sequence[typing.SupportsFloat] = [], direction: PyOpenColorIO.PyOpenColorIO.TransformDirection = <TransformDirection.TRANSFORM_DIR_FORWARD: 0>) -> None

getAllocation() → PyOpenColorIO.PyOpenColorIO.Allocation
getDirection() → PyOpenColorIO.PyOpenColorIO.TransformDirection
getTransformType() → PyOpenColorIO.PyOpenColorIO.TransformType
getVars() → list[float]
setAllocation(allocation: PyOpenColorIO.PyOpenColorIO.Allocation) → None
setDirection(direction: PyOpenColorIO.PyOpenColorIO.TransformDirection) → None
setVars(vars: collections.abc.Sequence[SupportsFloat]) → None
validate() → None

BuiltinTransform

class PyOpenColorIO.BuiltinTransform
BuiltinTransform(*args, **kwargs)

Overloaded function.

  1. __init__(self: PyOpenColorIO.PyOpenColorIO.BuiltinTransform) -> None

  2. __init__(self: PyOpenColorIO.PyOpenColorIO.BuiltinTransform, style: str = ‘IDENTITY’, direction: PyOpenColorIO.PyOpenColorIO.TransformDirection = <TransformDirection.TRANSFORM_DIR_FORWARD: 0>) -> None

getDescription() → str
getDirection() → PyOpenColorIO.PyOpenColorIO.TransformDirection
getStyle() → str
getTransformType() → PyOpenColorIO.PyOpenColorIO.TransformType
setDirection(direction: PyOpenColorIO.PyOpenColorIO.TransformDirection) → None
setStyle(style: str) → None
validate() → None

BuiltinTransformRegistry

class PyOpenColorIO.BuiltinTransformRegistry
BuiltinTransformRegistry() → None
getBuiltins() → PyOpenColorIO.PyOpenColorIO.BuiltinTransformRegistry.BuiltinIterator
class PyOpenColorIO.BuiltinTransformRegistry.BuiltinStyleIterator
self[arg0: SupportsInt] → str
iter(self) → PyOpenColorIO.PyOpenColorIO.BuiltinTransformRegistry.BuiltinStyleIterator
len(self) → int
next(self) → str
class PyOpenColorIO.BuiltinTransformRegistry.BuiltinIterator
self[arg0: SupportsInt] → tuple
iter(self) → PyOpenColorIO.PyOpenColorIO.BuiltinTransformRegistry.BuiltinIterator
len(self) → int
next(self) → tuple

CDLTransform

class PyOpenColorIO.CDLTransform
static CreateFromFile(src: str, id: str) → PyOpenColorIO.PyOpenColorIO.CDLTransform
static CreateGroupFromFile(src: str) → PyOpenColorIO.PyOpenColorIO.GroupTransform
CDLTransform(*args, **kwargs)

Overloaded function.

  1. __init__(self: PyOpenColorIO.PyOpenColorIO.CDLTransform) -> None

  2. __init__(self: PyOpenColorIO.PyOpenColorIO.CDLTransform, direction: PyOpenColorIO.PyOpenColorIO.TransformDirection = <TransformDirection.TRANSFORM_DIR_FORWARD: 0>) -> None

  3. __init__(self: PyOpenColorIO.PyOpenColorIO.CDLTransform, slope: typing.Annotated[collections.abc.Sequence[typing.SupportsFloat], “FixedSize(3)”] = [1.0, 1.0, 1.0], offset: typing.Annotated[collections.abc.Sequence[typing.SupportsFloat], “FixedSize(3)”] = [0.0, 0.0, 0.0], power: typing.Annotated[collections.abc.Sequence[typing.SupportsFloat], “FixedSize(3)”] = [1.0, 1.0, 1.0], sat: typing.SupportsFloat = 1.0, id: str = ‘’, description: str = ‘’, direction: PyOpenColorIO.PyOpenColorIO.TransformDirection = <TransformDirection.TRANSFORM_DIR_FORWARD: 0>) -> None

equals(other: PyOpenColorIO.PyOpenColorIO.CDLTransform) → bool
getDirection() → PyOpenColorIO.PyOpenColorIO.TransformDirection
getFirstSOPDescription() → str
getFormatMetadata() → PyOpenColorIO.PyOpenColorIO.FormatMetadata
getID() → str
getOffset() → Annotated[list[float], 'FixedSize(3)']
getPower() → Annotated[list[float], 'FixedSize(3)']
getSOP() → Annotated[list[float], 'FixedSize(9)']
getSat() → float
getSatLumaCoefs() → Annotated[list[float], 'FixedSize(3)']
getSlope() → Annotated[list[float], 'FixedSize(3)']
getStyle() → PyOpenColorIO.PyOpenColorIO.CDLStyle
getTransformType() → PyOpenColorIO.PyOpenColorIO.TransformType
setDirection(direction: PyOpenColorIO.PyOpenColorIO.TransformDirection) → None
setFirstSOPDescription(description: str) → None
setID(id: str) → None
setOffset(rgb: Annotated[collections.abc.Sequence[SupportsFloat], 'FixedSize(3)']) → None
setPower(rgb: Annotated[collections.abc.Sequence[SupportsFloat], 'FixedSize(3)']) → None
setSOP(vec9: Annotated[collections.abc.Sequence[SupportsFloat], 'FixedSize(9)']) → None
setSat(sat: SupportsFloat) → None
setSlope(rgb: Annotated[collections.abc.Sequence[SupportsFloat], 'FixedSize(3)']) → None
setStyle(style: PyOpenColorIO.PyOpenColorIO.CDLStyle) → None
validate() → None

ColorSpaceTransform

class PyOpenColorIO.ColorSpaceTransform
ColorSpaceTransform(*args, **kwargs)

Overloaded function.

  1. __init__(self: PyOpenColorIO.PyOpenColorIO.ColorSpaceTransform) -> None

  2. __init__(self: PyOpenColorIO.PyOpenColorIO.ColorSpaceTransform, src: str = ‘’, dst: str = ‘’, direction: PyOpenColorIO.PyOpenColorIO.TransformDirection = <TransformDirection.TRANSFORM_DIR_FORWARD: 0>, dataBypass: bool = True) -> None

getDataBypass() → bool
getDirection() → PyOpenColorIO.PyOpenColorIO.TransformDirection
getDst() → str
getSrc() → str
getTransformType() → PyOpenColorIO.PyOpenColorIO.TransformType
setDataBypass(dataBypass: bool) → None
setDirection(direction: PyOpenColorIO.PyOpenColorIO.TransformDirection) → None
setDst(dst: str) → None
setSrc(src: str) → None
validate() → None

DisplayViewTransform

class PyOpenColorIO.DisplayViewTransform
DisplayViewTransform(*args, **kwargs)

Overloaded function.

  1. __init__(self: PyOpenColorIO.PyOpenColorIO.DisplayViewTransform) -> None

  2. __init__(self: PyOpenColorIO.PyOpenColorIO.DisplayViewTransform, src: str = ‘’, display: str = ‘’, view: str = ‘’, looksBypass: bool = False, dataBypass: bool = True, direction: PyOpenColorIO.PyOpenColorIO.TransformDirection = <TransformDirection.TRANSFORM_DIR_FORWARD: 0>) -> None

getDataBypass() → bool
getDirection() → PyOpenColorIO.PyOpenColorIO.TransformDirection
getDisplay() → str
getLooksBypass() → bool
getSrc() → str
getTransformType() → PyOpenColorIO.PyOpenColorIO.TransformType
getView() → str
setDataBypass(dataBypass: bool) → None
setDirection(direction: PyOpenColorIO.PyOpenColorIO.TransformDirection) → None
setDisplay(display: str) → None
setLooksBypass(looksBypass: bool) → None
setSrc(src: str) → None
setView(view: str) → None
validate() → None

ExponentTransform

class PyOpenColorIO.ExponentTransform
ExponentTransform(*args, **kwargs)

Overloaded function.

  1. __init__(self: PyOpenColorIO.PyOpenColorIO.ExponentTransform) -> None

  2. __init__(self: PyOpenColorIO.PyOpenColorIO.ExponentTransform, value: typing.Annotated[collections.abc.Sequence[typing.SupportsFloat], “FixedSize(4)”] = [1.0, 1.0, 1.0, 1.0], negativeStyle: PyOpenColorIO.PyOpenColorIO.NegativeStyle = <NegativeStyle.NEGATIVE_CLAMP: 0>, direction: PyOpenColorIO.PyOpenColorIO.TransformDirection = <TransformDirection.TRANSFORM_DIR_FORWARD: 0>) -> None

equals(other: PyOpenColorIO.PyOpenColorIO.ExponentTransform) → bool
getDirection() → PyOpenColorIO.PyOpenColorIO.TransformDirection
getFormatMetadata() → PyOpenColorIO.PyOpenColorIO.FormatMetadata
getNegativeStyle() → PyOpenColorIO.PyOpenColorIO.NegativeStyle
getTransformType() → PyOpenColorIO.PyOpenColorIO.TransformType
getValue() → Annotated[list[float], 'FixedSize(4)']
setDirection(direction: PyOpenColorIO.PyOpenColorIO.TransformDirection) → None
setNegativeStyle(style: PyOpenColorIO.PyOpenColorIO.NegativeStyle) → None
setValue(value: Annotated[collections.abc.Sequence[SupportsFloat], 'FixedSize(4)']) → None
validate() → None

ExponentWithLinearTransform

class PyOpenColorIO.ExponentWithLinearTransform
ExponentWithLinearTransform(*args, **kwargs)

Overloaded function.

  1. __init__(self: PyOpenColorIO.PyOpenColorIO.ExponentWithLinearTransform) -> None

  2. __init__(self: PyOpenColorIO.PyOpenColorIO.ExponentWithLinearTransform, gamma: typing.Annotated[collections.abc.Sequence[typing.SupportsFloat], “FixedSize(4)”] = [1.0, 1.0, 1.0, 1.0], offset: typing.Annotated[collections.abc.Sequence[typing.SupportsFloat], “FixedSize(4)”] = [0.0, 0.0, 0.0, 0.0], negativeStyle: PyOpenColorIO.PyOpenColorIO.NegativeStyle = <NegativeStyle.NEGATIVE_LINEAR: 3>, direction: PyOpenColorIO.PyOpenColorIO.TransformDirection = <TransformDirection.TRANSFORM_DIR_FORWARD: 0>) -> None

equals(other: PyOpenColorIO.PyOpenColorIO.ExponentWithLinearTransform) → bool
getDirection() → PyOpenColorIO.PyOpenColorIO.TransformDirection
getFormatMetadata() → PyOpenColorIO.PyOpenColorIO.FormatMetadata
getGamma() → Annotated[list[float], 'FixedSize(4)']
getNegativeStyle() → PyOpenColorIO.PyOpenColorIO.NegativeStyle
getOffset() → Annotated[list[float], 'FixedSize(4)']
getTransformType() → PyOpenColorIO.PyOpenColorIO.TransformType
setDirection(direction: PyOpenColorIO.PyOpenColorIO.TransformDirection) → None
setGamma(values: Annotated[collections.abc.Sequence[SupportsFloat], 'FixedSize(4)']) → None
setNegativeStyle(style: PyOpenColorIO.PyOpenColorIO.NegativeStyle) → None
setOffset(values: Annotated[collections.abc.Sequence[SupportsFloat], 'FixedSize(4)']) → None
validate() → None

ExposureContrastTransform

class PyOpenColorIO.ExposureContrastTransform
ExposureContrastTransform(*args, **kwargs)

Overloaded function.

  1. __init__(self: PyOpenColorIO.PyOpenColorIO.ExposureContrastTransform) -> None

  2. __init__(self: PyOpenColorIO.PyOpenColorIO.ExposureContrastTransform, style: PyOpenColorIO.PyOpenColorIO.ExposureContrastStyle = <ExposureContrastStyle.EXPOSURE_CONTRAST_LINEAR: 0>, exposure: typing.SupportsFloat = 0.0, contrast: typing.SupportsFloat = 1.0, gamma: typing.SupportsFloat = 1.0, pivot: typing.SupportsFloat = 0.18, logExposureStep: typing.SupportsFloat = 0.088, logMidGray: typing.SupportsFloat = 0.435, dynamicExposure: bool = False, dynamicContrast: bool = False, dynamicGamma: bool = False, direction: PyOpenColorIO.PyOpenColorIO.TransformDirection = <TransformDirection.TRANSFORM_DIR_FORWARD: 0>) -> None

equals(other: PyOpenColorIO.PyOpenColorIO.ExposureContrastTransform) → bool
getContrast() → float
getDirection() → PyOpenColorIO.PyOpenColorIO.TransformDirection
getExposure() → float
getFormatMetadata() → PyOpenColorIO.PyOpenColorIO.FormatMetadata
getGamma() → float
getLogExposureStep() → float
getLogMidGray() → float
getPivot() → float
getStyle() → PyOpenColorIO.PyOpenColorIO.ExposureContrastStyle
getTransformType() → PyOpenColorIO.PyOpenColorIO.TransformType
isContrastDynamic() → bool
isExposureDynamic() → bool
isGammaDynamic() → bool
makeContrastDynamic() → None
makeContrastNonDynamic() → None
makeExposureDynamic() → None
makeExposureNonDynamic() → None
makeGammaDynamic() → None
makeGammaNonDynamic() → None
setContrast(contrast: SupportsFloat) → None
setDirection(direction: PyOpenColorIO.PyOpenColorIO.TransformDirection) → None
setExposure(exposure: SupportsFloat) → None
setGamma(gamma: SupportsFloat) → None
setLogExposureStep(logExposureStep: SupportsFloat) → None
setLogMidGray(logMidGray: SupportsFloat) → None
setPivot(pivot: SupportsFloat) → None
setStyle(style: PyOpenColorIO.PyOpenColorIO.ExposureContrastStyle) → None
validate() → None

FileTransform

class PyOpenColorIO.FileTransform
static IsFormatExtensionSupported(extension: str) → bool
FileTransform(*args, **kwargs)

Overloaded function.

  1. __init__(self: PyOpenColorIO.PyOpenColorIO.FileTransform) -> None

  2. __init__(self: PyOpenColorIO.PyOpenColorIO.FileTransform, src: str = ‘’, cccId: str = ‘’, interpolation: PyOpenColorIO.PyOpenColorIO.Interpolation = <Interpolation.INTERP_DEFAULT: 254>, direction: PyOpenColorIO.PyOpenColorIO.TransformDirection = <TransformDirection.TRANSFORM_DIR_FORWARD: 0>) -> None

getCCCId() → str
getCDLStyle() → PyOpenColorIO.PyOpenColorIO.CDLStyle
getDirection() → PyOpenColorIO.PyOpenColorIO.TransformDirection
static getFormats() → PyOpenColorIO.PyOpenColorIO.FileTransform.FormatIterator
getInterpolation() → PyOpenColorIO.PyOpenColorIO.Interpolation
getSrc() → str
getTransformType() → PyOpenColorIO.PyOpenColorIO.TransformType
setCCCId(cccId: str) → None
setCDLStyle(style: PyOpenColorIO.PyOpenColorIO.CDLStyle) → None
setDirection(direction: PyOpenColorIO.PyOpenColorIO.TransformDirection) → None
setInterpolation(interpolation: PyOpenColorIO.PyOpenColorIO.Interpolation) → None
setSrc(src: str) → None
validate() → None
class PyOpenColorIO.FileTransform.FormatIterator
self[arg0: SupportsInt] → tuple
iter(self) → PyOpenColorIO.PyOpenColorIO.FileTransform.FormatIterator
len(self) → int
next(self) → tuple

FixedFunctionTransform

class PyOpenColorIO.FixedFunctionTransform
FixedFunctionTransform(style: PyOpenColorIO.PyOpenColorIO.FixedFunctionStyle, params: collections.abc.Sequence[typing.SupportsFloat] = [], direction: PyOpenColorIO.PyOpenColorIO.TransformDirection = <TransformDirection.TRANSFORM_DIR_FORWARD: 0>) → None
equals(other: PyOpenColorIO.PyOpenColorIO.FixedFunctionTransform) → bool
getDirection() → PyOpenColorIO.PyOpenColorIO.TransformDirection
getFormatMetadata() → PyOpenColorIO.PyOpenColorIO.FormatMetadata
getParams() → list[float]
getStyle() → PyOpenColorIO.PyOpenColorIO.FixedFunctionStyle
getTransformType() → PyOpenColorIO.PyOpenColorIO.TransformType
setDirection(direction: PyOpenColorIO.PyOpenColorIO.TransformDirection) → None
setParams(params: collections.abc.Sequence[SupportsFloat]) → None
setStyle(style: PyOpenColorIO.PyOpenColorIO.FixedFunctionStyle) → None
validate() → None

GroupTransform

class PyOpenColorIO.GroupTransform
static GetWriteFormats() → PyOpenColorIO.PyOpenColorIO.GroupTransform.WriteFormatIterator
GroupTransform(*args, **kwargs)

Overloaded function.

  1. __init__(self: PyOpenColorIO.PyOpenColorIO.GroupTransform) -> None

  2. __init__(self: PyOpenColorIO.PyOpenColorIO.GroupTransform, transforms: collections.abc.Sequence[PyOpenColorIO.PyOpenColorIO.Transform] = [], direction: PyOpenColorIO.PyOpenColorIO.TransformDirection = <TransformDirection.TRANSFORM_DIR_FORWARD: 0>) -> None

appendTransform(transform: PyOpenColorIO.PyOpenColorIO.Transform) → None
getDirection() → PyOpenColorIO.PyOpenColorIO.TransformDirection
getFormatMetadata() → PyOpenColorIO.PyOpenColorIO.FormatMetadata
getTransformType() → PyOpenColorIO.PyOpenColorIO.TransformType
prependTransform(transform: PyOpenColorIO.PyOpenColorIO.Transform) → None
setDirection(direction: PyOpenColorIO.PyOpenColorIO.TransformDirection) → None
validate() → None
write(*args, **kwargs)

Overloaded function.

  1. write(self: PyOpenColorIO.PyOpenColorIO.GroupTransform, formatName: str, fileName: str, config: PyOpenColorIO.PyOpenColorIO.Config = None) -> None

  2. write(self: PyOpenColorIO.PyOpenColorIO.GroupTransform, formatName: str, config: PyOpenColorIO.PyOpenColorIO.Config = None) -> str

class PyOpenColorIO.GroupTransform.WriteFormatIterator
self[arg0: SupportsInt] → tuple
iter(self) → PyOpenColorIO.PyOpenColorIO.GroupTransform.WriteFormatIterator
len(self) → int
next(self) → tuple
class PyOpenColorIO.GroupTransform.TransformIterator
self[arg0: SupportsInt] → PyOpenColorIO.PyOpenColorIO.Transform
iter(self) → PyOpenColorIO.PyOpenColorIO.GroupTransform.TransformIterator
len(self) → int
next(self) → PyOpenColorIO.PyOpenColorIO.Transform

LogAffineTransform

class PyOpenColorIO.LogAffineTransform
LogAffineTransform(*args, **kwargs)

Overloaded function.

  1. __init__(self: PyOpenColorIO.PyOpenColorIO.LogAffineTransform) -> None

  2. __init__(self: PyOpenColorIO.PyOpenColorIO.LogAffineTransform, logSideSlope: typing.Annotated[collections.abc.Sequence[typing.SupportsFloat], “FixedSize(3)”] = [1.0, 1.0, 1.0], logSideOffset: typing.Annotated[collections.abc.Sequence[typing.SupportsFloat], “FixedSize(3)”] = [0.0, 0.0, 0.0], linSideSlope: typing.Annotated[collections.abc.Sequence[typing.SupportsFloat], “FixedSize(3)”] = [1.0, 1.0, 1.0], linSideOffset: typing.Annotated[collections.abc.Sequence[typing.SupportsFloat], “FixedSize(3)”] = [0.0, 0.0, 0.0], direction: PyOpenColorIO.PyOpenColorIO.TransformDirection = <TransformDirection.TRANSFORM_DIR_FORWARD: 0>) -> None

equals(other: PyOpenColorIO.PyOpenColorIO.LogAffineTransform) → bool
getBase() → float
getDirection() → PyOpenColorIO.PyOpenColorIO.TransformDirection
getFormatMetadata() → PyOpenColorIO.PyOpenColorIO.FormatMetadata
getLinSideOffsetValue() → Annotated[list[float], 'FixedSize(3)']
getLinSideSlopeValue() → Annotated[list[float], 'FixedSize(3)']
getLogSideOffsetValue() → Annotated[list[float], 'FixedSize(3)']
getLogSideSlopeValue() → Annotated[list[float], 'FixedSize(3)']
getTransformType() → PyOpenColorIO.PyOpenColorIO.TransformType
setBase(base: SupportsFloat) → None
setDirection(direction: PyOpenColorIO.PyOpenColorIO.TransformDirection) → None
setLinSideOffsetValue(values: Annotated[collections.abc.Sequence[SupportsFloat], 'FixedSize(3)']) → None
setLinSideSlopeValue(values: Annotated[collections.abc.Sequence[SupportsFloat], 'FixedSize(3)']) → None
setLogSideOffsetValue(values: Annotated[collections.abc.Sequence[SupportsFloat], 'FixedSize(3)']) → None
setLogSideSlopeValue(values: Annotated[collections.abc.Sequence[SupportsFloat], 'FixedSize(3)']) → None
validate() → None

LogCameraTransform

class PyOpenColorIO.LogCameraTransform
LogCameraTransform() → None
equals(other: PyOpenColorIO.PyOpenColorIO.LogCameraTransform) → bool
getBase() → float
getDirection() → PyOpenColorIO.PyOpenColorIO.TransformDirection
getFormatMetadata() → PyOpenColorIO.PyOpenColorIO.FormatMetadata
getLinSideBreakValue() → Annotated[list[float], 'FixedSize(3)']
getLinSideOffsetValue() → Annotated[list[float], 'FixedSize(3)']
getLinSideSlopeValue() → Annotated[list[float], 'FixedSize(3)']
getLinearSlopeValue() → Annotated[list[float], 'FixedSize(3)']

Return LinearSlope or 3 qnan values if not defined.

getLogSideOffsetValue() → Annotated[list[float], 'FixedSize(3)']
getLogSideSlopeValue() → Annotated[list[float], 'FixedSize(3)']
getTransformType() → PyOpenColorIO.PyOpenColorIO.TransformType
isLinearSlopeValueSet() → bool
setBase(base: SupportsFloat) → None
setDirection(direction: PyOpenColorIO.PyOpenColorIO.TransformDirection) → None
setLinSideBreakValue(values: Annotated[collections.abc.Sequence[SupportsFloat], 'FixedSize(3)']) → None
setLinSideOffsetValue(values: Annotated[collections.abc.Sequence[SupportsFloat], 'FixedSize(3)']) → None
setLinSideSlopeValue(values: Annotated[collections.abc.Sequence[SupportsFloat], 'FixedSize(3)']) → None
setLinearSlopeValue(values: Annotated[collections.abc.Sequence[SupportsFloat], 'FixedSize(3)']) → None
setLogSideOffsetValue(values: Annotated[collections.abc.Sequence[SupportsFloat], 'FixedSize(3)']) → None
setLogSideSlopeValue(values: Annotated[collections.abc.Sequence[SupportsFloat], 'FixedSize(3)']) → None
unsetLinearSlopeValue() → None
validate() → None

LogTransform

class PyOpenColorIO.LogTransform
LogTransform(*args, **kwargs)

Overloaded function.

  1. __init__(self: PyOpenColorIO.PyOpenColorIO.LogTransform) -> None

  2. __init__(self: PyOpenColorIO.PyOpenColorIO.LogTransform, base: typing.SupportsFloat = 2.0, direction: PyOpenColorIO.PyOpenColorIO.TransformDirection = <TransformDirection.TRANSFORM_DIR_FORWARD: 0>) -> None

equals(other: PyOpenColorIO.PyOpenColorIO.LogTransform) → bool
getBase() → float
getDirection() → PyOpenColorIO.PyOpenColorIO.TransformDirection
getFormatMetadata() → PyOpenColorIO.PyOpenColorIO.FormatMetadata
getTransformType() → PyOpenColorIO.PyOpenColorIO.TransformType
setBase(base: SupportsFloat) → None
setDirection(direction: PyOpenColorIO.PyOpenColorIO.TransformDirection) → None
validate() → None

LookTransform

class PyOpenColorIO.LookTransform
LookTransform(*args, **kwargs)

Overloaded function.

  1. __init__(self: PyOpenColorIO.PyOpenColorIO.LookTransform) -> None

  2. __init__(self: PyOpenColorIO.PyOpenColorIO.LookTransform, src: str, dst: str, looks: str = ‘’, skipColorSpaceConversion: bool = False, direction: PyOpenColorIO.PyOpenColorIO.TransformDirection = <TransformDirection.TRANSFORM_DIR_FORWARD: 0>) -> None

getDirection() → PyOpenColorIO.PyOpenColorIO.TransformDirection
getDst() → str
getLooks() → str
getSkipColorSpaceConversion() → bool
getSrc() → str
getTransformType() → PyOpenColorIO.PyOpenColorIO.TransformType
setDirection(direction: PyOpenColorIO.PyOpenColorIO.TransformDirection) → None
setDst(dst: str) → None
setLooks(looks: str) → None
setSkipColorSpaceConversion(skipColorSpaceConversion: bool) → None
setSrc(src: str) → None
validate() → None

Lut1DTransform

class PyOpenColorIO.Lut1DTransform
Lut1DTransform(*args, **kwargs)

Overloaded function.

  1. __init__(self: PyOpenColorIO.PyOpenColorIO.Lut1DTransform) -> None

  2. __init__(self: PyOpenColorIO.PyOpenColorIO.Lut1DTransform, length: typing.SupportsInt, inputHalfDomain: bool) -> None

  3. __init__(self: PyOpenColorIO.PyOpenColorIO.Lut1DTransform, length: typing.SupportsInt = 2, inputHalfDomain: bool = False, outputRawHalfs: bool = False, fileOutputBitDepth: PyOpenColorIO.PyOpenColorIO.BitDepth = <BitDepth.BIT_DEPTH_UNKNOWN: 0>, hueAdjust: PyOpenColorIO.PyOpenColorIO.Lut1DHueAdjust = <Lut1DHueAdjust.HUE_NONE: 0>, interpolation: PyOpenColorIO.PyOpenColorIO.Interpolation = <Interpolation.INTERP_DEFAULT: 254>, direction: PyOpenColorIO.PyOpenColorIO.TransformDirection = <TransformDirection.TRANSFORM_DIR_FORWARD: 0>) -> None

equals(other: PyOpenColorIO.PyOpenColorIO.Lut1DTransform) → bool
getData() → numpy.ndarray
getDirection() → PyOpenColorIO.PyOpenColorIO.TransformDirection
getFileOutputBitDepth() → PyOpenColorIO.PyOpenColorIO.BitDepth
getFormatMetadata() → PyOpenColorIO.PyOpenColorIO.FormatMetadata
getHueAdjust() → PyOpenColorIO.PyOpenColorIO.Lut1DHueAdjust
getInputHalfDomain() → bool
getInterpolation() → PyOpenColorIO.PyOpenColorIO.Interpolation
getLength() → int
getOutputRawHalfs() → bool
getTransformType() → PyOpenColorIO.PyOpenColorIO.TransformType
getValue(index: SupportsInt) → tuple
setData(data: collections.abc.Buffer) → None
setDirection(direction: PyOpenColorIO.PyOpenColorIO.TransformDirection) → None
setFileOutputBitDepth(bitDepth: PyOpenColorIO.PyOpenColorIO.BitDepth) → None
setHueAdjust(hueAdjust: PyOpenColorIO.PyOpenColorIO.Lut1DHueAdjust) → None
setInputHalfDomain(isHalfDomain: bool) → None
setInterpolation(interpolation: PyOpenColorIO.PyOpenColorIO.Interpolation) → None
setLength(length: SupportsInt) → None
setOutputRawHalfs(isRawHalfs: bool) → None
setValue(index: SupportsInt, r: SupportsFloat, g: SupportsFloat, b: SupportsFloat) → None
validate() → None

Lut3DTransform

class PyOpenColorIO.Lut3DTransform
Lut3DTransform(*args, **kwargs)

Overloaded function.

  1. __init__(self: PyOpenColorIO.PyOpenColorIO.Lut3DTransform) -> None

  2. __init__(self: PyOpenColorIO.PyOpenColorIO.Lut3DTransform, gridSize: typing.SupportsInt) -> None

  3. __init__(self: PyOpenColorIO.PyOpenColorIO.Lut3DTransform, gridSize: typing.SupportsInt = 2, fileOutputBitDepth: PyOpenColorIO.PyOpenColorIO.BitDepth = <BitDepth.BIT_DEPTH_UNKNOWN: 0>, interpolation: PyOpenColorIO.PyOpenColorIO.Interpolation = <Interpolation.INTERP_DEFAULT: 254>, direction: PyOpenColorIO.PyOpenColorIO.TransformDirection = <TransformDirection.TRANSFORM_DIR_FORWARD: 0>) -> None

equals(other: PyOpenColorIO.PyOpenColorIO.Lut3DTransform) → bool
getData() → numpy.ndarray
getDirection() → PyOpenColorIO.PyOpenColorIO.TransformDirection
getFileOutputBitDepth() → PyOpenColorIO.PyOpenColorIO.BitDepth
getFormatMetadata() → PyOpenColorIO.PyOpenColorIO.FormatMetadata
getGridSize() → int
getInterpolation() → PyOpenColorIO.PyOpenColorIO.Interpolation
getTransformType() → PyOpenColorIO.PyOpenColorIO.TransformType
getValue(indexR: SupportsInt, indexG: SupportsInt, indexB: SupportsInt) → tuple
setData(data: collections.abc.Buffer) → None
setDirection(direction: PyOpenColorIO.PyOpenColorIO.TransformDirection) → None
setFileOutputBitDepth(bitDepth: PyOpenColorIO.PyOpenColorIO.BitDepth) → None
setGridSize(gridSize: SupportsInt) → None
setInterpolation(interpolation: PyOpenColorIO.PyOpenColorIO.Interpolation) → None
setValue(indexR: SupportsInt, indexG: SupportsInt, indexB: SupportsInt, r: SupportsFloat, g: SupportsFloat, b: SupportsFloat) → None
validate() → None

MatrixTransform

class PyOpenColorIO.MatrixTransform
static Fit(oldMin: Annotated[collections.abc.Sequence[SupportsFloat], 'FixedSize(4)'] = [0.0, 0.0, 0.0, 0.0], oldMax: Annotated[collections.abc.Sequence[SupportsFloat], 'FixedSize(4)'] = [1.0, 1.0, 1.0, 1.0], newMin: Annotated[collections.abc.Sequence[SupportsFloat], 'FixedSize(4)'] = [0.0, 0.0, 0.0, 0.0], newMax: Annotated[collections.abc.Sequence[SupportsFloat], 'FixedSize(4)'] = [1.0, 1.0, 1.0, 1.0]) → PyOpenColorIO.PyOpenColorIO.MatrixTransform
static Identity() → PyOpenColorIO.PyOpenColorIO.MatrixTransform
static Sat(sat: SupportsFloat, lumaCoef: Annotated[collections.abc.Sequence[SupportsFloat], 'FixedSize(3)']) → PyOpenColorIO.PyOpenColorIO.MatrixTransform
static Scale(scale: Annotated[collections.abc.Sequence[SupportsFloat], 'FixedSize(4)']) → PyOpenColorIO.PyOpenColorIO.MatrixTransform
static View(channelHot: Annotated[collections.abc.Sequence[SupportsInt], 'FixedSize(4)'], lumaCoef: Annotated[collections.abc.Sequence[SupportsFloat], 'FixedSize(3)']) → PyOpenColorIO.PyOpenColorIO.MatrixTransform
MatrixTransform(*args, **kwargs)

Overloaded function.

  1. __init__(self: PyOpenColorIO.PyOpenColorIO.MatrixTransform) -> None

  2. __init__(self: PyOpenColorIO.PyOpenColorIO.MatrixTransform, matrix: typing.Annotated[collections.abc.Sequence[typing.SupportsFloat], “FixedSize(16)”] = [1.0, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 0.0, 1.0], offset: typing.Annotated[collections.abc.Sequence[typing.SupportsFloat], “FixedSize(4)”] = [0.0, 0.0, 0.0, 0.0], direction: PyOpenColorIO.PyOpenColorIO.TransformDirection = <TransformDirection.TRANSFORM_DIR_FORWARD: 0>) -> None

equals(other: PyOpenColorIO.PyOpenColorIO.MatrixTransform) → bool
getDirection() → PyOpenColorIO.PyOpenColorIO.TransformDirection
getFileInputBitDepth() → PyOpenColorIO.PyOpenColorIO.BitDepth
getFileOutputBitDepth() → PyOpenColorIO.PyOpenColorIO.BitDepth
getFormatMetadata() → PyOpenColorIO.PyOpenColorIO.FormatMetadata
getMatrix() → Annotated[list[float], 'FixedSize(16)']
getOffset() → Annotated[list[float], 'FixedSize(4)']
getTransformType() → PyOpenColorIO.PyOpenColorIO.TransformType
setDirection(direction: PyOpenColorIO.PyOpenColorIO.TransformDirection) → None
setFileInputBitDepth(bitDepth: PyOpenColorIO.PyOpenColorIO.BitDepth) → None
setFileOutputBitDepth(bitDepth: PyOpenColorIO.PyOpenColorIO.BitDepth) → None
setMatrix(matrix: Annotated[collections.abc.Sequence[SupportsFloat], 'FixedSize(16)']) → None
setOffset(offset: Annotated[collections.abc.Sequence[SupportsFloat], 'FixedSize(4)']) → None
validate() → None

RangeTransform

class PyOpenColorIO.RangeTransform
RangeTransform(*args, **kwargs)

Overloaded function.

  1. __init__(self: PyOpenColorIO.PyOpenColorIO.RangeTransform) -> None

  2. __init__(self: PyOpenColorIO.PyOpenColorIO.RangeTransform, minInValue: typing.SupportsFloat = nan, maxInValue: typing.SupportsFloat = nan, minOutValue: typing.SupportsFloat = nan, maxOutValue: typing.SupportsFloat = nan, direction: PyOpenColorIO.PyOpenColorIO.TransformDirection = <TransformDirection.TRANSFORM_DIR_FORWARD: 0>) -> None

equals(other: PyOpenColorIO.PyOpenColorIO.RangeTransform) → bool
getDirection() → PyOpenColorIO.PyOpenColorIO.TransformDirection
getFileInputBitDepth() → PyOpenColorIO.PyOpenColorIO.BitDepth
getFileOutputBitDepth() → PyOpenColorIO.PyOpenColorIO.BitDepth
getFormatMetadata() → PyOpenColorIO.PyOpenColorIO.FormatMetadata
getMaxInValue() → float
getMaxOutValue() → float
getMinInValue() → float
getMinOutValue() → float
getStyle() → PyOpenColorIO.PyOpenColorIO.RangeStyle
getTransformType() → PyOpenColorIO.PyOpenColorIO.TransformType
hasMaxInValue() → bool
hasMaxOutValue() → bool
hasMinInValue() → bool
hasMinOutValue() → bool
setDirection(direction: PyOpenColorIO.PyOpenColorIO.TransformDirection) → None
setFileInputBitDepth(bitDepth: PyOpenColorIO.PyOpenColorIO.BitDepth) → None
setFileOutputBitDepth(bitDepth: PyOpenColorIO.PyOpenColorIO.BitDepth) → None
setMaxInValue(value: SupportsFloat) → None
setMaxOutValue(value: SupportsFloat) → None
setMinInValue(value: SupportsFloat) → None
setMinOutValue(value: SupportsFloat) → None
setStyle(style: PyOpenColorIO.PyOpenColorIO.RangeStyle) → None
unsetMaxInValue() → None
unsetMaxOutValue() → None
unsetMinInValue() → None
unsetMinOutValue() → None
validate() → None