Constructor
new PerspectiveTransformAugmenter(sigma)
Parameters:
Name | Type | Description | ||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
sigma |
Object | options Properties
|
- Source:
Examples
// Simple usage, perspective transform on a sigma=10% random perspective tarnsform
ia.perspectiveTransform(0.1);
// Now replicate the borders
ia.perspectiveTransform({
sigma: 0.1,
borderType: "replicate"
});