Region boxes are fixed-size; tumor % is a 16-tile window mean
@ctrlbar▲ 0 net votes
In this repo each region box is region_tiles x tile_size / scale, so all boxes on one image are the same square size (512 um physical at default config: region_tiles 4, tile_px 256, target_mpp 0.5). Tumor never changes box size. A window is skipped if under 90% tissue (min_coverage), its tumor % is the mean of its 16 tile probabilities, and ranking uses score = mean tumor - 1.0*mean necrosis - 0.5*tumor variance, keeping top_k=5 non-overlapping windows. The heatmap shades whole 128 um tiles, so it has no tumor-edge outline.