Inputs: |
- is the binary gland mask. White regions are glands on a black background. |
- is binary the nuclei mask. White regions are nuclei on a black background. |
- is the binary maxima-seed mask. White regions are centroid locations of the gland objects. |
- is the lumen-clefting RGB image. Blue objects are lumen and green objects are periacinar retraction clefting on a white background. |
Output: |
- is the binary seed mask. White regions are seed objects on a black background. |
Function and variable description: |
- PIXEL-IN() returns all the white pixels in the binary image . DILATE() and DISTANCE-TRANSFORM() are the same functions as defined in Algorithm 2. |
- Given a binary image , defines a binary image with corresponding inverted pixel values. and are the Boolean operations defining pixel-wise AND and OR operations between and , respectively. |
- and are two sets containing positive and negative charged particles (pixels). |
- MAX-ENTROPY-THRESHOLD() thresholds using the entropy-based image thresholding method.47 Output is a binary image. |
Parameters: |
- Select number of dilation operations . This value for was optimized empirically. |
1: Procedure REFINE-SEEDS (, , , ) |
2: . |
3: Create binary lumen mask from . ⊳ indicate lumen in white. |
4: Sample some pixels along the edges of lumen objects () into . |
5: . ⊳ All the maxima seeds are added to . |
6: Extract approximate centroids of nuclei in into . ⊳ Remove nuclei from the gland regions. |
7: . |
8: . |
9: . ⊳ Pixel-wise multiplication of two real valued images. |
10: Linearly rescale to values within [0, 255] for further numerical operations. |
11: . |
12: Fill holes in image. |
13: . ⊳ Unify all the seeds. |
14: return seed mask . |
15: end procedure
|