|
49 | 49 | "\n", |
50 | 50 | "* **manual_bounds**: use given xy coordinate bounds provided by the 'bounds' param\n", |
51 | 51 | "\n", |
52 | | - "* **polygonal_bounds**: use manually-drawn polygonal (or rectanglar) ROI boundaries\n", |
| 52 | + "* **polygonal_bounds**: use manually-drawn polygonal (or rectangular) ROI boundaries\n", |
53 | 53 | "\n", |
54 | 54 | "**Here is a sample result:**\n", |
55 | 55 | "\n", |
|
156 | 156 | "\n", |
157 | 157 | "- ```group```: group name of annotation (string), eg. \"mostly_tumor\"\n", |
158 | 158 | "- ```overlay_order```: int, how early to place the annotation in the\n", |
159 | | - " mask. Larger values means this annotation group is overlayed\n", |
| 159 | + " mask. Larger values means this annotation group is overlaid\n", |
160 | 160 | " last and overwrites whatever overlaps it.\n", |
161 | 161 | "- ```GT_code```: int, desired ground truth code (in the semantic segmentation mask)\n", |
162 | 162 | " Pixels of this value belong to corresponding group (class)\n", |
163 | 163 | "- ```is_roi```: Flag for whether this group marks 'special' annotations that encode the ROI boundary\n", |
164 | 164 | "- ```is_background_class```: Flag, whether this group is the default\n", |
165 | | - " fill value inside the ROI. For example, you may descide that\n", |
| 165 | + " fill value inside the ROI. For example, you may decide that\n", |
166 | 166 | " any pixel inside the ROI is considered stroma.\n", |
167 | 167 | " \n", |
168 | 168 | "**NOTE:** \n", |
|
213 | 213 | "parameters. The method output includes the RGB image of the defined region, \n", |
214 | 214 | "the corresponding semantic segmentation mask, xy coordinates of annotations relative \n", |
215 | 215 | "to the mask, and a visualization overlay of the annotations on the RGB image that\n", |
216 | | - "mimicks the HistomicsUI visualization of the region.\n", |
| 216 | + "mimics the HistomicsUI visualization of the region.\n", |
217 | 217 | "\n", |
218 | 218 | "The function ``get_image_and_mask_from_slide()`` implements mask generation." |
219 | 219 | ] |
|
248 | 248 | " each entry is in turn a dict with the following keys:\n", |
249 | 249 | " - group: group name of annotation (string), eg. mostly_tumor\n", |
250 | 250 | " - overlay_order: int, how early to place the annotation in the\n", |
251 | | - " mask. Larger values means this annotation group is overlayed\n", |
| 251 | + " mask. Larger values means this annotation group is overlaid\n", |
252 | 252 | " last and overwrites whatever overlaps it.\n", |
253 | 253 | " - GT_code: int, desired ground truth code (in the mask)\n", |
254 | 254 | " Pixels of this value belong to corresponding group (class)\n", |
255 | 255 | " - is_roi: Flag for whether this group encodes an ROI\n", |
256 | 256 | " - is_background_class: Flag, whether this group is the default\n", |
257 | | - " fill value inside the ROI. For example, you may descide that\n", |
| 257 | + " fill value inside the ROI. For example, you may decide that\n", |
258 | 258 | " any pixel inside the ROI is considered stroma.\n", |
259 | 259 | "\n", |
260 | 260 | " MPP : float or None\n", |
|
312 | 312 | " get annotation contours? (relative to final mask)\n", |
313 | 313 | "\n", |
314 | 314 | " get_visualization : bool\n", |
315 | | - " get overlayed annotation bounds over RGB for visualization\n", |
| 315 | + " get overlaid annotation bounds over RGB for visualization\n", |
316 | 316 | "\n", |
317 | 317 | " tau : int\n", |
318 | 318 | " maximum difference (in pixels) between fetched image and mask allowed.\n", |
|
807 | 807 | " each entry is in turn a dict with the following keys:\n", |
808 | 808 | " - group: group name of annotation (string), eg. mostly_tumor\n", |
809 | 809 | " - overlay_order: int, how early to place the annotation in the\n", |
810 | | - " mask. Larger values means this annotation group is overlayed\n", |
| 810 | + " mask. Larger values means this annotation group is overlaid\n", |
811 | 811 | " last and overwrites whatever overlaps it.\n", |
812 | 812 | " - GT_code: int, desired ground truth code (in the mask)\n", |
813 | 813 | " Pixels of this value belong to corresponding group (class)\n", |
814 | 814 | " - is_roi: Flag for whether this group encodes an ROI\n", |
815 | 815 | " - is_background_class: Flag, whether this group is the default\n", |
816 | | - " fill value inside the ROI. For example, you may descide that\n", |
| 816 | + " fill value inside the ROI. For example, you may decide that\n", |
817 | 817 | " any pixel inside the ROI is considered stroma.\n", |
818 | 818 | "\n", |
819 | 819 | " save_directories : dict\n", |
|
822 | 822 | " - ROI: path to save masks (labeled images)\n", |
823 | 823 | " - rgb: path to save rgb images\n", |
824 | 824 | " - contours: path to save annotation contours\n", |
825 | | - " - visualization: path to save rgb visualzation overlays\n", |
| 825 | + " - visualization: path to save rgb visualization overlays\n", |
826 | 826 | "\n", |
827 | 827 | " get_image_and_mask_from_slide_kwargs : dict\n", |
828 | 828 | " kwargs to pass to get_image_and_mask_from_slide()\n", |
|
852 | 852 | " - ROI: path to saved mask (labeled image)\n", |
853 | 853 | " - rgb: path to saved rgb image\n", |
854 | 854 | " - contours: path to saved annotation contours\n", |
855 | | - " - visualization: path to saved rgb visualzation overlay\n", |
| 855 | + " - visualization: path to saved rgb visualization overlay\n", |
856 | 856 | "\n", |
857 | 857 | " \n" |
858 | 858 | ] |
|
0 commit comments