Bubble Segmentation BasedBubble Segmentation Based on...

21
Bubble Segmentation Based Bubble Segmentation Based on Shape From Shading for In-Situ Microscopy Geovanni Martinez 1 , J.-G. Frerichs 2 and T. Scheper 2 1 Image Processing and Computer Vision Research Laboratory (IPCV-LAB), Universidad de Costa Rica 2 Institute of Technical Chemistry (TCI), Leibniz Universität Hannover CONIELECOMP 2011 Ch l l P bl M i M h 2011 CONIELECOMP 2011, Cholula, Puebla, Mexico, March 2011

Transcript of Bubble Segmentation BasedBubble Segmentation Based on...

Page 1: Bubble Segmentation BasedBubble Segmentation Based on ...ipcv-lab.eie.ucr.ac.cr/sites/ipcv-lab.eie.ucr.ac...Cell cluster Bubble excluded from cell counting. Summary A bubble segmentation

Bubble Segmentation BasedBubble Segmentation Based on Shape From Shading for p g

In-Situ MicroscopyGeovanni Martinez1, J.-G. Frerichs2 and T. Scheper2

1Image Processing and Computer Vision Research Laboratory (IPCV-LAB), Universidad de Costa Rica

2Institute of Technical Chemistry (TCI), Leibniz Universität Hannover

CONIELECOMP 2011 Ch l l P bl M i M h 2011CONIELECOMP 2011, Cholula, Puebla, Mexico, March 2011

Page 2: Bubble Segmentation BasedBubble Segmentation Based on ...ipcv-lab.eie.ucr.ac.cr/sites/ipcv-lab.eie.ucr.ac...Cell cluster Bubble excluded from cell counting. Summary A bubble segmentation

OverviewOverview IntroductionProblemApproachppBubble segmentation algorithmExperimental resultsSummarySummary

Page 3: Bubble Segmentation BasedBubble Segmentation Based on ...ipcv-lab.eie.ucr.ac.cr/sites/ipcv-lab.eie.ucr.ac...Cell cluster Bubble excluded from cell counting. Summary A bubble segmentation

IntroductionIntroductionOn-line automatic cell counting with no risk of culture contamination

in situ microscopebioreactor

cells

in-situ microscope

captured

FireWireCCD

cell image

samplingCCD camera

imageanalysis

zone

cell counting analysiscell counting

Assumptions: the cells are round and they aggregate forming symmetrical 3D clusters up to three-layers high

Page 4: Bubble Segmentation BasedBubble Segmentation Based on ...ipcv-lab.eie.ucr.ac.cr/sites/ipcv-lab.eie.ucr.ac...Cell cluster Bubble excluded from cell counting. Summary A bubble segmentation

IntroductionIntroduction3D Cell Counting1) Capture an intensity image I

Cell cluster

Page 5: Bubble Segmentation BasedBubble Segmentation Based on ...ipcv-lab.eie.ucr.ac.cr/sites/ipcv-lab.eie.ucr.ac...Cell cluster Bubble excluded from cell counting. Summary A bubble segmentation

IntroductionIntroduction3D Cell Counting2) Estimate the local intensity

variance at each pixel positionvariance at each pixel position

Variance image V

Page 6: Bubble Segmentation BasedBubble Segmentation Based on ...ipcv-lab.eie.ucr.ac.cr/sites/ipcv-lab.eie.ucr.ac...Cell cluster Bubble excluded from cell counting. Summary A bubble segmentation

IntroductionIntroduction3D Cell Counting3) Classify all the pixels of the

variance image V into pixels ofvariance image V into pixels of the background and pixels of the cell clusters by using the threshold ththreshold thm

Vi ≤ thm : background (black)Vi > thm : cell cluster (white)

segmented cell cluster k

i m

Estimate thm by maximizing a likelihood function accordinglikelihood function according to Kittler

C i l ifi i bCorrect misclassifications by applying particle filtering

Page 7: Bubble Segmentation BasedBubble Segmentation Based on ...ipcv-lab.eie.ucr.ac.cr/sites/ipcv-lab.eie.ucr.ac...Cell cluster Bubble excluded from cell counting. Summary A bubble segmentation

IntroductionIntroduction3D Cell Counting4) Extract the edges of cell

clusters by applying theclusters by applying the Smallest Univalue Segment Assimilating Nucleus algorithm (SUSAN algorithm) to the(SUSAN algorithm) to the intensity image I

Page 8: Bubble Segmentation BasedBubble Segmentation Based on ...ipcv-lab.eie.ucr.ac.cr/sites/ipcv-lab.eie.ucr.ac...Cell cluster Bubble excluded from cell counting. Summary A bubble segmentation

IntroductionIntroduction3D Cell Counting5) Estimate the average cell

radius Rk of each segmented k gcell cluster k by maximizing the variance of the circular Hough transform of the edges inside the cluster

,..3,2,1)()( 2,

2, =∀≥ rHH krkRk

σσ Rk

Page 9: Bubble Segmentation BasedBubble Segmentation Based on ...ipcv-lab.eie.ucr.ac.cr/sites/ipcv-lab.eie.ucr.ac...Cell cluster Bubble excluded from cell counting. Summary A bubble segmentation

IntroductionIntroduction3D Cell Counting6) Estimate the 3D shape (depth

map) of the cell clusters bymap) of the cell clusters by applying the Bichsel and Pentland’s Shape from Shading algorithm to the Cell cluster 3D shapeShading algorithm to the intensity image I

Cell cluster 3D shape

Page 10: Bubble Segmentation BasedBubble Segmentation Based on ...ipcv-lab.eie.ucr.ac.cr/sites/ipcv-lab.eie.ucr.ac...Cell cluster Bubble excluded from cell counting. Summary A bubble segmentation

