//=====================================================================
bool UltrasonixImageReader::CanRead(const std::string& filename)
{
//=====================================================================
bool UltrasonixImageReader::CanRead(const std::string& filename)
{
size = (ftell(Ultrasonix_file) - HEADER_SIZE * sizeof(int)) / sizeof(int);
// check if the data size corresponds to the dimensions of the images
size = (ftell(Ultrasonix_file) - HEADER_SIZE * sizeof(int)) / sizeof(int);
// check if the data size corresponds to the dimensions of the images