Xmipp
v3.23.11-Nereus
|
Functions | |
void | getImageSize (const FileName &filename, size_t &Xdim, size_t &Ydim, size_t &Zdim, size_t &Ndim) |
void | getImageInfo (const FileName &filename, size_t &Xdim, size_t &Ydim, size_t &Zdim, size_t &Ndim, DataType &datatype) |
void | getImageInfo (const FileName &name, ImageInfo &imgInfo) |
void | getImageDatatype (const FileName &name, DataType &datatype) |
DataType | getImageDatatype (const FileName &name) |
bool | isImage (const FileName &name) |
bool | checkImageFileSize (const FileName &name, const ImageInfo &imgInfo, bool error=false) |
bool | checkImageFileSize (const FileName &name, bool error=false) |
bool | checkImageCorners (const FileName &name) |
bool | compareTwoImageTolerance (const FileName &fn1, const FileName &fn2, double tolerance=0., size_t index1=0, size_t index2=0) |
binary comparison of two images with a tolerance factor More... | |
bool checkImageCorners | ( | const FileName & | name | ) |
Check if image corners have the same variance as the central part of the image. The test of equality of variances F-Snedecor is applied with 99.99% of confidence
Definition at line 114 of file xmipp_image_extension.cpp.
Check if the file is at least as large as needed. If error = true, then report an error in case of check fail.
Definition at line 73 of file xmipp_image_extension.cpp.
bool checkImageFileSize | ( | const FileName & | name, |
bool | error = false |
||
) |
Definition at line 106 of file xmipp_image_extension.cpp.
bool compareTwoImageTolerance | ( | const FileName & | fn1, |
const FileName & | fn2, | ||
double | tolerance = 0. , |
||
size_t | index1 = 0 , |
||
size_t | index2 = 0 |
||
) |
binary comparison of two images with a tolerance factor
Definition at line 176 of file xmipp_image_extension.cpp.
Get datatype information from image file
Definition at line 54 of file xmipp_image_extension.cpp.
Definition at line 60 of file xmipp_image_extension.cpp.
void getImageInfo | ( | const FileName & | filename, |
size_t & | Xdim, | ||
size_t & | Ydim, | ||
size_t & | Zdim, | ||
size_t & | Ndim, | ||
DataType & | datatype | ||
) |
Get basic information from image file
Definition at line 38 of file xmipp_image_extension.cpp.
Definition at line 46 of file xmipp_image_extension.cpp.
void getImageSize | ( | const FileName & | filename, |
size_t & | Xdim, | ||
size_t & | Ydim, | ||
size_t & | Zdim, | ||
size_t & | Ndim | ||
) |
What is the size of an image
Definition at line 31 of file xmipp_image_extension.cpp.
bool isImage | ( | const FileName & | name | ) |