pub struct CoordinateTransform {
    pub output_size: Dims,
    /* private fields */
}
Expand description

A buffer of transforms that were used to generate an image from a set of examples, which can be applied to a different set of input images to get a different output image.

Fields

output_size: Dims

Implementations

Applies the coordinate transformation from new source images. This method will fail if the the provided source images aren’t the same number of example images that generated the transform.

The input images are automatically resized to the dimensions of the original example images used in the generation of this coordinate transform

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.