Changeset 1390 in Sophya for trunk/SophyaLib/NTools/cimage.cc
- Timestamp:
- Feb 9, 2001, 6:08:57 PM (25 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SophyaLib/NTools/cimage.cc
r1159 r1390 9 9 #include "cimage.h" 10 10 11 /*! 12 \class SOPHYA::Image 13 \ingroup NTools 14 This class specializes the Matrix class, for representing intensity 15 (or grey-level) images. It adds the possibility of defining pixel 16 size and offset. The convention for the acces operator is also 17 changed, compared to the matrix class. 18 */ 19 20 //! Default constructor - Pixel array not allocated 11 21 template <class T> 12 22 Image<T>::Image() … … 18 28 } 19 29 20 template <class T> 21 Image<T>::Image(uint_4 sizx, uint_4 sizy, r_8 szpx, r_8 szpy, r_8 orgx, r_8 orgy) 30 //! Constructor, with specification of the image size, pixel size and offsets 31 template <class T> 32 Image<T>::Image(sa_size_t sizx, sa_size_t sizy, r_8 szpx, r_8 szpy, r_8 orgx, r_8 orgy) 22 33 // Constructeur par defaut. 23 34 : TMatrix<T>(sizy, sizx) … … 27 38 } 28 39 40 //! Copy constructor 29 41 template <class T> 30 42 Image<T>::Image(const Image<T>& a) … … 35 47 } 36 48 49 50 //! Copy constructor with possibility of duplicating the pixel array 51 /*! 52 \param share : if true, the data is shared, duplicated if false. 53 */ 37 54 template <class T> 38 55 Image<T>::Image(const Image<T>& a, bool share) … … 42 59 SetPixelSize(a.XPixSize(), a.YPixSize()); 43 60 } 61 62 //! Destructor 44 63 template <class T> 45 64 Image<T>::~Image()
Note:
See TracChangeset
for help on using the changeset viewer.