public class ConvertRaster
extends java.lang.Object
BufferedImage that use its internal
raster for better performance.| Constructor and Description |
|---|
ConvertRaster() |
| Modifier and Type | Method and Description |
|---|---|
static void |
bufferedToGray(java.awt.image.BufferedImage src,
float[] data,
int dstStartIndex,
int dstStride) |
static void |
bufferedToGray(java.awt.image.BufferedImage src,
boofcv.struct.image.GrayF32 dst)
Converts a buffered image into an 8bit intensity image using the
BufferedImage's RGB interface.
|
static void |
bufferedToGray(java.awt.image.BufferedImage src,
boofcv.struct.image.GrayI16 dst)
Converts a buffered image into an 16bit intensity image using the
BufferedImage's RGB interface.
|
static void |
bufferedToGray(java.awt.image.BufferedImage src,
boofcv.struct.image.GrayU8 dst)
Converts a buffered image into an 8bit intensity image using the
BufferedImage's RGB interface.
|
static void |
bufferedToGray(java.awt.image.BufferedImage src,
boofcv.struct.image.InterleavedF32 dst) |
static void |
bufferedToGray(java.awt.image.BufferedImage src,
boofcv.struct.image.InterleavedU8 dst) |
static void |
bufferedToGray(sun.awt.image.ByteInterleavedRaster src,
boofcv.struct.image.GrayF32 dst)
A faster convert that works directly with a specific raster
|
static void |
bufferedToGray(sun.awt.image.ByteInterleavedRaster src,
boofcv.struct.image.GrayU8 dst)
A faster convert that works directly with a specific raster
|
static void |
bufferedToGray(sun.awt.image.IntegerInterleavedRaster src,
boofcv.struct.image.GrayF32 dst)
A faster convert that works directly with a specific raster
|
static void |
bufferedToGray(sun.awt.image.IntegerInterleavedRaster src,
boofcv.struct.image.GrayU8 dst)
A faster convert that works directly with a specific raster
|
static void |
bufferedToGray(sun.awt.image.ShortInterleavedRaster src,
boofcv.struct.image.GrayI16 dst)
A faster convert that works directly with a specific raster
|
static void |
bufferedToGray(sun.awt.image.SunWritableRaster src,
boofcv.struct.image.GrayF32 dst)
A faster convert that works directly with a specific raster
|
static void |
bufferedToGray(sun.awt.image.SunWritableRaster src,
boofcv.struct.image.GrayU8 dst)
A faster convert that works directly with a specific raster
|
static void |
bufferedToInterleaved(java.awt.image.BufferedImage src,
boofcv.struct.image.InterleavedF32 dst) |
static void |
bufferedToInterleaved(java.awt.image.BufferedImage src,
boofcv.struct.image.InterleavedU8 dst)
Converts a buffered image into an planar image using the BufferedImage's RGB interface.
|
static void |
bufferedToInterleaved(sun.awt.image.ByteInterleavedRaster src,
boofcv.struct.image.InterleavedF32 dst)
A faster convert that works directly with a specific raster
|
static void |
bufferedToInterleaved(sun.awt.image.ByteInterleavedRaster src,
boofcv.struct.image.InterleavedU8 dst) |
static void |
bufferedToInterleaved(sun.awt.image.IntegerInterleavedRaster src,
boofcv.struct.image.InterleavedF32 dst) |
static void |
bufferedToInterleaved(sun.awt.image.IntegerInterleavedRaster src,
boofcv.struct.image.InterleavedU8 dst)
A faster convert that works directly with a specific raster
|
static void |
bufferedToInterleaved(sun.awt.image.SunWritableRaster src,
boofcv.struct.image.InterleavedF32 dst)
A faster convert that works directly with a specific raster
|
static void |
bufferedToInterleaved(sun.awt.image.SunWritableRaster src,
boofcv.struct.image.InterleavedU8 dst)
A faster convert that works directly with a specific raster
|
static void |
bufferedToMulti_F32(java.awt.image.BufferedImage src,
boofcv.struct.image.Planar<boofcv.struct.image.GrayF32> dst)
Converts a buffered image into an planar image using the BufferedImage's RGB interface.
|
static void |
bufferedToMulti_F32(sun.awt.image.ByteInterleavedRaster src,
boofcv.struct.image.Planar<boofcv.struct.image.GrayF32> dst)
A faster convert that works directly with a specific raster
|
static void |
bufferedToMulti_F32(sun.awt.image.IntegerInterleavedRaster src,
boofcv.struct.image.Planar<boofcv.struct.image.GrayF32> dst)
A faster convert that works directly with a specific raster
|
static void |
bufferedToMulti_F32(sun.awt.image.SunWritableRaster src,
boofcv.struct.image.Planar<boofcv.struct.image.GrayF32> dst)
A faster convert that works directly with a specific raster
|
static void |
bufferedToMulti_U8(java.awt.image.BufferedImage src,
boofcv.struct.image.Planar<boofcv.struct.image.GrayU8> dst)
Converts a buffered image into an planar image using the BufferedImage's RGB interface.
|
static void |
bufferedToMulti_U8(sun.awt.image.ByteInterleavedRaster src,
boofcv.struct.image.Planar<boofcv.struct.image.GrayU8> dst)
A faster convert that works directly with a specific raster
|
static void |
bufferedToMulti_U8(sun.awt.image.IntegerInterleavedRaster src,
boofcv.struct.image.Planar<boofcv.struct.image.GrayU8> dst)
A faster convert that works directly with a specific raster
|
static void |
bufferedToMulti_U8(sun.awt.image.SunWritableRaster src,
boofcv.struct.image.Planar<boofcv.struct.image.GrayU8> dst)
A faster convert that works directly with a specific raster
|
static void |
grayToBuffered(boofcv.struct.image.GrayF32 src,
java.awt.image.BufferedImage dst) |
static void |
grayToBuffered(boofcv.struct.image.GrayF32 src,
sun.awt.image.ByteInterleavedRaster dst) |
static void |
grayToBuffered(boofcv.struct.image.GrayF32 src,
sun.awt.image.IntegerInterleavedRaster dst) |
static void |
grayToBuffered(boofcv.struct.image.GrayI16 src,
java.awt.image.BufferedImage dst) |
static void |
grayToBuffered(boofcv.struct.image.GrayI16 src,
sun.awt.image.ByteInterleavedRaster dst) |
static void |
grayToBuffered(boofcv.struct.image.GrayI16 src,
sun.awt.image.IntegerInterleavedRaster dst) |
static void |
grayToBuffered(boofcv.struct.image.GrayI16 src,
sun.awt.image.ShortInterleavedRaster dst) |
static void |
grayToBuffered(boofcv.struct.image.GrayU8 src,
java.awt.image.BufferedImage dst) |
static void |
grayToBuffered(boofcv.struct.image.GrayU8 src,
sun.awt.image.ByteInterleavedRaster dst) |
static void |
grayToBuffered(boofcv.struct.image.GrayU8 src,
sun.awt.image.IntegerInterleavedRaster dst) |
static void |
interleavedToBuffered(boofcv.struct.image.InterleavedF32 src,
java.awt.image.BufferedImage dst) |
static void |
interleavedToBuffered(boofcv.struct.image.InterleavedF32 src,
sun.awt.image.ByteInterleavedRaster dst) |
static void |
interleavedToBuffered(boofcv.struct.image.InterleavedF32 src,
sun.awt.image.IntegerInterleavedRaster dst) |
static void |
interleavedToBuffered(boofcv.struct.image.InterleavedU8 src,
java.awt.image.BufferedImage dst) |
static void |
interleavedToBuffered(boofcv.struct.image.InterleavedU8 src,
sun.awt.image.ByteInterleavedRaster dst) |
static void |
interleavedToBuffered(boofcv.struct.image.InterleavedU8 src,
sun.awt.image.IntegerInterleavedRaster dst) |
static void |
multToBuffered_F32(boofcv.struct.image.Planar<boofcv.struct.image.GrayF32> src,
java.awt.image.BufferedImage dst) |
static void |
multToBuffered_F32(boofcv.struct.image.Planar<boofcv.struct.image.GrayF32> src,
sun.awt.image.ByteInterleavedRaster dst) |
static void |
multToBuffered_F32(boofcv.struct.image.Planar<boofcv.struct.image.GrayF32> src,
sun.awt.image.IntegerInterleavedRaster dst) |
static void |
multToBuffered_U8(boofcv.struct.image.Planar<boofcv.struct.image.GrayU8> src,
java.awt.image.BufferedImage dst) |
static void |
multToBuffered_U8(boofcv.struct.image.Planar<boofcv.struct.image.GrayU8> src,
sun.awt.image.ByteInterleavedRaster dst) |
static void |
multToBuffered_U8(boofcv.struct.image.Planar<boofcv.struct.image.GrayU8> src,
sun.awt.image.IntegerInterleavedRaster dst) |
public static void bufferedToGray(sun.awt.image.ByteInterleavedRaster src,
boofcv.struct.image.GrayU8 dst)
public static void bufferedToGray(sun.awt.image.ShortInterleavedRaster src,
boofcv.struct.image.GrayI16 dst)
public static void bufferedToGray(sun.awt.image.ByteInterleavedRaster src,
boofcv.struct.image.GrayF32 dst)
public static void bufferedToGray(sun.awt.image.SunWritableRaster src,
boofcv.struct.image.GrayU8 dst)
public static void bufferedToGray(sun.awt.image.SunWritableRaster src,
boofcv.struct.image.GrayF32 dst)
public static void bufferedToMulti_U8(sun.awt.image.ByteInterleavedRaster src,
boofcv.struct.image.Planar<boofcv.struct.image.GrayU8> dst)
public static void bufferedToMulti_F32(sun.awt.image.ByteInterleavedRaster src,
boofcv.struct.image.Planar<boofcv.struct.image.GrayF32> dst)
public static void bufferedToInterleaved(sun.awt.image.ByteInterleavedRaster src,
boofcv.struct.image.InterleavedF32 dst)
public static void bufferedToInterleaved(sun.awt.image.ByteInterleavedRaster src,
boofcv.struct.image.InterleavedU8 dst)
public static void bufferedToMulti_U8(sun.awt.image.SunWritableRaster src,
boofcv.struct.image.Planar<boofcv.struct.image.GrayU8> dst)
public static void bufferedToMulti_F32(sun.awt.image.SunWritableRaster src,
boofcv.struct.image.Planar<boofcv.struct.image.GrayF32> dst)
public static void bufferedToInterleaved(sun.awt.image.SunWritableRaster src,
boofcv.struct.image.InterleavedU8 dst)
public static void bufferedToInterleaved(sun.awt.image.SunWritableRaster src,
boofcv.struct.image.InterleavedF32 dst)
public static void bufferedToGray(sun.awt.image.IntegerInterleavedRaster src,
boofcv.struct.image.GrayU8 dst)
public static void bufferedToGray(sun.awt.image.IntegerInterleavedRaster src,
boofcv.struct.image.GrayF32 dst)
public static void bufferedToMulti_U8(sun.awt.image.IntegerInterleavedRaster src,
boofcv.struct.image.Planar<boofcv.struct.image.GrayU8> dst)
public static void bufferedToMulti_F32(sun.awt.image.IntegerInterleavedRaster src,
boofcv.struct.image.Planar<boofcv.struct.image.GrayF32> dst)
public static void bufferedToInterleaved(sun.awt.image.IntegerInterleavedRaster src,
boofcv.struct.image.InterleavedU8 dst)
public static void bufferedToInterleaved(sun.awt.image.IntegerInterleavedRaster src,
boofcv.struct.image.InterleavedF32 dst)
public static void bufferedToGray(java.awt.image.BufferedImage src,
boofcv.struct.image.GrayU8 dst)
Converts a buffered image into an 8bit intensity image using the BufferedImage's RGB interface.
This is much slower than working directly with the BufferedImage's internal raster and should be avoided if possible.
src - Input image.dst - Output image.public static void bufferedToGray(java.awt.image.BufferedImage src,
boofcv.struct.image.InterleavedU8 dst)
public static void bufferedToGray(java.awt.image.BufferedImage src,
boofcv.struct.image.GrayI16 dst)
Converts a buffered image into an 16bit intensity image using the BufferedImage's RGB interface.
This is much slower than working directly with the BufferedImage's internal raster and should be avoided if possible.
src - Input image.dst - Output image.public static void bufferedToGray(java.awt.image.BufferedImage src,
boofcv.struct.image.GrayF32 dst)
Converts a buffered image into an 8bit intensity image using the BufferedImage's RGB interface.
This is much slower than working directly with the BufferedImage's internal raster and should be avoided if possible.
src - Input image.dst - Output image.public static void bufferedToGray(java.awt.image.BufferedImage src,
boofcv.struct.image.InterleavedF32 dst)
public static void bufferedToGray(java.awt.image.BufferedImage src,
float[] data,
int dstStartIndex,
int dstStride)
public static void bufferedToMulti_U8(java.awt.image.BufferedImage src,
boofcv.struct.image.Planar<boofcv.struct.image.GrayU8> dst)
Converts a buffered image into an planar image using the BufferedImage's RGB interface.
This is much slower than working directly with the BufferedImage's internal raster and should be avoided if possible.
src - Input image.dst - Output image.public static void bufferedToMulti_F32(java.awt.image.BufferedImage src,
boofcv.struct.image.Planar<boofcv.struct.image.GrayF32> dst)
Converts a buffered image into an planar image using the BufferedImage's RGB interface.
This is much slower than working directly with the BufferedImage's internal raster and should be avoided if possible.
src - Input image.dst - Output image.public static void bufferedToInterleaved(java.awt.image.BufferedImage src,
boofcv.struct.image.InterleavedF32 dst)
public static void bufferedToInterleaved(java.awt.image.BufferedImage src,
boofcv.struct.image.InterleavedU8 dst)
Converts a buffered image into an planar image using the BufferedImage's RGB interface.
This is much slower than working directly with the BufferedImage's internal raster and should be avoided if possible.
src - Input image.dst - Output image.public static void grayToBuffered(boofcv.struct.image.GrayU8 src,
sun.awt.image.ByteInterleavedRaster dst)
public static void grayToBuffered(boofcv.struct.image.GrayI16 src,
sun.awt.image.ByteInterleavedRaster dst)
public static void grayToBuffered(boofcv.struct.image.GrayF32 src,
sun.awt.image.ByteInterleavedRaster dst)
public static void grayToBuffered(boofcv.struct.image.GrayI16 src,
sun.awt.image.ShortInterleavedRaster dst)
public static void multToBuffered_U8(boofcv.struct.image.Planar<boofcv.struct.image.GrayU8> src,
sun.awt.image.ByteInterleavedRaster dst)
public static void multToBuffered_F32(boofcv.struct.image.Planar<boofcv.struct.image.GrayF32> src,
sun.awt.image.ByteInterleavedRaster dst)
public static void grayToBuffered(boofcv.struct.image.GrayU8 src,
sun.awt.image.IntegerInterleavedRaster dst)
public static void grayToBuffered(boofcv.struct.image.GrayI16 src,
sun.awt.image.IntegerInterleavedRaster dst)
public static void grayToBuffered(boofcv.struct.image.GrayF32 src,
sun.awt.image.IntegerInterleavedRaster dst)
public static void multToBuffered_U8(boofcv.struct.image.Planar<boofcv.struct.image.GrayU8> src,
sun.awt.image.IntegerInterleavedRaster dst)
public static void multToBuffered_F32(boofcv.struct.image.Planar<boofcv.struct.image.GrayF32> src,
sun.awt.image.IntegerInterleavedRaster dst)
public static void grayToBuffered(boofcv.struct.image.GrayU8 src,
java.awt.image.BufferedImage dst)
public static void grayToBuffered(boofcv.struct.image.GrayI16 src,
java.awt.image.BufferedImage dst)
public static void grayToBuffered(boofcv.struct.image.GrayF32 src,
java.awt.image.BufferedImage dst)
public static void multToBuffered_U8(boofcv.struct.image.Planar<boofcv.struct.image.GrayU8> src,
java.awt.image.BufferedImage dst)
public static void multToBuffered_F32(boofcv.struct.image.Planar<boofcv.struct.image.GrayF32> src,
java.awt.image.BufferedImage dst)
public static void interleavedToBuffered(boofcv.struct.image.InterleavedU8 src,
sun.awt.image.IntegerInterleavedRaster dst)
public static void interleavedToBuffered(boofcv.struct.image.InterleavedU8 src,
sun.awt.image.ByteInterleavedRaster dst)
public static void interleavedToBuffered(boofcv.struct.image.InterleavedU8 src,
java.awt.image.BufferedImage dst)
public static void interleavedToBuffered(boofcv.struct.image.InterleavedF32 src,
sun.awt.image.IntegerInterleavedRaster dst)
public static void interleavedToBuffered(boofcv.struct.image.InterleavedF32 src,
sun.awt.image.ByteInterleavedRaster dst)
public static void interleavedToBuffered(boofcv.struct.image.InterleavedF32 src,
java.awt.image.BufferedImage dst)