Basics

Guides

API Reference

Menu

Basics

Guides

API Reference

class: ImageDistort

[54:7] extends: object

ImageDistort wraps boofcv.alg.distort.ImageDistort.

Members

  • obj

Methods

  • ImageDistort (object Obj)

    Wraps a BoofCV ImageDistort object.

    • @p Obj is an existing ImageDistort Java object or wrapper.
  • apply (object Input, object Output)

    Applies distortion to an image.

    • @p Input is the source image.
    • @p Output is the output image.
  • setModel (object PointTransform)

    Sets the pixel transform model.

    • @p PointTransform is a BoofCV PixelTransform object or wrapper.
  • getModel ()

    Gets the pixel transform model.

    • @r A PixelTransform Java object.
  • setRenderAll (bool Render)

    Sets whether all output pixels are rendered.

    • @p Render is true to render all output pixels.
  • getRenderAll ()

    Gets whether all output pixels are rendered.

    • @r True when all output pixels are rendered.

class: FactoryDistort

[6:14] static extends: object

Static wrappers for boofcv.factory.distort.FactoryDistort.

Methods

  • distort (bool Cached, string InterpolationTypeName, string BorderTypeName, object InputType, object OutputType)

    Creates an image distorter from interpolation type and image types.

    • @p Cached is true to cache model lookups.
    • @p InterpolationTypeName is NEAREST_NEIGHBOR, BILINEAR, BICUBIC, or POLYNOMIAL4.
    • @p BorderTypeName is SKIP, EXTENDED, NORMALIZED, REFLECT, WRAP, or ZERO.
    • @p InputType is an ImageType wrapper or Java object.
    • @p OutputType is an ImageType wrapper or Java object.
    • @r An ImageDistort wrapper.
  • distortSB (bool Cached, object Interpolator, string OutputClassName)

    Creates a single-band distorter from an interpolator.

    • @p Cached is true to cache model lookups.
    • @p Interpolator is an InterpolatePixelS wrapper or Java object.
    • @p OutputClassName is a full gray image class name or supported short image name.
    • @r An ImageDistort wrapper.
  • distortPL (bool Cached, object Interpolator, string OutputClassName)

    Creates a planar distorter from a single-band interpolator.

    • @p Cached is true to cache model lookups.
    • @p Interpolator is an InterpolatePixelS wrapper or Java object.
    • @p OutputClassName is a full gray image class name or supported short image name.
    • @r An ImageDistort wrapper.