IntroductionIntroduction3D Cell Counting7) Quantize the estimated depth

map up to 3 layers andmap up to 3 layers and compute the image regions of the parallel projections of the 3 layers into the image plane3 layers into the image plane

First layer

Second layer

Third layer

Page 11: Bubble Segmentation BasedBubble Segmentation Based on ...ipcv-lab.eie.ucr.ac.cr/sites/ipcv-lab.eie.ucr.ac...Cell cluster Bubble excluded from cell counting. Summary A bubble segmentation

IntroductionIntroduction3D Cell Counting8) Estimate the number of cells

D(k) in each segmented cellD(k) in each segmented cell cluster k as follows:

,)(2)(2)()( 2321 kAkAkAkD ⋅+⋅+

= ,)( 2kR

kD⋅π

where A1(k), A2(k) and A3(k) are the areas of the image

D(k)are the areas of the image regions of the parallel projections of the first-, second and third layers of thesecond- and third-layers of the cell cluster k into the image plane

Page 12: Bubble Segmentation BasedBubble Segmentation Based on ...ipcv-lab.eie.ucr.ac.cr/sites/ipcv-lab.eie.ucr.ac...Cell cluster Bubble excluded from cell counting. Summary A bubble segmentation

ProblemProblemWhat happen when there are

bubbles in the scene?

3D Cell Counting fails !

Thus, the image regions of the bubbles must be segmented and excluded from cell

Cell cluster

and excluded from cell counting

But, how can we segment the bubble regions?

Page 13: Bubble Segmentation BasedBubble Segmentation Based on ...ipcv-lab.eie.ucr.ac.cr/sites/ipcv-lab.eie.ucr.ac...Cell cluster Bubble excluded from cell counting. Summary A bubble segmentation

ApproachApproachReuse the previously estimated depth map

First, segment the bubble boundaries by pixel classification comparing the depth at each pixel position todepth at each pixel position to a high threshold value

Then obtain the completeThen, obtain the complete bubble regions by filling in each one of the segmented bubble boundaries

Page 14: Bubble Segmentation BasedBubble Segmentation Based on ...ipcv-lab.eie.ucr.ac.cr/sites/ipcv-lab.eie.ucr.ac...Cell cluster Bubble excluded from cell counting. Summary A bubble segmentation

Bubble Segmentation AlgorithmBubble Segmentation Algorithm1) Re-scale and quantize the

estimated depth map to 256 levelslevels

Cell cluster

Re-scaled and quantized depth map D

Page 15: Bubble Segmentation BasedBubble Segmentation Based on ...ipcv-lab.eie.ucr.ac.cr/sites/ipcv-lab.eie.ucr.ac...Cell cluster Bubble excluded from cell counting. Summary A bubble segmentation

Bubble Segmentation AlgorithmBubble Segmentation Algorithm2) Classify all the pixels of the re-

scaled and quantized depth map D into pixels of themap D into pixels of the background and pixels of the bubble boundaries by using the heuristically found highheuristically found high threshold value of 240

segmented cell cluster k

Di ≤ 240 : background (black)Di > 240 : bubble

boundary (white)boundary (white)

Page 16: Bubble Segmentation BasedBubble Segmentation Based on ...ipcv-lab.eie.ucr.ac.cr/sites/ipcv-lab.eie.ucr.ac...Cell cluster Bubble excluded from cell counting. Summary A bubble segmentation

Bubble Segmentation AlgorithmBubble Segmentation Algorithm3) Fill in with white the black hole

inside each segmented bubble boundaryboundary

Cell cluster

Page 17: Bubble Segmentation BasedBubble Segmentation Based on ...ipcv-lab.eie.ucr.ac.cr/sites/ipcv-lab.eie.ucr.ac...Cell cluster Bubble excluded from cell counting. Summary A bubble segmentation

Experimental ResultsExperimental ResultsAverage processing time 2.62

sec/image

High reliability and accuracy

Contours of the segmented bubbles overlapped with the original image

Cell cluster

the original image

Page 18: Bubble Segmentation BasedBubble Segmentation Based on ...ipcv-lab.eie.ucr.ac.cr/sites/ipcv-lab.eie.ucr.ac...Cell cluster Bubble excluded from cell counting. Summary A bubble segmentation

Experimental ResultsExperimental Results

Cell cluster

Page 19: Bubble Segmentation BasedBubble Segmentation Based on ...ipcv-lab.eie.ucr.ac.cr/sites/ipcv-lab.eie.ucr.ac...Cell cluster Bubble excluded from cell counting. Summary A bubble segmentation

Experimental ResultsExperimental Results

Cell cluster

Page 20: Bubble Segmentation BasedBubble Segmentation Based on ...ipcv-lab.eie.ucr.ac.cr/sites/ipcv-lab.eie.ucr.ac...Cell cluster Bubble excluded from cell counting. Summary A bubble segmentation

Experimental ResultsExperimental Results

Cell cluster

Bubble excluded from cell counting

Page 21: Bubble Segmentation BasedBubble Segmentation Based on ...ipcv-lab.eie.ucr.ac.cr/sites/ipcv-lab.eie.ucr.ac...Cell cluster Bubble excluded from cell counting. Summary A bubble segmentation

SummarySummary A bubble segmentation algorithm was proposed

First, the bubble boundaries are segmented by thresholding a depth g y g pmap using a high threshold value, where the depth map is estimated by applying the Bichsel and Pentland`s Shape From Shading algorithm

h h d b bbl b d f ll d b d hThen, the segmented bubble boundaries are filled in to obtained the complete bubble regions

h l l l d f 2 2The experimental results revealed an average processing time of 2.62 sec/image and very promising bubble segmentation results