IMP logo

IMP::em::Image< T > Class Template Reference


Detailed Description

template<typename T>
class IMP::em::Image< T >

Template class for managing 2D Electron Microscopy images in IMP.

Public Types

typedef Image< T > This

Public Member Functions

void adjust_header ()
algebra::Matrix2D< T > & get_data ()
 Access to the matrix of data.
ImageHeaderget_header ()
 Access to the header.
 Image (Int Ydim, Int Xdim)
 Constructor with size.
 Image ()
 Empty constructor.
void read (String filename, ImageReaderWriter< T > &reader)
 Reads the image from the file.
void set_data (algebra::Matrix2D< T > &v)
 Set the matrix of data.
void write (String filename, ImageReaderWriter< T > &writer)
 Writes the image to a file.

Protected Attributes

algebra::Matrix2D< T > data_
 Matrix with the data for the image.
ImageHeader header_
 Header for the image with all the pertinent information.
String name_
 Name of the image. Frequently it will be the name of the file.

Member Function Documentation

template<typename T >
void IMP::em::Image< T >::adjust_header (  ) 

Adjusts the information of the imager header taking into account the dimensions of the data and setting the time, date, type, etc ...


The documentation for this class was generated from the following file:

Generated on Mon Mar 8 23:09:01 2010 for IMP by doxygen 1.5.8