+ All Categories
Home > Documents > A Natural-Scene Gradient Distribution Prior ... - MOSAIC...

A Natural-Scene Gradient Distribution Prior ... - MOSAIC...

Date post: 03-Aug-2020
Category:
Upload: others
View: 1 times
Download: 0 times
Share this document with a friend
13
Supplementary Material to Article: “A Natural-Scene Gradient Distribution Prior and its Application in Light-Microscopy Image Processing” Yuanhao Gong and Ivo F. Sbalzarini [email protected] MOSAIC Group, Chair of Scientific Computing for Systems Biology Faculty of Computer Science, TU Dresden & Center for Systems Biology Dresden, Max Planck Institute of Molecular Cell Biology and Genetics, Dresden, Germany. 1
Transcript
Page 1: A Natural-Scene Gradient Distribution Prior ... - MOSAIC Groupmosaic.mpi-cbg.de/docs/Gong2016_Suppl.pdf · MOSAIC Group, Chair of Scienti c Computing for Systems Biology ... Table

Supplementary Material to Article:

“A Natural-Scene Gradient Distribution Prior and its Application in

Light-Microscopy Image Processing”

Yuanhao Gong and Ivo F. [email protected]

MOSAIC Group, Chair of Scientific Computing for Systems BiologyFaculty of Computer Science, TU Dresden &

Center for Systems Biology Dresden, Max Planck Institute ofMolecular Cell Biology and Genetics, Dresden, Germany.

1

Page 2: A Natural-Scene Gradient Distribution Prior ... - MOSAIC Groupmosaic.mpi-cbg.de/docs/Gong2016_Suppl.pdf · MOSAIC Group, Chair of Scienti c Computing for Systems Biology ... Table

1 Supplementary Figures

Number of Pixels

CP

U t

ime

(sec

ond

s)

0 5 10 150

1

2

3

4

× 104

× 10-3

ModelHyper Laplacian

slope = 1.98

slope = 4.3

× 10-8

× 10-9

(a) CPU time for evaluating the models.

Number of Pixels

CP

U t

ime

(sec

ond

s)

0 5 10 150

1

2

3

4

5

6

7

× 104

× 10-3

ModelHyper Laplacian

slope = 2

slope = 1.4

× 10-8

× 10-9

(b) CPU time for evaluating the model gradients.

Figure 1: CPU time for our model (Eq. 7 in main text) and model gradient evaluations, compared withthe hyper-Laplacian model. Timings using Matlab on an Apple MacBook Pro (early 2011).

2

Page 3: A Natural-Scene Gradient Distribution Prior ... - MOSAIC Groupmosaic.mpi-cbg.de/docs/Gong2016_Suppl.pdf · MOSAIC Group, Chair of Scienti c Computing for Systems Biology ... Table

(a) original (b) blurred (c) with noise (d) SR (nearest) (e) SR (bicubic) (f) bilateral flt. (g) guided filter

(h) C(T=0.40) (i) C(T=0.72) (j) C(T=0.03) (k) C(T=0.84) (l) C(T=0.80) (m) C(T=0.60) (n) C(T=0.58)

Figure 2: The gradient CDF (bottom row) is sensitive to image transformations (original image is from:beyondthehumaneye.blogspot.de). For the blurred image (Gaussian blur, σ = 3), the frequency of smallgradients is increased. For the noisy image (10% Gaussian noise), the frequency of large gradientsis increased. For the zoomed (SR) image (upsampling factor 9), the frequency of small gradients isincreased. For the bilateral filter (w = 5, σs = 3, σc = 0.1) and the guided filter (r = 10, ε = 0.01), thefrequency of small gradients is increased.

3

Page 4: A Natural-Scene Gradient Distribution Prior ... - MOSAIC Groupmosaic.mpi-cbg.de/docs/Gong2016_Suppl.pdf · MOSAIC Group, Chair of Scienti c Computing for Systems Biology ... Table

Gx

Log

( pr

obab

lity

)

-200 -100 0 100 200-25

-20

-15

-10

-5

0

0

0.2

0.4

0.6

0.8

1

(a) Marginal gradient distributions in log scale ofall training images (one curve per image). Colorindicates scaled density of curves.

Gx

Log

( p

rob

abil

ity

)

-200 -100 0 100 200-25

-20

-15

-10

-5

0

1

2

3

4 × 10-4

Data

(b) Our model with changing parameter a2

(coded by color) and other parameters fixed attheir best fit: b2 = 5.4, c2 = −0.266.

Gx

Log

( p

rob

abil

ity

)

-200 -100 0 100 200-25

-20

-15

-10

-5

0

0.5

0.52

0.54

0.56

0.58

0.6Data

(c) Hyper-Laplacian model with changing param-eter b1 (color) and other parameters fixed at theirbest fit.

Figure 3: Sensitivity analysis of our model compared with the hyper-Laplacian model. Parameter a2varies from 1× 10−4 to 4× 10−4 with step size 2× 10−5. For the hyper-Laplacian model, b1 varies from0.5 to 0.6 with step size 0.01.

4

