26 #ifndef CORE_XMIPP_IMAGE_EXTENSION_H_ 27 #define CORE_XMIPP_IMAGE_EXTENSION_H_ void getImageSize(const FileName &filename, size_t &Xdim, size_t &Ydim, size_t &Zdim, size_t &Ndim)
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
void getImageDatatype(const FileName &name, DataType &datatype)
void getImageInfo(const FileName &filename, size_t &Xdim, size_t &Ydim, size_t &Zdim, size_t &Ndim, DataType &datatype)
bool checkImageFileSize(const FileName &name, const ImageInfo &imgInfo, bool error=false)
bool isImage(const FileName &name)
bool checkImageCorners(const FileName &name)