|
libcrn
3.9.5
A document image processing library
|
#include <iostream>#include <CRNGeometry/CRNRect.h>#include <CRNMath/CRNMatrixInt.h>#include <CRNMath/CRNMatrixDouble.h>#include <CRNGeometry/CRNPoint2DInt.h>#include <CRNMath/CRNMatrixComplex.h>#include <set>
Include dependency graph for CRNImage.hpp:
This graph shows which files directly or indirectly include this file:Go to the source code of this file.
Namespaces | |
| crn | |
| crn::impl | |
Functions | |
| template<typename T1 , typename T2 > | |
| crn::Image< crn::SumType < typename std::common_type < T1, T2 >::type > > | operator+ (const crn::Image< T1 > &i1, const crn::Image< T2 > &i2) |
| template<typename T1 , typename T2 > | |
| crn::Image< crn::DiffType < typename std::common_type < T1, T2 >::type > > | operator- (const crn::Image< T1 > &i1, const crn::Image< T2 > &i2) |
| template<typename T1 , typename T2 > | |
| crn::Image< crn::SumType < typename std::common_type < T1, T2 >::type > > | operator* (const crn::Image< T1 > &i1, const crn::Image< T2 > &i2) |
| template<typename T > | |
| crn::Image< crn::SumType < typename std::common_type< T, double >::type > > | operator* (double d, const crn::Image< T > &i) |
| template<typename T > | |
| crn::Image< crn::SumType < typename std::common_type< T, double >::type > > | operator* (const crn::Image< T > &i, double d) |
| template<typename T1 , typename T2 > | |
| crn::Image< crn::SumType < typename std::common_type < T1, T2 >::type > > | operator/ (const crn::Image< T1 > &i1, const crn::Image< T2 > &i2) |
| template<typename T > | |
| bool | crn::IsBitonal (const Image< T > &img) |
| Is the image binary (black & white)? More... | |
| template<typename T , typename CMP = std::less<T>> | |
| std::pair< T, T > | crn::MinMax (const Image< T > &img, CMP cmp=CMP{}) |
| Returns min and max pixel values. More... | |
| template<typename T > | |
| Rect | crn::AutoCrop (const Image< T > &img, const T &bgval) |
| Estimates the ideal crop for the image. More... | |
| template<typename T > | |
| Image< T > | crn::MakeAutoCrop (const Image< T > &img, const T &bgval) |
| Creates a new image as the ideal crop for the image. More... | |
| template<typename T , typename Y > | |
| Point2DInt | crn::CrossCorrelation (const Image< T > &img1, const Image< Y > &img2, T fill1=T(0), Y fill2=Y(0)) |
| Best match between two images. More... | |
| template<typename T > | |
| SummedAreaTable< SumType< T > > | crn::MakeSummedAreaTable (const Image< T > &img) |
| Creates a summed area table of the image. More... | |
| template<typename T > | |
| void | crn::impl::ShiftCopyRow (Image< T > &dest, const Image< T > &src, size_t row, int offset, double prevWeight, const T &bgColor) |
| Copies a row with a shift. More... | |
| template<typename T > | |
| void | crn::impl::ShiftCopyColumn (Image< T > &dest, const Image< T > &src, size_t col, int offset, double prevWeight, const T &bgColor) |
| Copies a column with a shift. More... | |
| template<typename T > | |
| Image< T > | crn::impl::MakeSmallRotation (const Image< T > &img, const Angle< Degree > &angle, const T &bgColor) |
| template<typename T > | |
| Image< T > | crn::MakeRotation (const Image< T > &img, const Angle< Degree > &angle, const T &bgColor) |
| Creates a rotated version of the image. More... | |
| template<typename T > | |
| Image< T > | crn::Make90Rotation (const Image< T > &img) |
| Creates a rotated version of the image. More... | |
| template<typename T > | |
| Image< T > | crn::Make180Rotation (const Image< T > &img) |
| Creates a rotated version of the image. More... | |
| template<typename T > | |
| Image< T > | crn::Make270Rotation (const Image< T > &img) |
| Creates a rotated version of the image. More... | |
1.8.6