jcuda.jnpp.utilnpp
Interface ImagePacked<T extends NppType>

Type Parameters:
T - The data type
All Superinterfaces:
Image
All Known Implementing Classes:
AbstractImagePacked, ImagesCPU.ImageCPU, ImagesCPU.ImageCPU_16s_C1, ImagesCPU.ImageCPU_16s_C3, ImagesCPU.ImageCPU_16s_C4, ImagesCPU.ImageCPU_16u_C1, ImagesCPU.ImageCPU_16u_C3, ImagesCPU.ImageCPU_16u_C4, ImagesCPU.ImageCPU_32f_C1, ImagesCPU.ImageCPU_32f_C3, ImagesCPU.ImageCPU_32f_C4, ImagesCPU.ImageCPU_32s_C1, ImagesCPU.ImageCPU_32s_C3, ImagesCPU.ImageCPU_32s_C4, ImagesCPU.ImageCPU_8u_C1, ImagesCPU.ImageCPU_8u_C2, ImagesCPU.ImageCPU_8u_C3, ImagesCPU.ImageCPU_8u_C4, ImagesNPP.ImageNPP, ImagesNPP.ImageNPP_16s_C1, ImagesNPP.ImageNPP_16s_C4, ImagesNPP.ImageNPP_16u_C1, ImagesNPP.ImageNPP_16u_C2, ImagesNPP.ImageNPP_16u_C3, ImagesNPP.ImageNPP_16u_C4, ImagesNPP.ImageNPP_32f_C1, ImagesNPP.ImageNPP_32f_C2, ImagesNPP.ImageNPP_32f_C3, ImagesNPP.ImageNPP_32f_C4, ImagesNPP.ImageNPP_32s_C1, ImagesNPP.ImageNPP_32s_C3, ImagesNPP.ImageNPP_32s_C4, ImagesNPP.ImageNPP_8u_C1, ImagesNPP.ImageNPP_8u_C2, ImagesNPP.ImageNPP_8u_C3, ImagesNPP.ImageNPP_8u_C4

public interface ImagePacked<T extends NppType>
extends Image

Interface that corresponds to the npp::ImagePacked class. The original ImagePacked class has three template parameters:

 template
 
Where D represents the data type, N is the number of channels, and A is the allocator. These data type is represented using the generic type parameter, and the other template parameters are covered by the concrete classes implementing this interface, namely the static inner classes of the ImageCPU and ImageNPP class. TODO: This class is not completely implemented yet: It is not possible to obtain the Pixels from such an image!


Nested Class Summary
static interface ImagePacked.Pixel
           
static interface ImagePacked.Pixel_u8_1
           
static interface ImagePacked.Pixel_u8_2
           
static interface ImagePacked.Pixel_u8_3
           
static interface ImagePacked.Pixel_u8_4
           
 
Nested classes/interfaces inherited from interface jcuda.jnpp.utilnpp.Image
Image.Size
 
Method Summary
 TypedPointer<T> data()
           
 int pitch()
           
 ImagePacked.Pixel[] pixels(int nX, int nY)
           
 void set(ImagePacked<T> rImage)
           
 
Methods inherited from interface jcuda.jnpp.utilnpp.Image
height, set, size, swap, width
 

Method Detail

set

void set(ImagePacked<T> rImage)

pitch

int pitch()

pixels

ImagePacked.Pixel[] pixels(int nX,
                           int nY)

data

TypedPointer<T> data()