kaczmarj / tumor-microenvironment-analysis

Code related to the analysis of tumor microenvironment in digital whole slide images.
0 stars 0 forks source link

only use exterior tumor boundaries #12

Closed kaczmarj closed 3 years ago

kaczmarj commented 3 years ago

This commit re-implements the tumor boundary as a MultiLineString object. The marker-positive multiline string contains the lines belonging to marker-positive blocks, and similar for marker-negative.

Additionally, this commit fixes the tumor microenvironment calculation. Now, it is a dilation of the tumor exterior, not of the entire tumor polygon. This means that now, we should not be selecting cells inside the tumor region (only within the microenvironment.

kaczmarj commented 3 years ago

fixes #11