jcuda.jnpp.utilnpp
Class ImagesCPU.ImageCPU<T extends jcuda.jnpp.types.NppType>

java.lang.Object
  extended by jcuda.jnpp.utilnpp.AbstractImage
      extended by jcuda.jnpp.utilnpp.AbstractImagePacked<T>
          extended by jcuda.jnpp.utilnpp.ImagesCPU.ImageCPU<T>
Type Parameters:
T - The data type of this image
All Implemented Interfaces:
Image, ImagePacked<T>
Direct Known Subclasses:
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
Enclosing class:
ImagesCPU

public abstract static class ImagesCPU.ImageCPU<T extends jcuda.jnpp.types.NppType>
extends AbstractImagePacked<T>
implements ImagePacked<T>

This class is the abstract base class for all CPU images. That is, for all images that are handled by NPP and are using host memory.


Nested Class Summary
 
Nested classes/interfaces inherited from interface jcuda.jnpp.utilnpp.ImagePacked
ImagePacked.Pixel
 
Nested classes/interfaces inherited from interface jcuda.jnpp.utilnpp.Image
Image.Size
 
Field Summary
 
Fields inherited from class jcuda.jnpp.utilnpp.AbstractImagePacked
aPixels_, nPitch_
 
Constructor Summary
protected ImagesCPU.ImageCPU()
          Creates a new Image
protected ImagesCPU.ImageCPU(Image.Size rSize)
          Creates a new Image with the given size
protected ImagesCPU.ImageCPU(ImagesCPU.ImageCPU<T> rImage)
          Copy-constructor
protected ImagesCPU.ImageCPU(int width, int height)
          Creates a new Image with the given size
 
Method Summary
 
Methods inherited from class jcuda.jnpp.utilnpp.AbstractImagePacked
allocator, data, destroy, pitch, pixels, set
 
Methods inherited from class jcuda.jnpp.utilnpp.AbstractImage
equals, hashCode, height, set, size, swap, width
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface jcuda.jnpp.utilnpp.ImagePacked
data, pitch, pixels, set
 
Methods inherited from interface jcuda.jnpp.utilnpp.Image
height, set, size, swap, width
 

Constructor Detail

ImagesCPU.ImageCPU

protected ImagesCPU.ImageCPU()
Creates a new Image


ImagesCPU.ImageCPU

protected ImagesCPU.ImageCPU(int width,
                             int height)
Creates a new Image with the given size

Parameters:
width - The width
height - The height

ImagesCPU.ImageCPU

protected ImagesCPU.ImageCPU(Image.Size rSize)
Creates a new Image with the given size

Parameters:
rSize - The size

ImagesCPU.ImageCPU

protected ImagesCPU.ImageCPU(ImagesCPU.ImageCPU<T> rImage)
Copy-constructor

Parameters:
rImage - The other image