#include <image.h>
Inheritance diagram for pandore::Img3d< T >:
A Img3d < /code> is a gray level 3D image. A 3D gray level image is implemented as one 3D array of pixels, where a pixel is of T type.
For the use of Img3d images see The Images.
Public Types | |
typedef T | ValueType |
Public Member Functions | |
Typobj | Type () const |
std::string | Name () const |
Img3d () | |
Img3d (Long d, Long h, Long w, T *data=0, bool isOwner=false) | |
Img3d (const Dimension3d &d, T *data=0, bool isOwner=false) | |
Img3d (const PobjectProps &p, T *data=0, bool isOwner=false) | |
void | New (Long d, Long h, Long w, T *data=0, bool isOwner=false) |
void | New (const Dimension3d &d, T *data=0, bool isOwner=false) |
void | New (const PobjectProps &p, T *data=0, bool isOwner=false) |
Pobject * | Clone () const |
Img3d< T > & | operator= (const T val) |
template<typename U> | |
Img3d< T > & | operator= (const Img3d< U > &src) |
Img3d< T > & | operator= (const Img3d< T > &src) |
ValueType * | Vector () const |
Imx3d< T >::Band2d | operator[] (Long dep) |
const Imx3d< T >::Band2d | operator[] (Long dep) const |
ValueType & | operator() (Long z, Long y, Long x) |
const ValueType & | operator() (Long z, Long y, Long x) const |
ValueType & | operator[] (const Point3d &p) |
const ValueType & | operator[] (const Point3d &p) const |
ValueType & | operator() (const Point3d &p) |
const ValueType & | operator() (const Point3d &p) const |
const ValueType & | operator() (int, const Point3d &p) const |
ValueType & | operator() (int, const Point3d &p) |
Img3d (const Img3d &ims) |
|
The type of the data (Uchar, Long or Float). Reimplemented from pandore::Imx3d< T >. Reimplemented in pandore::Reg3d. |
|
Creates a new image with no size and no data. |
|
Creates a new image with the specified depth, height and width values, and sets the specified vector as data. If data = 0 then data are allocated and freed by the image else data are allocated and freed externally.
|
|
Creates a new image with the specified dimension, and sets the specified vector as data. If data = 0 then data are allocated and freed by the image else data are allocated and freed externally.
|
|
Creates a new image with the specified properties. Allocates therefrom the related data.
|
|
Creates the image content by copy. Allocates the related data and sets the values with the ims values. If needed casts the values by using the C casting.
|
|
Creates and returns a distinct copy of this object.
Reimplemented from pandore::Imx3d< T >. Reimplemented in pandore::Reg3d. |
|
Returns the type name (for instance Img3duc or Img3dsl or Img3dsf). Reimplemented from pandore::Imx3d< T >. Reimplemented in pandore::Reg3d. |
|
Allocates the image data from the specified properties. If data = 0 then data are allocated and freed by the image else data are allocated and freed externally.
Reimplemented from pandore::Imx3d< T >. |
|
Sets the image data with the specified vector of data If data = 0 then data are allocated and freed by the image else data are allocated and freed externally.
|
|
Sets the image data with the specified vector of data If data = 0 then data are allocated and freed by the image else data are allocated and freed externally.
|
|
Returns the pixel at the specified coordinates.
|
|
Returns the pixel at the specified coordinates.
|
|
Returns the pixel at the specified coordinates.
|
|
Returns the pixel at the specified coordinates.
|
|
Returns the pixel value at the specified coordinates.
Reimplemented in pandore::Reg3d. |
|
Returns the pixel value at the specified coordinates.
Reimplemented in pandore::Reg3d. |
|
Sets the pixel values with the pixel values of the given image. This supposes that images have the same dimensions.
|
|
Sets the pixel values with the pixel values of the given image. This supposes that images have the same dimensions.
|
|
Sets all pixels with the given value.
Reimplemented from pandore::Imx3d< T >. |
|
Returns the pixel at the specified coordinates.
Reimplemented in pandore::Reg3d. |
|
Returns the pixel at the specified coordinates.
Reimplemented in pandore::Reg3d. |
|
Returns the plane at the specified depth.
Reimplemented from pandore::Imx3d< T >. Reimplemented in pandore::Reg3d. |
|
Returns the plane at the specified depth.
Reimplemented from pandore::Imx3d< T >. Reimplemented in pandore::Reg3d. |
|
Returns the identifier of the object (ie. the magic number). Reimplemented from pandore::Imx3d< T >. Reimplemented in pandore::Reg3d. |
|
Returns the image data as a unique vector. Reimplemented in pandore::Reg3d. |