
#include "Image/Pixels.H"#include "Image/Image.H"#include "SIFT/Keypoint.H"#include "rutz/shared_ptr.h"#include <vector>#include <iosfwd>#include <string>
Go to the source code of this file.
Classes | |
| class | VisualObject |
| Describes name and attributes of a visual object. More... | |
Functions | |
| std::istream & | operator>> (std::istream &is, VisualObject &v) |
| Load a VisualObject from an istream. | |
| std::ostream & | operator<< (std::ostream &os, const VisualObject &v) |
| Save a VisualObject to an ostream. | |
Header file for visual objects to be recognized
Definition in file VisualObject.H.
| 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.
1.6.3