MCPcopy Create free account
hub / github.com/computationalpathologygroup/ASAP / getTileIndex

Method getTileIndex

multiresolutionimageinterface/LIFImage.cpp:291–300  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

289}
290
291int LIFImage::getTileIndex(int index) {
292 int count = 0;
293 for (int tile=0; tile < _tileCount.size(); ++tile) {
294 if (index < count + _tileCount[tile]) {
295 return tile;
296 }
297 count += _tileCount[tile];
298 }
299 return -1;
300}
301
302void* LIFImage::readDataFromImage(const long long& startX, const long long& startY, const unsigned long long& width,
303 const unsigned long long& height, const unsigned int& level) {

Callers

nothing calls this directly

Calls 1

sizeMethod · 0.80

Tested by

no test coverage detected