VisualObject.C File Reference

#include "SIFT/VisualObject.H"
#include "SIFT/ScaleSpace.H"
#include "Image/ColorOps.H"
#include "Image/DrawOps.H"
#include "Image/ShapeOps.H"
#include "Image/Kernels.H"
#include "Image/FilterOps.H"
#include "Image/MathOps.H"
#include "Image/Pixels.H"
#include "Raster/Raster.H"
#include <algorithm>
#include <cmath>
#include <istream>
#include <ostream>
#include <cctype>
Include dependency graph for VisualObject.C:

Go to the source code of this file.

Classes

class  lessKP

Functions

template<class ForwardIterator , class StrictWeakOrdering >
bool myIsSorted (ForwardIterator begin, ForwardIterator end, StrictWeakOrdering comp)
std::ostream & operator<< (std::ostream &os, const VisualObject &v)
 Save a VisualObject to an ostream.
std::istream & operator>> (std::istream &is, VisualObject &v)
 Load a VisualObject from an istream.

Detailed Description

Visual Objects to be recognized

Definition in file VisualObject.C.


Function Documentation

std::ostream& operator<< ( std::ostream &  os,
const VisualObject v 
)

Save a VisualObject to an ostream.

If our image file name is known also save the image, but only if there is not already a file by than name. You should delete the file first if you want to ensure that the image will be saved. You can use VisualObject::deleteImageFile() for that.

Definition at line 268 of file VisualObject.C.

References Raster::fileExists(), Dims::h(), Point2D< T >::i, RASFMT_PNG, Dims::w(), and Raster::WriteRGB().

std::istream& operator>> ( std::istream &  is,
VisualObject v 
)

Load a VisualObject from an istream.

Definition at line 293 of file VisualObject.C.

Generated on Sun May 8 08:18:13 2011 for iLab Neuromorphic Vision Toolkit by  doxygen 1.6.3