Basics

Guides

API Reference

Menu

Basics

Guides

API Reference

class: ConvertImage

[88:14] static extends: object

Static wrappers for boofcv.core.image.ConvertImage.

Methods

  • convert (object Input, object Output)

    Converts between BoofCV image types using BoofCV's overloaded convert methods.

    • @p Input is the source BoofCV image wrapper or compatible Java object.
    • @p Output is the destination BoofCV image wrapper or compatible Java object.
    • @r The converted image object returned by BoofCV.
  • convertToU8 (object Input, double MinValue, double MaxValue, int NumBits, object Output)

    Converts an integer or floating point gray image into GrayU8 with scaling.

    • @p Input is the source BoofCV gray image wrapper or compatible Java object.
    • @p MinValue is the input value mapped to zero.
    • @p MaxValue is the input value mapped to the maximum output value.
    • @p NumBits is the number of output bits, usually 8 for GrayU8.
    • @p Output is the destination GrayU8 wrapper or compatible Java object.
    • @r The converted GrayU8 object returned by BoofCV.
  • average (object Input, object Output)

    Averages a multi-band BoofCV image into a gray image.

    • @p Input is a Planar or interleaved BoofCV image wrapper or compatible Java object.
    • @p Output is a gray BoofCV image wrapper or compatible Java object.
    • @r The gray image object returned by BoofCV.
  • convertU8F32 (object Input, object Output)

    Converts U8 multi-band data into F32 multi-band data.

    • @p Input is an InterleavedU8 or Planar GrayU8 wrapper or compatible Java object.
    • @p Output is a Planar GrayF32 or InterleavedF32 wrapper or compatible Java object.
    • @r The converted image object returned by BoofCV.
  • convertF32U8 (object Input, object Output)

    Converts F32 multi-band data into U8 multi-band data.

    • @p Input is an InterleavedF32 or Planar GrayF32 wrapper or compatible Java object.
    • @p Output is a Planar GrayU8 or InterleavedU8 wrapper or compatible Java object.
    • @r The converted image object returned by BoofCV.

class: ConvertBufferedImage

[6:14] static extends: object

Static wrappers for boofcv.io.image.ConvertBufferedImage.

Methods

  • convertFrom (object BufferedImage, string TargetClassName)

    Converts a Java BufferedImage into a new BoofCV image.

    • @p BufferedImage is a java.awt.image.BufferedImage object.
    • @p TargetClassName is a full image class name or one of u8, grayu8, s8, grays8, u16, grayu16, s16, grays16, s32, grays32, s64, grays64, f32, grayf32, f64, grayf64, interleaved_u8, interleavedu8, interleaved_f32, or interleavedf32.
    • @r The matching Aussom image wrapper.
  • convertFromInto (object BufferedImage, object TargetImage)

    Converts a Java BufferedImage into an existing BoofCV image.

    • @p BufferedImage is a java.awt.image.BufferedImage object.
    • @p TargetImage is a BoofCV image wrapper or compatible Java object.
    • @r TargetImage.
  • convertFromPlanar (object BufferedImage, PlanarImage = null, bool OrderRgb = true, string BandClassName = "u8")

    Converts a Java BufferedImage into a planar BoofCV image.

    • @p BufferedImage is a java.awt.image.BufferedImage object.
    • @p PlanarImage is a Planar wrapper or null-compatible Java object.
    • @p OrderRgb is true to store bands in RGB order, false for BoofCV's native order.
    • @p BandClassName is a full gray image class name or one of u8, grayu8, f32, or grayf32.
    • @r A Planar wrapper.
  • convertFromInterleaved (object BufferedImage, object InterleavedImage, bool OrderRgb)

    Converts a Java BufferedImage into an existing interleaved BoofCV image.

    • @p BufferedImage is a java.awt.image.BufferedImage object.
    • @p InterleavedImage is an InterleavedU8, InterleavedF32, or compatible Java object.
    • @p OrderRgb is true to store bands in RGB order, false for BoofCV's native order.
    • @r InterleavedImage.
  • convertTo (object Image, BufferedImage = null, bool OrderRgb = true)

    Converts a BoofCV image into a Java BufferedImage.

    • @p Image is a BoofCV image wrapper or compatible Java object.
    • @p BufferedImage is an existing java.awt.image.BufferedImage or null to allocate one.
    • @p OrderRgb is true to interpret bands in RGB order, false for BoofCV's native order.
    • @r An AussomJavaObject wrapping java.awt.image.BufferedImage.
  • extractBuffered (object Image)

    Extracts a Java BufferedImage view from supported BoofCV image types.

    • @p Image is a GrayU8 or InterleavedU8 image wrapper or compatible Java object.
    • @r An AussomJavaObject wrapping java.awt.image.BufferedImage.
  • orderBandsIntoRGB (object Image, object BufferedImage)

    Reorders planar image bands into a BufferedImage's RGB channel order.

    • @p Image is a Planar image wrapper or compatible Java object.
    • @p BufferedImage is a java.awt.image.BufferedImage object.
    • @r A Planar wrapper around the reordered image.