|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
T
- The data typepublic interface ImagePacked<T extends jcuda.jnpp.types.NppType>
Interface that corresponds to the npp::ImagePacked class. The original ImagePacked class has three template parameters:
template<typename D, size_t N, class A>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 ImagesCPU
and
ImagesNPP
class.
Nested Class Summary | |
---|---|
static interface |
ImagePacked.Pixel
Dummy interface - not implemented yet |
Nested classes/interfaces inherited from interface jcuda.jnpp.utilnpp.Image |
---|
Image.Size |
Method Summary | |
---|---|
jcuda.jnpp.TypedPointer<T> |
data()
Returns the pointer to the image data |
int |
pitch()
Returns the pitch of this image |
ImagePacked.Pixel[] |
pixels(int nX,
int nY)
TODO: ImagePacked#pixels(int, int) NOT IMPLEMENTED YET |
void |
set(ImagePacked<T> rImage)
Set this image to have the contents of the given image |
Methods inherited from interface jcuda.jnpp.utilnpp.Image |
---|
height, set, size, swap, width |
Method Detail |
---|
void set(ImagePacked<T> rImage)
rImage
- The other imageint pitch()
ImagePacked.Pixel[] pixels(int nX, int nY)
nX
- nY
-
jcuda.jnpp.TypedPointer<T> data()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |