
#include "VFAT/NPclassify2.H"#include "Raster/Raster.H"#include "VFAT/covEstimate.H"#include "VFAT/findColorIndex.H"#include "Util/Timer.H"
Go to the source code of this file.
Defines | |
| #define | INVALS 31 |
Functions | |
| int | main (int argc, char *argv[]) |
Variables | |
| char * | configFile |
| This is the configFile name. | |
| readConfig | configIn (25) |
| This is the configFile object. | |
| readConfig | polySet (25) |
| PixRGB< float > | pix |
| generic pixel | |
| int | itemNumber |
| number of items if training | |
| float | inVals [INVALS] |
Test the non-parametric classifier
Definition in file test-NPclassify.C.
| int main | ( | int | argc, | |
| char * | argv[] | |||
| ) |
LINFO("...SIZE %d > %d",NP.NPgetClassSize(i),sortClassSize[j]);
Definition at line 69 of file test-NPclassify.C.
References configIn, findColorIndex::FACgetColor12(), Timer::get(), Image< T >::getHeight(), Image< T >::getVal(), Image< T >::getWidth(), itemNumber, NPclassify2< FLOAT >::NPaddSpace(), NPclassify2< FLOAT >::NPclassifySpaceKmeans(), NPclassify2< FLOAT >::NPclassifySpaceNew(), NPclassify2< FLOAT >::NPdrawBoundingBoxes(), NPclassify2< FLOAT >::NPgetBoundingBoxes(), NPclassify2< FLOAT >::NPgetChildren(), NPclassify2< FLOAT >::NPgetClass(), NPclassify2< FLOAT >::NPgetClassSize(), NPclassify2< FLOAT >::NPgetDensity(), NPclassify2< FLOAT >::NPgetFeature(), NPclassify2< FLOAT >::NPgetMaxDensity(), NPclassify2< FLOAT >::NPgetMinClassSize(), NPclassify2< FLOAT >::NPgetParents(), NPclassify2< FLOAT >::NPgetStemNumber(), NPclassify2< FLOAT >::NPgetStems(), NPclassify2< FLOAT >::NPresetSpace(), NPclassify2< FLOAT >::NPresizeSpace(), readConfig::openFile(), Raster::ReadGray(), Timer::reset(), covHolder< FLOAT >::resize(), Image< T >::resize(), covEstimate< T >::returnCovSlice(), covEstimate< T >::run(), PixRGB< T >::setBlue(), PixRGB< T >::setGreen(), PixRGB< T >::setRed(), Image< T >::setVal(), sformat(), Raster::VisuFloat(), Raster::VisuRGB(), and writeText().
| char* configFile |
This is the configFile name.
Definition at line 59 of file test-NPclassify.C.
| readConfig configIn(25) |
This is the configFile object.
| int itemNumber |
number of items if training
Definition at line 66 of file test-NPclassify.C.
generic pixel
Definition at line 64 of file test-NPclassify.C.
1.6.3