Page 5: A Natural-Scene Gradient Distribution Prior ... - MOSAIC Groupmosaic.mpi-cbg.de/docs/Gong2016_Suppl.pdf · MOSAIC Group, Chair of Scienti c Computing for Systems Biology ... Table

Curvature

Log

(P

rob

abil

ity)

-1000 -500 0 500 1000-25

-20

-15

-10

-5

0Gaussian CurvatureMean CurvatureLaplace Operator

(a) Second order properties.

from Gradient Field

from

Lap

lace

Fie

ld

0 0.5 1 1.5 2 2.5 30

0.5

1

1.5

2

2.5

Nf

Nf

(b) Correlation

Figure 4: (a) Average distributions of Gaussian curvature, mean curvature, and Laplace operator responseacross all training images of our natural-scene image dataset. (b) The naturalness factors computed fromthe gradient and the Laplacian distributions are highly correlated.

5

Page 6: A Natural-Scene Gradient Distribution Prior ... - MOSAIC Groupmosaic.mpi-cbg.de/docs/Gong2016_Suppl.pdf · MOSAIC Group, Chair of Scienti c Computing for Systems Biology ... Table

2 Supplementary Tables

Solver Cholesky8 Jacobi Gauss-Seidel SORType direct iterative iterative iterative

Complexity (mn)3 (mn)2 (mn)2 (mn)3/2

Solver Cholesky9 FFT Multigrid WaveletType direct direct iterative direct

Complexity (mn)3/2 (mn) log(mn) (mn) (mn)

Table 1: Summary of Poisson solvers. The FFT and Wavelet-based solvers are implemented in oursoftware. The total number of pixels in the image is (nm), with n and m the numbers of pixels alongeach dimension.

8dense Cholesky decomposition9sparse Cholesky decomposition

6

Page 7: A Natural-Scene Gradient Distribution Prior ... - MOSAIC Groupmosaic.mpi-cbg.de/docs/Gong2016_Suppl.pdf · MOSAIC Group, Chair of Scienti c Computing for Systems Biology ... Table

3 Supplementary Text

3.1 Proof of Lemma VII.1

Proof. Let v = |∇U |22 andW = apr+bpr−v

(bpr+v)2= 0. Then we have quadratic equation apr(bpr+v)2+bpr−v =

0.

If aprbpr ≥ 18 , then W ≥ 0.

If aprbpr <18 , then vL =

1−2aprbpr−√

1−8aprbpr2apr

and vU =1−2aprbpr+

√1−8aprbpr

