Main Page   Modules   Class Hierarchy   Compound List   File List   Compound Members   Related Pages   Examples  

Input/output operations


Functions

void closeWindow ()
void readImage (char *name)
void writeImage ()
void writeImage (char *name)
int showImage ()

Detailed Description

This group contains methods for image input/output operations.

Function Documentation

template<class T>
void Image< T >::closeWindow ( )
 

Closes the window opened by showImage().

Examples:
test_conn_comp.cpp, test_contrast.cpp, test_conversion.cpp, test_dist_trans.cpp, test_downsampl.cpp, test_edge.cpp, test_fft.cpp, test_fft2.cpp, test_hist.cpp, test_image.cpp, test_morphop.cpp, test_reflect.cpp, test_rotate.cpp, test_thresh.cpp, test_translate.cpp, test_upsampl.cpp, test_watershed.cpp, test_wavelet.cpp, test_wavelet2.cpp, and test_zoom.cpp.

Definition at line 354 of file Image.cpp.

Referenced by Image::showImage(), and Image::~Image().

template<class T>
void Image<T>::readImage<T> ( char * name ) [inline]
 

Reads an image from file name and stores it in the buffer pointed out by pixels; the image format is "guessed" from the file name extension.

Examples:
test_conn_comp.cpp, test_contrast.cpp, test_conversion.cpp, test_convol.cpp, test_dist_trans.cpp, test_downsampl.cpp, test_edge.cpp, test_fft.cpp, test_fft2.cpp, test_hist.cpp, test_image.cpp, test_localop.cpp, test_morphop.cpp, test_noise.cpp, test_reflect.cpp, test_rotate.cpp, test_thresh.cpp, test_timer.cpp, test_translate.cpp, test_upsampl.cpp, test_watershed.cpp, test_wavelet.cpp, test_wavelet2.cpp, and test_zoom.cpp.

Definition at line 201 of file Image.h.

Referenced by Kernel::readKernel().

template<class T>
int Image<T>::showImage<T> ( ) [inline]
 

Opens a window and renders in it the current image.

Examples:
test_conn_comp.cpp, test_contrast.cpp, test_conversion.cpp, test_convol.cpp, test_dist_trans.cpp, test_downsampl.cpp, test_edge.cpp, test_fft.cpp, test_fft2.cpp, test_hist.cpp, test_image.cpp, test_localop.cpp, test_morphop.cpp, test_noise.cpp, test_reflect.cpp, test_rotate.cpp, test_thresh.cpp, test_translate.cpp, test_upsampl.cpp, test_watershed.cpp, test_wavelet.cpp, test_wavelet2.cpp, and test_zoom.cpp.

Definition at line 230 of file Image.h.

Referenced by Kernel::showKernel(), FourierTransform::showMagnitude(), and FourierTransform::showPhase().

template<class T>
void Image<T>::writeImage<T> ( char * name ) [inline]
 

Writes the current image to the file name; the image format is "guessed" from the file name extension.

Definition at line 219 of file Image.h.

template<class T>
void Image<T>::writeImage<T> ( ) [inline]
 

Writes the current image to the file given by img_name; the image format is "guessed" from the file name extension.

Examples:
test_image.cpp.

Definition at line 209 of file Image.h.

Referenced by Kernel::writeKernel().