|
libcrn
3.9.5
A document image processing library
|
#include <CRNImage/CRNImage.h>#include <CRNStatistics/CRNHistogram.h>#include <CRNAI/CRNkMeans.h>#include <CRNUtils/CRNDefaultAction.h>
Include dependency graph for CRNImageGray.h:
This graph shows which files directly or indirectly include this file:Go to the source code of this file.
Namespaces | |
| crn | |
Functions | |
| void | crn::Sqrt (ImageDoubleGray &img) noexcept |
| Replaces the pixels with their square root. More... | |
| template<typename T > | |
| void | crn::Abs (Image< T > &img, typename std::enable_if< std::is_arithmetic< T >::value >::type *dummy=nullptr) noexcept |
| Replaces each pixel by its absolute value. More... | |
| void | crn::AutoContrast (ImageGray &img) |
| template<typename T > | |
| Histogram | crn::MakeHistogram (const Image< T > &img, typename std::enable_if< std::is_arithmetic< T >::value >::type *dummy=nullptr) |
| Histogram | crn::MakeHistogram (const ImageGray &img) |
| Creates an histogram from the pixels. More... | |
| Histogram | crn::HorizontalProjection (const ImageGray &img) |
| Computes the horizontal projection. More... | |
| Histogram | crn::VerticalProjection (const ImageGray &img) |
| Computes the vertical projection. More... | |
| template<typename T > | |
| size_t | crn::StrokesWidth (const Image< T > &img, size_t maxval=50, size_t defaultval=0, typename std::enable_if< std::is_arithmetic< T >::value >::type *dummy=nullptr) |
| template<typename T > | |
| size_t | crn::StrokesHeight (const Image< T > &img, size_t maxval=50, size_t defaultval=0, typename std::enable_if< std::is_arithmetic< T >::value >::type *dummy=nullptr) |
| size_t | crn::EstimateLinesXHeight (const ImageGray &img, unsigned int xdiv=16) |
| Computes the mean text line x-height. More... | |
| size_t | crn::EstimateLeading (const ImageGray &img) |
| Computes the median distance between two baselines. More... | |
| Angle< Radian > | crn::EstimateSkew (const ImageGray &img) |
| Estimates the mean skew of the document's lines. More... | |
| template<typename T > | |
| ImageRGB | crn::RandomColors (const Image< T > &img, typename std::enable_if< std::is_arithmetic< T >::value >::type *dummy=nullptr) |
| template<typename T , typename CMP = std::less<T>> | |
| ImageBW | crn::Threshold (const Image< T > &img, T thresh, CMP cmp=std::less< T >{}) |
| template<typename T > | |
| ImageBW | crn::Niblack (const Image< T > &img, size_t halfwin, double k=0.5, typename std::enable_if< std::is_arithmetic< T >::value >::type *dummy=nullptr) |
| template<typename T > | |
| ImageBW | crn::Sauvola (const Image< T > &img, size_t halfwin, double k=0.5, typename std::enable_if< std::is_arithmetic< T >::value >::type *dummy=nullptr) |
| template<typename T > | |
| ImageBW | crn::kMeansHisto (const Image< T > &img, size_t classes, size_t black_classes, size_t maxcnt=10000, typename std::enable_if< std::is_arithmetic< T >::value >::type *dummy=nullptr) |
| template<typename T > | |
| ImageBW | crn::LocalMin (const Image< T > &img, size_t area=1, typename std::enable_if< std::is_arithmetic< T >::value >::type *dummy=nullptr) |
| template<typename T > | |
| ImageBW | crn::LocalMax (const Image< T > &img, size_t area=1, typename std::enable_if< std::is_arithmetic< T >::value >::type *dummy=nullptr) |
| template<typename T > | |
| ImageBW | crn::Fisher (const Image< T > &img, typename std::enable_if< std::is_arithmetic< T >::value >::type *dummy=nullptr) |
| template<typename T > | |
| ImageBW | crn::Entropy (const Image< T > &img, typename std::enable_if< std::is_arithmetic< T >::value >::type *dummy=nullptr) |
| template<typename T > | |
| ImageBW | crn::Otsu (const Image< T > &img, typename std::enable_if< std::is_arithmetic< T >::value >::type *dummy=nullptr) |
| ImageBW | crn::MakeImageBW (const ImageGray &img) |
1.8.6