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

Interface ImageDistort<Input extends ImageBase,Output extends ImageBase>

    • Method Summary

      All Methods Instance Methods Abstract 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.
    • Method Detail

      • setModel

        void setModel(PixelTransform_F32 dstToSrc)
        Specifies how pixel coordinates are transformed from the destination to source images.
        Parameters:
        dstToSrc - Pixel coordinate transformation.
      • apply

        void apply(Input srcImg,
                   Output dstImg)
        Applies the transform to the entire destination image.
        Parameters:
        srcImg - Input image. Not modified.
        dstImg - Output image. Modified.
      • apply

        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.
        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

        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.
        Parameters:
        renderAll - true to render all pixels or false only ones inside the source image
      • getRenderAll

        boolean getRenderAll()
        Returns the render all flag
        Returns:
        render all flag

DataMelt 3.0 © DataMelt by jWork.ORG

Ads help maintain this website.