2aprsuch that{

W < 0 when vL ≤ v ≤ vUW > 0 otherwise

(1)

7

Page 8: A Natural-Scene Gradient Distribution Prior ... - MOSAIC Groupmosaic.mpi-cbg.de/docs/Gong2016_Suppl.pdf · MOSAIC Group, Chair of Scienti c Computing for Systems Biology ... Table

3.2 Zooming / Super Resolution

Zooming or super-resolution (SR) is the process of up-sampling an image (or a part of an image) onto alarger grid of pixels. Increasing the number of pixels in the image while keeping the field of view the samehence increases the image resolution, albeit not the optical resolution. The interesting question is thenhow to interpolate the image information onto the finer pixel grid where no information is available onthe coarse input grid. We show here how the same algorithm as used in the main text for deconvolutioncan also be used for zooming.

The only change from the deconvolution model is that we use an up-sampled U (i.e., U has more pixelsthan I) and a known Gaussian kernel K(~x) = 1√

2πσe−|~x|

22/σ

2. We hence do not need to use alternating

minimization, because the kernel is known in this application. An example is shown in Suppl. Fig. 5.It is instructive to compare the resulting zoomed image with an image of the same sample acquiredby a true super-resolution microscopy technique (here: PALM microscopy, photo-activated localizationmicroscopy).

While zooming with the present algorithm renders the image crisper (due to the deconvolution kernel)and better resolved (due to the finer pixel grid), it does not actually improve the optical resolution of themicroscope. This can nicely be observed when two filaments cross. In the zoomed image there is a gap atthe crossing point, whereas the PALM microscopy image properly resolves both filaments crossing.

8

Page 9: A Natural-Scene Gradient Distribution Prior ... - MOSAIC Groupmosaic.mpi-cbg.de/docs/Gong2016_Suppl.pdf · MOSAIC Group, Chair of Scienti c Computing for Systems Biology ... Table

(a) original, 128 × 128 pixel

(b) zoomed, 512 × 512 pixel

(c) PALM, 512 × 512 pixel

Figure 5: Zooming using the GDP. Panel (b) shows the zoomed version (up-sampling factor 4) of thefluorescently labeled microtubules in (a) as computed using the present method. Panel (c) shows a realsuper-resolution PALM image of the same scene for comparison. ((a)&(c) from: EPFL Collection ofReference Datasets, bigwww.epfl.ch/smlm/datasets/index.html?p=real-hd)

9

Page 10: A Natural-Scene Gradient Distribution Prior ... - MOSAIC Groupmosaic.mpi-cbg.de/docs/Gong2016_Suppl.pdf · MOSAIC Group, Chair of Scienti c Computing for Systems Biology ... Table

3.3 GDP in image windows

(a) Different local image patches.

Log

(P

roba

bilit

y)

-200 -100 0 100 200-12

-10

-8

-6

-4

-2

0

(b) Gradient distributions in these patches.

(c) Mitochondria (red) and synapses (blue) imaged by elec-tron microscopy.

-200 -100 0 100 2000

0.005

0.01

0.015

0.02

0.025

0.03

0.035MithocondriaSynapses

(d) Average gradient distributions.

Figure 6: Gradient distributions in local image regions are invariant, provided the regions are largeenough for stable histogram estimation. (a) An example microscopy image with three different regionsunpainted in different color. (b) The gradient histograms in these three regions of corresponding color.(c) A transmission electron micrograph (ssTEM) image of the Drosophila first instar larva ventral nervecord (VNC) with a resolution of 4× 4× 50 nm/pixel [1]. (d) The gradient distributions within manuallysegmented mitochondria and synapses (all regions pooled) are almost identical.

Since the GDP is stable with image contents, it is also valid on sub-images and image regions. As shownin Suppl. Fig. 6(a,b), the gradient distribution is insensitive to the position, size, and shape of the patch.This is confirmed for an electron-microscopy image in Suppl. Fig. 6(c,d). The image shows a transmissionelectron micrograph (ssTEM) of the Drosophila first instar larva ventral nerve cord (VNC) from [1]. Thegradient distributions within manually segmented mitochondria and synapses (all regions pooled) are

10

Page 11: A Natural-Scene Gradient Distribution Prior ... - MOSAIC Groupmosaic.mpi-cbg.de/docs/Gong2016_Suppl.pdf · MOSAIC Group, Chair of Scienti c Computing for Systems Biology ... Table

almost identical, as shown in Suppl. Fig. 6(d). This suggests that the GDP can be straightforwardlyextended to multi-region methods.

Clearly, the GDP loses its validity when applied to small image patches that contain little or no internalstructure. As the size of a local window decreases, we transition from a macroscopic view (entropy)to a microscopic view (pixel histogram). Since the GDP is a macroscopic quantity, it is only valid forlarge-enough image patches where the gradient histogram can be estimated with statistical significance.But how large is large enough? Unfortunately, there is no sharp transition. To quantitatively see this,we define the naturalness map for a local window of edge length w as:

Nw(x, y) =

∫∫p(~G) log

(p(~G)

ppr

)dGxdGy, (2)

where x ∈ [x − w, x + w], y ∈ [y − w, y + w]. This quantifies the distance (KL-divergence) between theGDP and the gradient distribution in each local window. Computed for every image patch, this providesa map of how the image naturalness varies across space. Two examples are shown in Suppl. Fig. 7. Theaverage and median values of Nw across all patches are plotted in Suppl. Fig. 7(e,j) when the windowsize decreases from 60 to 8 pixel edge length w. These plots show how the gradient distribution graduallydiverges from the macroscopic GDP as the window size decreases. It seems that this behavior of priorinvalidation is independent of image contents, as shown in Suppl. Fig. 8.

(a) original (b) w = 32 (c) w = 16 (d) w = 8

window size0102030405060

0.2

0.4

0.6

0.8

1

1.2

1.4

1.6

MeanMedian

Macroscopic Microscopic

(e) Nw average andmedian

(f) original (g) w = 32 (h) w = 16 (i) w = 8

window size0102030405060

0

0.5

1

1.5

2

MeanMedian

Macroscopic Microscopic

(j) Nw average andmedian

Figure 7: Decreasing the local window size w, the gradient distribution prior increasingly differs from theempirical distribution within the windows. The original image is shown followed by naturalness mapscomputed in increasingly smaller moving window sizes w. The panels (e,j) show how both the meanand the median distance Nw between the GDP and all local windows gradually diverge with decreasingwindow size w.

11

Page 12: A Natural-Scene Gradient Distribution Prior ... - MOSAIC Groupmosaic.mpi-cbg.de/docs/Gong2016_Suppl.pdf · MOSAIC Group, Chair of Scienti c Computing for Systems Biology ... Table

(a) parrots (b) monarch (c) Lena

window size020406080

0

0.5

1

1.5

2

ParrotsMonarchLena

(d) Nw average

Figure 8: Three examples suggesting that the behavior of Nw with patch size is independent of imagecontents.

12

Page 13: A Natural-Scene Gradient Distribution Prior ... - MOSAIC Groupmosaic.mpi-cbg.de/docs/Gong2016_Suppl.pdf · MOSAIC Group, Chair of Scienti c Computing for Systems Biology ... Table

References

[1] A. Cardona, S. Saalfeld, S. Preibisch, B. Schmid, A. Cheng, J. Pulokas, P. Tomancak, and V. Harten-stein, “An integrated micro- and macroarchitectural analysis of the Drosophila brain by computer-assisted serial section electron microscopy,” PLoS Biol, vol. 8, no. 10, 2010.

13


Recommended