Changeset 1390 in Sophya for trunk/SophyaLib/NTools/cimage.cc


Ignore:
Timestamp:
Feb 9, 2001, 6:08:57 PM (25 years ago)
Author:
ansari
Message:

Modifs interface FFTServer , Reza 9/2/2001

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/SophyaLib/NTools/cimage.cc

    r1159 r1390  
    99#include "cimage.h"
    1010
     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
    1121template <class T>
    1222Image<T>::Image()
     
    1828}
    1929
    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
     31template <class T>
     32Image<T>::Image(sa_size_t sizx, sa_size_t sizy, r_8 szpx, r_8 szpy, r_8 orgx, r_8 orgy)
    2233// Constructeur par defaut.
    2334  : TMatrix<T>(sizy, sizx)
     
    2738}
    2839
     40//! Copy constructor
    2941template <class T>
    3042Image<T>::Image(const Image<T>& a)
     
    3547}
    3648
     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*/
    3754template <class T>
    3855Image<T>::Image(const Image<T>& a, bool share)
     
    4259  SetPixelSize(a.XPixSize(), a.YPixSize());
    4360}
     61
     62//! Destructor
    4463template <class T>
    4564Image<T>::~Image()
Note: See TracChangeset for help on using the changeset viewer.