libcrn
3.9.5
A document image processing library
|
#include <CRNImage/CRNImage.h>
Go to the source code of this file.
Namespaces | |
crn | |
Functions | |
Histogram | crn::LeftProfile (const ImageBW &img) |
Computes the left profile. More... | |
Histogram | crn::RightProfile (const ImageBW &img) |
Computes the right profile. More... | |
Histogram | crn::TopProfile (const ImageBW &img) |
Computes the top profile. More... | |
Histogram | crn::BottomProfile (const ImageBW &img) |
Computes the bottom profile. More... | |
Histogram | crn::HorizontalProjection (const ImageBW &img) |
Computes the horizontal projection. More... | |
Histogram | crn::VerticalProjection (const ImageBW &img) |
Computes the vertical projection. More... | |
Histogram | crn::VerticalSlantedProjection (const ImageBW &img, const Angle< Radian > &theta) |
Computes the vertical projection after rotation. More... | |
double | crn::MeanBlackRun (const ImageBW &img) noexcept |
Gets the mean horizontal black run. More... | |
double | crn::MeanWhiteRun (const ImageBW &img, int blackrun=-1) noexcept |
Gets the mean horizontal white run. More... | |
double | crn::MeanBlackVRun (const ImageBW &img) noexcept |
Gets the mean vertical black run. More... | |
size_t | crn::CountBlackPixels (const ImageBW &img) noexcept |
Returns the number of black pixels. More... | |
size_t | crn::CountWhitePixels (const ImageBW &img) noexcept |
Returns the number of white pixels. More... | |
size_t | crn::Regularize (ImageBW &img, size_t min_neighbors=0) |
Removes isolated pixels and smooths edges. More... | |
ImageIntGray | crn::DistanceTransform (const ImageBW &img, const MatrixInt &m1, const MatrixInt &m2) |
Creates an image containing the distance transform. More... | |