AugCropResizeExp

This node crops and resizes an image.

Installation

To use this Node, you must enable omni.replicator.core in the Extension Manager.

Inputs

Name

Type

Description

Default

exec

execution

Trigger

data

uchar[]

Buffer array data

[]

minPercent

float

Value between 0 and 1 to control the smallest crop sampled from a uniform distribution

0.5

swhFrameNumber

uint64

Frame number

bufferSize

uint

Size (in bytes) of the buffer (0 if the input is a texture)

xform

matrixd[3]

Input augmentation transform

[[1.0, 0.0, 0.0], [0.0, 1.0, 0.0], [0.0, 0.0, 1.0]]

width

uint

Width

height

uint

Height

Outputs

Name

Type

Description

Default

exec

execution

Trigger

data

uchar[]

Buffer array data

[]

swhFrameNumber

uint64

Frame number

bufferSize

uint

Size (in bytes) of the buffer (0 if the input is a texture)

xform

matrixd[3]

Output augmentation transform

height

uint

Shape of the data

width

uint

Shape of the data