#include <image.h>
Inheritance diagram for pandore::Imc3d< T >:
A Imc3d < /code> is a color 3D image. A 3D color image is implemented with three 3D arrays of pixels, where a pixel is of T type.
For the use of Imc3d images see The Images.
Public Types | |
typedef T | ValueType |
Public Member Functions | |
Typobj | Type () const |
std::string | Name () const |
Imc3d () | |
Imc3d (Long b, Long d, Long h, Long w, T *data=0, bool isOwner=false) | |
Imc3d (Long b, const Dimension3d &d, T *data=0, bool isOwner=false) | |
Imc3d (Long d, Long h, Long w, T *data=0, bool isOwner=false) | |
Imc3d (const Dimension3d &d, T *data=0, bool isOwner=false) | |
Imc3d (const PobjectProps &p, T *data=0, bool isOwner=false) | |
void | New (Long, Long d, Long h, Long w, T *data=0, bool isOwner=false) |
void | New (Long, const Dimension3d &d, 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 |
Imc3d< T > & | operator= (const T val) |
template<typename U> | |
Imc3d< T > & | operator= (const Imc3d< U > &src) |
Imc3d< T > & | operator= (const Imc3d< T > &src) |
ValueType * | VectorX () const |
ValueType * | VectorY () const |
ValueType * | VectorZ () const |
Errc | LoadAttributes (FILE *file) |
Errc | SaveAttributes (FILE *file) const |
Imc3d (const Imc3d &ims) | |
Public Attributes | |
Imx3d< T >::Band3d | X |
Imx3d< T >::Band3d | Y |
Imx3d< T >::Band3d | Z |
|
The type of the data (Uchar, Long or Float). Reimplemented from pandore::Imx3d< T >. |
|
Creates a new image with no size and no data. |
|
Creates a new image with the specified dimensions, and the specified 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 dimensions, and the specified 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 dimensions, and the specified 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 dimensions, and the specified 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, and the specified data. If data = 0 then data are allocated and freed by the image else data are allocated and freed externally.
|
|
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 >. |
|
Loads attribute values from the given file. Allocates therefrom the related data.
Reimplemented from pandore::Imx3d< T >. |
|
Returns the type name (for instance Imc3duc or Imc3dsl or Imc3dsf). Reimplemented from pandore::Imx3d< T >. |
|
Allocates the image data from the specified properties.
Reimplemented from pandore::Imx3d< T >. |
|
Allocates the image data from the specified band number and dimensions and the specified data. If data = 0 then data are allocated and freed by the image else data are allocated and freed externally.
|
|
Allocates the image data from the specified band number, depth, height and width values and the specified data. If data = 0 then data are allocated and freed by the image else data are allocated and freed externally.
|
|
Allocates the image data from the specified band number and dimensions and the specified data. If data = 0 then data are allocated and freed by the image else data are allocated and freed externally.
|
|
Allocates the image data from the specified band number, depth, height and width values and the specified data. 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 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 >. |
|
Saves the current attribute values in the specified file.
Reimplemented from pandore::Imx3d< T >. |
|
Returns the identifier of the object (ie. the magic number). Reimplemented from pandore::Imx3d< T >. |
|
Returns the X band of the image data as a unique vector (eg. Red for RGB color image). |
|
Returns the Y band of the image data as a unique vector (eg. Green for RGB color image). |
|
Returns the Z band of the image data as a unique vector (eg. Blue for RGB color image). |
|
The X band (eg. Red for RGB color image) of the color image. |
|
The Y band (eg. Green for RGB color image) of the color image. |
|
The Z band (eg. Blue for RGB color image) of the color image. |