ImageOrbUtil.H File Reference

#include "Corba/ImageOrbSK.hh"
#include "Image/Image.H"
Include dependency graph for ImageOrbUtil.H:
This graph shows which files directly or indirectly include this file:

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)

Detailed Description

conversion utils for Images

Definition in file ImageOrbUtil.H.


Function Documentation

template<class T >
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().

template<class T >
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().

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