#include <ImLib3D/ImageProcessor.hpp>
#include <ImLib3D/Threshold.hxx>
Include dependency graph for Threshold.hpp:
This graph shows which files directly or indirectly include this file:
Go to the source code of this file.
Namespaces | |
namespace | IP3D |
Functions | |
template<class ImageType> | |
void | SimpleThreshold (const ImageType &src, const typename ImageType::value_type &t, Mask3D &res) |
template<class ImageType> | |
void | SimpleThresholds2 (const ImageType &src, const typename ImageType::value_type &t1, const typename ImageType::value_type &t2, Mask3D &res) |
template<class ImageType> | |
void | LimitThreshold (const ImageType &src, const typename ImageType::value_type &t1, const typename ImageType::value_type &t2, ImageType &res) |
template<class ImageType> | |
void | OtsuThresholds (const ImageType &src, Mask3D &res, int nbClasses=2, vector< double > *pthresholds=NULL, int nbBins=1000) |
void | UniModalThreshold (const Image3Df &src, double &threshold, Mask3D *res=NULL) |
Definition in file Threshold.hpp.
|
#&SimpleThreshold&# Simple Threshold. Result=1 if value>threshold. Result is a Mask3D. Definition at line 41 of file Threshold.hpp. References Container3D< Im3DValue >::begin(), and Container3D< Im3DValue >::Resize(). Referenced by IP3D::UniModalThreshold(). |
|
#&SimpleThresholds2&# Simple Threshold between 2 values Result is 1 for values between t1 and t2, 0 otherwise. Definition at line 67 of file Threshold.hpp. References Container3D< Im3DValue >::begin(), and Container3D< Im3DValue >::Resize(). |
|
#&LimitThreshold&# Limits range of image values to t1 t2 If image value less than t1 or image value greater than t2 then image value equals t1 or t2 respectively, otherwise conserves original value. Keeps mask Definition at line 97 of file Threshold.hpp. |
|
#&OtsuThresholds&# Use otsu histogram partitioning to automatically determine thresholds and apply them on an image. The algorithm brute-force searches all possible threshhold combinations to find the one that minimizes interclass variance. This can be long if the number of classes is high. |
|
#&UniModalThreshold&# |