Documentation of 'boofcv.alg.distort.impl.DistortSupport' Java class
DistortSupport
boofcv.alg.distort.impl

Class DistortSupport



  • public class DistortSupport
    extends java.lang.Object
    Provides low level functions that DistortImageOps can call.
    • Constructor Detail

      • DistortSupport

        public DistortSupport()
    • Method Detail

      • transformRotate

        public static PixelTransformAffine_F32 transformRotate(float x0,
                                                               float y0,
                                                               float x1,
                                                               float y1,
                                                               float angle)
        Creates a PixelTransformAffine_F32 from the dst image into the src image.
        Parameters:
        x0 - Center of rotation in input image coordinates.
        y0 - Center of rotation in input image coordinates.
        x1 - Center of rotation in output image coordinates.
        y1 - Center of rotation in output image coordinates.
        angle - Angle of rotation.
      • createDistortPL

        public static <Input extends ImageGray,Output extends ImageGrayImageDistort<Planar<Input>,Planar<Output>> createDistortPL(java.lang.Class<Output> outputType,
                                                                                                                                    PixelTransform_F32 dstToSrc,
                                                                                                                                    InterpolatePixelS<Input> interp,
                                                                                                                                    boolean cached)
        Creates a ImageDistort for the planar images of the specified image type, transformation and interpolation instance.
        Parameters:
        dstToSrc - Transform from dst to src image.
        interp - Which interpolation algorithm should be used.

DataMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.