On this page←API Reference Return to API Reference index←packagecom.nianticspatial.nsdk.utils com.nianticspatial.nsdk.utils←objectImageMath com.nianticspatial.nsdk.utils.ImageMath Function affineScaling affineScalingReturns an (u, v) -> (u', v') transformation that represents a 2D affine scaling. Declaration fun affineScaling(sx: Float, sy: Float): Matrix Summary Returns an (u, v) -> (u', v') transformation that represents a 2D affine scaling. Returns An affine [Matrix] that scales coordinates by (sx, sy).
Returns an (u, v) -> (u', v') transformation that represents a 2D affine scaling.