Public Types | |
typedef Image< T > | This |
Public Member Functions | |
void | adjust_header () |
algebra::Matrix2D< T > & | get_data () |
Access to the matrix of data. | |
ImageHeader & | get_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. |
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 ...