Aug Pixellate Exp#

This node pixellates an image by downsizing and then upsizing by some kernelSize amount.

Installation#

To use this node enable omni.replicator.core in the Extension Manager.

Inputs#

Name

Type

Descripton

Default

Buffer Size (inputs:bufferSize)

uint

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

0

Cuda Device Index (inputs:cudaDeviceIndex)

int

Index of the device where the data lives (-1 for host data)

-1

Data (inputs:data)

uchar[]

Buffer array data

[]

Data Ptr (inputs:dataPtr)

uint64

Pointer to the raw data (cuda device pointer or host pointer)

0

Exec (inputs:exec)

execution

Trigger

None

Format (inputs:format)

uint64

Format

0

Height (inputs:height)

uint

Height

0

Kernel Size (inputs:kernelSize)

int

size of pixellation kernel

8

Strides (inputs:strides)

int[2]

Strides (in bytes) ([0,0] if the input is a buffer)

[0, 0]

Width (inputs:width)

uint

Width

0

Xform (inputs:xform)

matrixd[3]

Input augmentation transform

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

Outputs#

Name

Type

Descripton

Default

Buffer Size (outputs:bufferSize)

uint

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

None

Cuda Device Index (outputs:cudaDeviceIndex)

int

Index of the device where the data lives (-1 for host data)

-1

Data Ptr (outputs:dataPtr)

uint64

Pointer to the raw data (cuda device pointer or host pointer)

0

Exec (outputs:exec)

execution

Trigger

None

Format (outputs:format)

uint64

Format

None

Height (outputs:height)

uint

Shape of the data

None

Strides (outputs:strides)

int[2]

Strides (in bytes) ([0,0] if the input is a buffer)

None

Width (outputs:width)

uint

Shape of the data

None

Xform (outputs:xform)

matrixd[3]

Output augmentation transform

None

Metadata#

Name

Value

Unique ID

omni.replicator.core.AugPixellateExp

Version

1

Extension

omni.replicator.core

Has State?

True

Implementation Language

Python

Default Memory Type

cpu

Generated Code Exclusions

None

Categories

Replicator:Augmentations

__categoryDescriptions

Replicator:Augmentations,Replicator augmentation

Generated Class Name

OgnAugPixellateExpDatabase

Python Module

omni.replicator.core