
Definition in file searcharray2d_lumin.C.
#include "Image/Image.H"
#include "Image/Pixels.H"
#include "Component/ModelManager.H"
#include "Raster/Raster.H"
#include "Util/Assert.H"
#include "Util/MathFunctions.H"
#include "Util/StringConversions.H"
#include "Util/log.H"
#include <cstdlib>
#include <ctime>
#include <math.h>
#include <unistd.h>
#include <vector>
Include dependency graph for searcharray2d_lumin.C:

Go to the source code of this file.
Functions | |
| void | image_patch (const Image< PixRGB< byte > > &patch, const int ti, const int tj, Image< PixRGB< byte > > &image, const double alpha, const float FACTOR, Image< byte > &targets, bool do_target, Image< PixRGB< byte > > &randomGrid, const Image< PixRGB< byte > > &randomNum, int ¢er_x, int ¢er_y) |
| int | main (const int argc, const char **argv) |
|
||||||||||||
|
This program generates a randomized search array (and associated target mask) from several image patches (1 for target and the rest for distractors). Definition at line 72 of file searcharray2d_lumin.C. References ASSERT, Image< T >::beginw(), c, cols, Image< T >::endw(), FACTOR, ModelManager::getExtraArg(), ModelManager::getExtraArgAs(), Image< T >::getHeight(), Image< T >::getWidth(), i, image, image_patch(), initRandomNumbers(), iptr, LINFO, MYLOGVERB, ModelManager::numExtraArgs(), output(), ModelManager::parseCommandLine(), randomDouble(), randShuffle(), RASFMT_PNM, Raster::ReadRGB(), rows, start, ModelComponent::start(), ModelComponent::stop(), lobot::stop(), target, toStr(), w, Raster::WriteGray(), Raster::WriteRGB(), and ZEROS. |
1.4.4