A computer implemented method of generating at least one shape of a
region of interest in a
digital image is provided. The method includes obtaining, by an
image processing engine, access to a digital tissue image of a biological sample; tiling, by the
image processing engine, the digital tissue image into a collection of image patches; identifying, by the
image processing engine, a set of
target tissue patches from the collection of image patches as a function of pixel content within the collection of image patches; assigning, by the image
processing engine, each
target tissue patch of the set of
target tissue patches an initial class probability
score indicating a probability that the target tissue patch falls within a class of interest, the initial class probability
score generated by a trained classifier executed on each target tissue patch; generating, by the image
processing engine, a first set of tissue region seed patches by identifying target tissue patches having initial class probability scores that satisfy a first seed region criteria, the first set of tissue region seed patches comprising a subset of the set of target tissue patches; generating, by the image
processing engine, a second set of tissue region seed patches by identifying target tissue patches having initial class probability scores that satisfy a second seed region criteria, the second set of tissue region seed patches comprising a subset of the set of target tissue patches; calculating, by the image processing engine, a
region of interest score for each patch in the second set of tissue region seed patches as a function of initial class probability scores of neighboring patches of the second set of tissue region seed patches and a distance to patches within the first set of issue region seed patches; and generating, by the image processing engine, one or more
region of interest shapes by grouping neighboring patches based on their region of interest scores.