![]() |
KSquare Utilities
|
#include "FirstIncludes.h"#include <memory>#include <math.h>#include <limits.h>#include <fstream>#include <map>#include <string.h>#include <string>#include <iostream>#include <vector>#include "MemoryDebug.h"#include "kku_fftw.h"#include "Raster.h"#include "KKBaseTypes.h"#include "Blob.h"#include "BMPImage.h"#include "Compressor.h"#include "ConvexHull.h"#include "EigenVector.h"#include "GoalKeeper.h"#include "Histogram.h"#include "ImageIO.h"#include "KKException.h"#include "Matrix.h"#include "MorphOpBinarize.h"#include "MorphOpDilation.h"#include "MorphOpErosion.h"#include "MorphOpStretcher.h"#include "OSservices.h"#include "SimpleCompressor.h"#include "MorphOpSobel.h"Go to the source code of this file.
Functions | |
| float | DeltaAngle (float ang1, float ang2) |
| Returns the difference between two angles in degrees. More... | |
| template<typename T > | |
| T | FindKthValue (T *values, kkint32 arraySize, kkint32 Kth) |
| bool | k_ThinningCheckTransitions (uchar m_Matrix22[][3]) |
| bool | k_ThinningStep1cdTests (uchar m_Matrix22[][3]) |
| bool | k_ThinningStep2cdTests (uchar m_Matrix22[][3]) |
| kkint32 | Max6 (kkint32 x1, kkint32 x2, kkint32 x3, kkint32 x4, kkint32 x5, kkint32 x6) |
| kkint32 | Max9 (kkint32 x1, kkint32 x2, kkint32 x3, kkint32 x4, kkint32 x5, kkint32 x6, kkint32 x7, kkint32 x8, kkint32 x9) |
| uchar | MergeAlpfaBeta (float alpha, uchar alphaPixel, float beta, uchar betaPixel) |
| kkint32 | Min (kkint32 x1, kkint32 x2) |
Variables | |
| kkint32 | freqHist16BucketIdx [256] |
| kkint32 | freqHistBucketIdx [256] |
| const MovDir | movements [8] |
| float DeltaAngle | ( | float | ang1, |
| float | ang2 | ||
| ) |
Returns the difference between two angles in degrees.
Given two angles, will determine the angular distance between them, going from the ang1 to ang2. A positive delta indicates that ang2 is in front of ang1, negative means it is behind ang1. The result can be from -180 to +180 degrees.
Definition at line 5328 of file Raster.cpp.
Definition at line 7175 of file Raster.cpp.
| bool k_ThinningCheckTransitions | ( | uchar | m_Matrix22[][3] | ) |
| bool k_ThinningStep1cdTests | ( | uchar | m_Matrix22[][3] | ) |
Definition at line 8507 of file Raster.cpp.
Referenced by KKB::Raster::ThinContour().
| bool k_ThinningStep2cdTests | ( | uchar | m_Matrix22[][3] | ) |
Definition at line 8493 of file Raster.cpp.
Referenced by KKB::Raster::ThinContour().
Definition at line 240 of file Raster.cpp.
|
inline |
Definition at line 262 of file Raster.cpp.
Definition at line 229 of file Raster.cpp.
| kkint32 freqHist16BucketIdx[256] |
Definition at line 215 of file Raster.cpp.
Referenced by KKB::Raster::CalcAreaAndIntensityFeatures16().
| kkint32 freqHistBucketIdx[256] |
Definition at line 204 of file Raster.cpp.
Referenced by KKB::Raster::CalcAreaAndIntensityFeatures(), KKB::Raster::CalcAreaAndIntensityHistogram(), and KKB::Raster::CalcAreaAndIntensityHistogramWhite().
| const MovDir movements[8] |
Definition at line 5346 of file Raster.cpp.
Referenced by KKB::Raster::FollowContour().