Class ConvertByteBufferImage


  • public class ConvertByteBufferImage
    extends java.lang.Object
    Converts images that are stored in ByteBuffer into BoofCV image types and performs a local copy when the raw array can't be accessed
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static void from_3BU8_to_3IF32​(java.nio.ByteBuffer src, int srcOffset, int srcStride, boofcv.struct.image.InterleavedF32 dst, org.ddogleg.struct.GrowQueue_I8 work)  
      static void from_3BU8_to_3IU8​(java.nio.ByteBuffer src, int srcOffset, int srcStride, boofcv.struct.image.InterleavedU8 dst)  
      static void from_3BU8_to_3PF32​(java.nio.ByteBuffer src, int srcOffset, int srcStride, boofcv.struct.image.Planar<boofcv.struct.image.GrayF32> dst, org.ddogleg.struct.GrowQueue_I8 work)  
      static void from_3BU8_to_3PU8​(java.nio.ByteBuffer src, int srcOffset, int srcStride, boofcv.struct.image.Planar<boofcv.struct.image.GrayU8> dst, org.ddogleg.struct.GrowQueue_I8 work)  
      static void from_3BU8_to_F32​(java.nio.ByteBuffer src, int srcOffset, int srcStride, boofcv.struct.image.GrayF32 dst, org.ddogleg.struct.GrowQueue_I8 work)  
      static void from_3BU8_to_U8​(java.nio.ByteBuffer src, int srcOffset, int srcStride, boofcv.struct.image.GrayU8 dst, org.ddogleg.struct.GrowQueue_I8 work)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ConvertByteBufferImage

        public ConvertByteBufferImage()
    • Method Detail

      • from_3BU8_to_U8

        public static void from_3BU8_to_U8​(java.nio.ByteBuffer src,
                                           int srcOffset,
                                           int srcStride,
                                           boofcv.struct.image.GrayU8 dst,
                                           org.ddogleg.struct.GrowQueue_I8 work)
      • from_3BU8_to_3PU8

        public static void from_3BU8_to_3PU8​(java.nio.ByteBuffer src,
                                             int srcOffset,
                                             int srcStride,
                                             boofcv.struct.image.Planar<boofcv.struct.image.GrayU8> dst,
                                             org.ddogleg.struct.GrowQueue_I8 work)
      • from_3BU8_to_3IU8

        public static void from_3BU8_to_3IU8​(java.nio.ByteBuffer src,
                                             int srcOffset,
                                             int srcStride,
                                             boofcv.struct.image.InterleavedU8 dst)
      • from_3BU8_to_F32

        public static void from_3BU8_to_F32​(java.nio.ByteBuffer src,
                                            int srcOffset,
                                            int srcStride,
                                            boofcv.struct.image.GrayF32 dst,
                                            org.ddogleg.struct.GrowQueue_I8 work)
      • from_3BU8_to_3PF32

        public static void from_3BU8_to_3PF32​(java.nio.ByteBuffer src,
                                              int srcOffset,
                                              int srcStride,
                                              boofcv.struct.image.Planar<boofcv.struct.image.GrayF32> dst,
                                              org.ddogleg.struct.GrowQueue_I8 work)
      • from_3BU8_to_3IF32

        public static void from_3BU8_to_3IF32​(java.nio.ByteBuffer src,
                                              int srcOffset,
                                              int srcStride,
                                              boofcv.struct.image.InterleavedF32 dst,
                                              org.ddogleg.struct.GrowQueue_I8 work)