tumourkit.segmentation.hovernet.models.hovernet.targets.gen_instance_hv_map
- tumourkit.segmentation.hovernet.models.hovernet.targets.gen_instance_hv_map(ann, crop_shape)
Input annotation must be of original shape.
The map is calculated only for instances within the crop portion but based on the original shape in original image.
Perform following operation: Obtain the horizontal and vertical distance maps for each nuclear instance.