Skip to content

Commit

Permalink
Minor edits
Browse files Browse the repository at this point in the history
  • Loading branch information
ShrayanRoy committed Mar 7, 2024
1 parent c7d6431 commit e9d77ce
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 6 deletions.
20 changes: 17 additions & 3 deletions presentation/finalpresentation.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -182,11 +182,23 @@ Where,

* The model defined in last slide assumes that PSF is *shift invariant* i.e. same PSF applies to all pixels.

--

* In the context of defocus blur, PSF/ Blur Kernel is *spatially varying*.

--

```{r ,warning=FALSE,echo=FALSE,out.width='50%',fig.align='center',echo=FALSE,fig.cap= "Figure: Spatially Varying Blur Kernel"}
knitr::include_graphics("pimg/svarying.png")
```

---

# Model for Blurred Image

* Based on this observation we redefine our model for spatially varying case.

* We assume that $\boldsymbol{k_t}$ is shift invariant in a neighborhood ${\boldsymbol{\eta_t}}$ of size $p_1(\boldsymbol{t}) \times p_2(\boldsymbol{t})$ containing $\boldsymbol{t}$.

* Based on this assumption, our model for *spatially varying blur* is given by -
Expand All @@ -213,10 +225,12 @@ Where,
* **Uniform distribution** across a circular are defined by the radius of the circle, denoted by $r$.

$$k(x,y) = \frac{1}{\pi r^2} \times \text{I}_{\{x^2 + y^2 \ \leq \ r^2\}}$$
--

* **Gaussian distribution** across a circular area defined by the radius of the circle, denoted as $r$, and the scale parameter, represented as $h$.

$$k(x,y) = \frac{C_{h,r}}{2\pi h^2} e^{-\frac{x^2 + y^2}{2h^2}} \times \text{I}_{\{x^2 + y^2 \ \leq \ r^2\}}$$
--

* **Cauchy distribution** across a circular area defined by the radius of the circle, denoted as $r$, and the scale parameter $h$.

Expand Down Expand Up @@ -380,7 +394,7 @@ knitr::include_graphics("pimg/deconv_prob.png")

# Challenges in ML Estimation

* The choice of the prior parameter $\sigma$ plays an important role.
* The choice of the prior parameter $\sigma$ is playing an important role.

--

Expand Down Expand Up @@ -429,7 +443,7 @@ knitr::include_graphics("pimg/p201.png")

---

# An Application Using Local Patches
# An Application using Local Patches

```{r ,warning=FALSE,echo=FALSE,out.width='60%',fig.align='center',echo=FALSE,fig.cap="Figure: Application on real life image"}
Expand All @@ -450,7 +464,7 @@ knitr::include_graphics("pimg/ourap.png")

* But it may yield poor results in certain situations.

* We utilize segments obtained by the segmentation algorithm to estimate blur.
* We will use segments obtained by the segmentation algorithm to estimate blur.

---

Expand Down
20 changes: 17 additions & 3 deletions presentation/finalpresentation.html
Original file line number Diff line number Diff line change
Expand Up @@ -192,11 +192,23 @@

* The model defined in last slide assumes that PSF is *shift invariant* i.e. same PSF applies to all pixels.

--

* In the context of defocus blur, PSF/ Blur Kernel is *spatially varying*.

--

<div class="figure" style="text-align: center">
<img src="pimg/svarying.png" alt="Figure: Spatially Varying Blur Kernel" width="50%" />
<p class="caption">Figure: Spatially Varying Blur Kernel</p>
</div>

---

# Model for Blurred Image

* Based on this observation we redefine our model for spatially varying case.

* We assume that `\(\boldsymbol{k_t}\)` is shift invariant in a neighborhood `\({\boldsymbol{\eta_t}}\)` of size `\(p_1(\boldsymbol{t}) \times p_2(\boldsymbol{t})\)` containing `\(\boldsymbol{t}\)`.

* Based on this assumption, our model for *spatially varying blur* is given by -
Expand All @@ -223,10 +235,12 @@
* **Uniform distribution** across a circular are defined by the radius of the circle, denoted by `\(r\)`.

`$$k(x,y) = \frac{1}{\pi r^2} \times \text{I}_{\{x^2 + y^2 \ \leq \ r^2\}}$$`
--

* **Gaussian distribution** across a circular area defined by the radius of the circle, denoted as `\(r\)`, and the scale parameter, represented as `\(h\)`.

`$$k(x,y) = \frac{C_{h,r}}{2\pi h^2} e^{-\frac{x^2 + y^2}{2h^2}} \times \text{I}_{\{x^2 + y^2 \ \leq \ r^2\}}$$`
--

* **Cauchy distribution** across a circular area defined by the radius of the circle, denoted as `\(r\)`, and the scale parameter `\(h\)`.

Expand Down Expand Up @@ -390,7 +404,7 @@

# Challenges in ML Estimation

* The choice of the prior parameter `\(\sigma\)` plays an important role.
* The choice of the prior parameter `\(\sigma\)` is playing an important role.

--

Expand Down Expand Up @@ -430,7 +444,7 @@

---

# An Application Using Local Patches
# An Application using Local Patches

<div class="figure" style="text-align: center">
<img src="pimg/ourap.png" alt="Figure: Application on real life image" width="60%" />
Expand All @@ -451,7 +465,7 @@

* But it may yield poor results in certain situations.

* We utilize segments obtained by the segmentation algorithm to estimate blur.
* We will use segments obtained by the segmentation algorithm to estimate blur.

---

Expand Down

0 comments on commit e9d77ce

Please sign in to comment.