14 #ifndef SUPPORT_OPENSLIDE_H_ 15 #define SUPPORT_OPENSLIDE_H_ 38 extern bool OpenSlideRead(
const ecvl::filesystem::path& filename, Image& dst,
const int level,
const std::vector<int>& dims);
48 extern bool OpenSlideGetLevels(
const ecvl::filesystem::path& filename, std::vector<std::array<int, 2>>& levels);
55 #endif // SUPPORT_OPENSLIDE_H_ bool OpenSlideGetLevels(const ecvl::filesystem::path &filename, std::vector< std::array< int, 2 >> &levels)
Get width and height for each level of a whole-slide image.
bool OpenSlideRead(const ecvl::filesystem::path &filename, Image &dst, const int level, const std::vector< int > &dims)
Loads a region of a whole-slide image file.