Documentation of 'boofcv.alg.distort.ImageDistortBasic' Java class
ImageDistortBasic
boofcv.alg.distort

Class ImageDistortBasic<Input extends ImageBase,Output extends ImageBase,Interpolate extends InterpolatePixel<Input>>

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      void apply(Input srcImg, Output dstImg)
      Applies the transform to the entire destination image.
      void apply(Input srcImg, Output dstImg, int dstX0, int dstY0, int dstX1, int dstY1)
      Applies the transform to only the specified region inside the destination image.
      boolean getRenderAll()
      Returns the render all flag
      void setModel(PixelTransform_F32 dstToSrc)
      Specifies how pixel coordinates are transformed from the destination to source images.
      void setRenderAll(boolean renderAll)
      Specifies if the entire output image should be rendered, even if mapping to the source image is outside the source image.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ImageDistortBasic

        public ImageDistortBasic(Interpolate interp)
        Specifies configuration parameters
        Parameters:
        interp - Interpolation algorithm
    • Method Detail

      • apply

        public void apply(Input srcImg,
                          Output dstImg,
                          int dstX0,
                          int dstY0,
                          int dstX1,
                          int dstY1)
        Description copied from interface: ImageDistort
        Applies the transform to only the specified region inside the destination image.
        Specified by:
        apply in interface ImageDistort<Input extends ImageBase,Output extends ImageBase>
        Parameters:
        srcImg - Input image. Not modified.
        dstImg - Output image. Modified.
        dstX0 - Left most crop boundary. Inclusive.
        dstY0 - Top most crop boundary. Inclusive.
        dstX1 - Right most crop boundary. Exclusive.
        dstY1 - Bottom most crop boundary. Exclusive.
      • setRenderAll

        public void setRenderAll(boolean renderAll)
        Description copied from interface: ImageDistort
        Specifies if the entire output image should be rendered, even if mapping to the source image is outside the source image.
        Specified by:
        setRenderAll in interface ImageDistort<Input extends ImageBase,Output extends ImageBase>
        Parameters:
        renderAll - true to render all pixels or false only ones inside the source image

DataMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.