Describes name and attributes of a visual object. More...
#include <CUDASIFT/CUDAVisualObject.H>
Public Member Functions | |
CUDAVisualObject (const std::string &name="NULL", const std::string &imagefname="NULL", const Image< PixRGB< byte > > &image=Image< PixRGB< byte > >(), const Point2D< int > &salpt=Point2D< int >(-1,-1), const std::vector< float > &preattfeatures=std::vector< float >(), const std::vector< rutz::shared_ptr< Keypoint > > &keypoints=std::vector< rutz::shared_ptr< Keypoint > >(), const bool useColor=false, bool computeKP=true) | |
void | computeKeypoints () |
Describes name and attributes of a visual object.
A VisualObject is a visual view of a given real-world object. As such, it is described by a name, an Image representing the view, and possibly a preattentive feature vector (as obtained, for example, from VisualCortex::getFeatures() ), and a list of SIFT Keypoint objects.
Definition at line 63 of file CUDAVisualObject.H.
void CUDAVisualObject::computeKeypoints | ( | ) |
this is for computing keypoints at a later time only compute if the image is initialized and keypoints vector is empty
Reimplemented from VisualObject.
Definition at line 63 of file CUDAVisualObject.C.
References ASSERT, fimage, Image< T >::getArrayPtr(), Image< T >::getHeight(), Image< T >::getWidth(), Image< T >::initialized(), lum, and ReScale().