public class ConvertYuv420_888
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static interface |
ConvertYuv420_888.ProcessorYuv |
| Constructor and Description |
|---|
ConvertYuv420_888() |
| Modifier and Type | Method and Description |
|---|---|
static byte[] |
declareWork(int strideY,
int strideUV,
byte[] work) |
static void |
yuvToBoof(java.nio.ByteBuffer bufferY,
java.nio.ByteBuffer bufferU,
java.nio.ByteBuffer bufferV,
int width,
int height,
int strideY,
int strideUV,
int stridePixelUV,
ColorFormat colorOutput,
boofcv.struct.image.ImageBase output,
boofcv.concurrency.BWorkArrays workArrays) |
static boofcv.struct.image.GrayF32 |
yuvToGray(java.nio.ByteBuffer bufferY,
int width,
int height,
int strideRow,
boofcv.struct.image.GrayF32 output,
boofcv.concurrency.BWorkArrays workArrays) |
static boofcv.struct.image.GrayU8 |
yuvToGray(java.nio.ByteBuffer bufferY,
int width,
int height,
int strideRow,
boofcv.struct.image.GrayU8 output) |
static <T extends boofcv.struct.image.ImageGray<T>> |
yuvToGray(java.nio.ByteBuffer bufferY,
int width,
int height,
int strideRow,
T output,
boofcv.concurrency.BWorkArrays workArrays,
java.lang.Class<T> outputType)
Converts an YUV 420 888 into gray
|
static boofcv.struct.image.InterleavedF32 |
yuvToInterleavedRgbF32(java.nio.ByteBuffer bufferY,
java.nio.ByteBuffer bufferU,
java.nio.ByteBuffer bufferV,
int width,
int height,
int strideY,
int strideUV,
int stridePixelUV,
boofcv.struct.image.InterleavedF32 output,
boofcv.concurrency.BWorkArrays workArrays) |
static boofcv.struct.image.InterleavedU8 |
yuvToInterleavedRgbU8(java.nio.ByteBuffer bufferY,
java.nio.ByteBuffer bufferU,
java.nio.ByteBuffer bufferV,
int width,
int height,
int strideY,
int strideUV,
int stridePixelUV,
boofcv.struct.image.InterleavedU8 output,
boofcv.concurrency.BWorkArrays workArrays) |
static boofcv.struct.image.InterleavedU8 |
yuvToInterleavedYuvU8(java.nio.ByteBuffer bufferY,
java.nio.ByteBuffer bufferU,
java.nio.ByteBuffer bufferV,
int width,
int height,
int strideY,
int strideUV,
int stridePixelUV,
boofcv.struct.image.InterleavedU8 output,
boofcv.concurrency.BWorkArrays workArrays) |
static boofcv.struct.image.Planar<boofcv.struct.image.GrayF32> |
yuvToPlanarRgbF32(java.nio.ByteBuffer bufferY,
java.nio.ByteBuffer bufferU,
java.nio.ByteBuffer bufferV,
int width,
int height,
int strideY,
int strideUV,
int stridePixelUV,
boofcv.struct.image.Planar<boofcv.struct.image.GrayF32> output,
boofcv.concurrency.BWorkArrays workArrays) |
static boofcv.struct.image.Planar<boofcv.struct.image.GrayU8> |
yuvToPlanarRgbU8(java.nio.ByteBuffer bufferY,
java.nio.ByteBuffer bufferU,
java.nio.ByteBuffer bufferV,
int width,
int height,
int strideY,
int strideUV,
int stridePixelUV,
boofcv.struct.image.Planar<boofcv.struct.image.GrayU8> output,
boofcv.concurrency.BWorkArrays workArrays) |
static boofcv.struct.image.Planar<boofcv.struct.image.GrayU8> |
yuvToPlanarYuvU8(java.nio.ByteBuffer bufferY,
java.nio.ByteBuffer bufferU,
java.nio.ByteBuffer bufferV,
int width,
int height,
int strideY,
int strideUV,
int stridePixelUV,
boofcv.struct.image.Planar<boofcv.struct.image.GrayU8> output,
boofcv.concurrency.BWorkArrays workArrays) |
public static byte[] declareWork(int strideY,
int strideUV,
byte[] work)
public static void yuvToBoof(java.nio.ByteBuffer bufferY,
java.nio.ByteBuffer bufferU,
java.nio.ByteBuffer bufferV,
int width,
int height,
int strideY,
int strideUV,
int stridePixelUV,
ColorFormat colorOutput,
boofcv.struct.image.ImageBase output,
boofcv.concurrency.BWorkArrays workArrays)
public static <T extends boofcv.struct.image.ImageGray<T>> T yuvToGray(java.nio.ByteBuffer bufferY,
int width,
int height,
int strideRow,
T output,
boofcv.concurrency.BWorkArrays workArrays,
java.lang.Class<T> outputType)
T - Output image typeoutput - Output: Optional storage for output image. Can be null.outputType - Output: Type of output imagepublic static boofcv.struct.image.GrayF32 yuvToGray(java.nio.ByteBuffer bufferY,
int width,
int height,
int strideRow,
boofcv.struct.image.GrayF32 output,
boofcv.concurrency.BWorkArrays workArrays)
output - Output: Optional storage for output image. Can be null.public static boofcv.struct.image.GrayU8 yuvToGray(java.nio.ByteBuffer bufferY,
int width,
int height,
int strideRow,
boofcv.struct.image.GrayU8 output)
public static boofcv.struct.image.Planar<boofcv.struct.image.GrayU8> yuvToPlanarRgbU8(java.nio.ByteBuffer bufferY,
java.nio.ByteBuffer bufferU,
java.nio.ByteBuffer bufferV,
int width,
int height,
int strideY,
int strideUV,
int stridePixelUV,
@Nullable
boofcv.struct.image.Planar<boofcv.struct.image.GrayU8> output,
@Nullable
boofcv.concurrency.BWorkArrays workArrays)
public static boofcv.struct.image.Planar<boofcv.struct.image.GrayF32> yuvToPlanarRgbF32(java.nio.ByteBuffer bufferY,
java.nio.ByteBuffer bufferU,
java.nio.ByteBuffer bufferV,
int width,
int height,
int strideY,
int strideUV,
int stridePixelUV,
@Nullable
boofcv.struct.image.Planar<boofcv.struct.image.GrayF32> output,
@Nullable
boofcv.concurrency.BWorkArrays workArrays)
public static boofcv.struct.image.InterleavedU8 yuvToInterleavedRgbU8(java.nio.ByteBuffer bufferY,
java.nio.ByteBuffer bufferU,
java.nio.ByteBuffer bufferV,
int width,
int height,
int strideY,
int strideUV,
int stridePixelUV,
@Nullable
boofcv.struct.image.InterleavedU8 output,
@Nullable
boofcv.concurrency.BWorkArrays workArrays)
public static boofcv.struct.image.InterleavedF32 yuvToInterleavedRgbF32(java.nio.ByteBuffer bufferY,
java.nio.ByteBuffer bufferU,
java.nio.ByteBuffer bufferV,
int width,
int height,
int strideY,
int strideUV,
int stridePixelUV,
@Nullable
boofcv.struct.image.InterleavedF32 output,
@Nullable
boofcv.concurrency.BWorkArrays workArrays)
public static boofcv.struct.image.Planar<boofcv.struct.image.GrayU8> yuvToPlanarYuvU8(java.nio.ByteBuffer bufferY,
java.nio.ByteBuffer bufferU,
java.nio.ByteBuffer bufferV,
int width,
int height,
int strideY,
int strideUV,
int stridePixelUV,
@Nullable
boofcv.struct.image.Planar<boofcv.struct.image.GrayU8> output,
@Nullable
boofcv.concurrency.BWorkArrays workArrays)
public static boofcv.struct.image.InterleavedU8 yuvToInterleavedYuvU8(java.nio.ByteBuffer bufferY,
java.nio.ByteBuffer bufferU,
java.nio.ByteBuffer bufferV,
int width,
int height,
int strideY,
int strideUV,
int stridePixelUV,
@Nullable
boofcv.struct.image.InterleavedU8 output,
@Nullable
boofcv.concurrency.BWorkArrays workArrays)