Returns the micro-per-pixel resolution of the whole slide image at a given level. Args: wsi: a whole slide image object loaded from a file. level: the level number where the mpp is calculated.
(self, wsi, level: int)
| 658 | return self.reader.get_file_path(wsi) |
| 659 | |
| 660 | def get_mpp(self, wsi, level: int) -> tuple[float, float]: |
| 661 | """ |
| 662 | Returns the micro-per-pixel resolution of the whole slide image at a given level. |
| 663 | |
| 664 | Args: |
| 665 | wsi: a whole slide image object loaded from a file. |
| 666 | level: the level number where the mpp is calculated. |
| 667 | |
| 668 | """ |
| 669 | return self.reader.get_mpp(wsi, level) |
| 670 | |
| 671 | def get_wsi_at_mpp( |
| 672 | self, wsi, mpp: float | tuple[float, float], atol: float = 0.00, rtol: float = 0.05 |
no outgoing calls