![]() |
MDSTk Libraries
1.1.0
Medical Data Segmentation Toolkit
|
Class used to extract image features for a triangle. More...
#include <mdsPixelStatsExtractor.h>
Public Types | |
| enum | |
| Check that V is a feature vector type. More... | |
| typedef CFeatureExtractor < CPixelStats > | tBase |
| Base class. | |
| typedef tBase::tFeature | tFeature |
| Type representing feature value. | |
| typedef T | tPixel |
| Image pixel type. | |
| typedef tBase::tVector | tVector |
| Feature vector. | |
Public Member Functions | |
| void | accumulate (tPixel Value) |
| Extracts and acumulates image charakteristics from a given pixel value. | |
| void | accumulate (const CPixelStatsExtractor &Extractor) |
| Acumulates image charakteristics from a given feature extractor. | |
| void | clear () |
| Clears all internal statistics. | |
| CPixelStatsExtractor () | |
| Default constructor. | |
| CPixelStatsExtractor (const CPixelStatsExtractor &Extractor) | |
| Copy constructor. | |
| void | evaluate (tVector &Vector) |
| CPixelStatsExtractor & | operator= (const CPixelStatsExtractor &Extractor) |
| Assignement operator. | |
| ~CPixelStatsExtractor () | |
| Destructor. | |
Protected Attributes | |
| double | m_dSum |
| Sum of all pixels. | |
| double | m_dSumSqr |
| int | m_iNumOfPixels |
| Number of pixels counted. | |
Class used to extract image features for a triangle.
| typedef CFeatureExtractor<CPixelStats> mds::img::CPixelStatsExtractor< T >::tBase |
Base class.
| typedef tBase::tFeature mds::img::CPixelStatsExtractor< T >::tFeature |
Type representing feature value.
Reimplemented from mds::img::CFeatureExtractor< CPixelStats >.
| typedef T mds::img::CPixelStatsExtractor< T >::tPixel |
Image pixel type.
| typedef tBase::tVector mds::img::CPixelStatsExtractor< T >::tVector |
Feature vector.
Reimplemented from mds::img::CFeatureExtractor< CPixelStats >.
anonymous enum [inherited] |
Check that V is a feature vector type.
You will see name of this enum somewhere in compiler error message if the type V can't be used.
| mds::img::CPixelStatsExtractor< T >::CPixelStatsExtractor | ( | ) |
Default constructor.
| mds::img::CPixelStatsExtractor< T >::CPixelStatsExtractor | ( | const CPixelStatsExtractor< T > & | Extractor | ) |
Copy constructor.
| mds::img::CPixelStatsExtractor< T >::~CPixelStatsExtractor | ( | ) |
Destructor.
| void CPixelStatsExtractor::accumulate | ( | tPixel | Value | ) |
Extracts and acumulates image charakteristics from a given pixel value.
| void CPixelStatsExtractor::accumulate | ( | const CPixelStatsExtractor< T > & | Extractor | ) |
Acumulates image charakteristics from a given feature extractor.
| void CPixelStatsExtractor::clear | ( | ) |
Clears all internal statistics.
| void CPixelStatsExtractor::evaluate | ( | tVector & | Vector | ) |
| CPixelStatsExtractor< T > & CPixelStatsExtractor::operator= | ( | const CPixelStatsExtractor< T > & | Extractor | ) |
Assignement operator.
double mds::img::CPixelStatsExtractor< T >::m_dSum [protected] |
Sum of all pixels.
double mds::img::CPixelStatsExtractor< T >::m_dSumSqr [protected] |
int mds::img::CPixelStatsExtractor< T >::m_iNumOfPixels [protected] |
Number of pixels counted.
1.7.6.1