#include "Corba/ImageOrbSK.hh"
#include "Image/Image.H"
Go to the source code of this file.
Functions | |
template<class T > | |
ImageOrb * | image2Orb (const Image< T > &img) |
Convert from various images structuers to send over CORBA. | |
template<class T > | |
void | orb2Image (const ImageOrb &imgOrb, Image< T > &target) |
conversion utils for Images
Definition in file ImageOrbUtil.H.
ImageOrb* image2Orb | ( | const Image< T > & | img | ) | [inline] |
Convert from various images structuers to send over CORBA.
image2Orb, convert and image object into a corba data type
Definition at line 48 of file ImageOrbUtil.H.
References ASSERT, Image< T >::getArrayPtr(), Image< T >::getHeight(), Image< T >::getSize(), Image< T >::getWidth(), and Image< T >::initialized().
Referenced by SaliencyMT::getBias().
void orb2Image | ( | const ImageOrb & | imgOrb, | |
Image< T > & | target | |||
) | [inline] |
orb2Image, convert from a corba data type to and Image object return the image in the function so we can find out the type we need
Definition at line 74 of file ImageOrbUtil.H.
References ASSERT, Image< T >::attach(), and Image< T >::deepcopy().
Referenced by SceneRecServer_i::newInput(), and SceneRecServer_i::trainFeature().