jcuda.jnpp.utilnpp
Interface Image

All Known Subinterfaces:
ImagePacked<T>
All Known Implementing Classes:
AbstractImage, 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 Image

Java interface that corresponds to the npp::Image class


Nested Class Summary
static interface Image.Size
          Interface that corresponds to the npp::Image::Size struct
 
Method Summary
 int height()
          Return the height of this image
 void set(Image rImage)
          Assignment operator: Set this image to have the same contents as the given image.
 Image.Size size()
          Return the size of this image
 void swap(Image rImage)
          Swap the contents of this image and the given image
 int width()
          Return the width of this image
 

Method Detail

width

int width()
Return the width of this image

Returns:
The width of this image

height

int height()
Return the height of this image

Returns:
The height of this image

size

Image.Size size()
Return the size of this image

Returns:
The size of this image

set

void set(Image rImage)
Assignment operator: Set this image to have the same contents as the given image.

Parameters:
rImage - The other image

swap

void swap(Image rImage)
Swap the contents of this image and the given image

Parameters:
rImage - The other image