Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
C
cuda_lab
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Gaurav Kukreja
cuda_lab
Commits
34242ece
Commit
34242ece
authored
Apr 03, 2014
by
Miklós Homolya
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Almost final version
parent
8f11a814
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
41 additions
and
27 deletions
+41
-27
binary_in.png
FinalPresentation/binary_in.png
+0
-0
binary_out.png
FinalPresentation/binary_out.png
+0
-0
camera_in.png
FinalPresentation/camera_in.png
+0
-0
camera_out.png
FinalPresentation/camera_out.png
+0
-0
segmentation.pdf
FinalPresentation/segmentation.pdf
+0
-0
segmentation.tex
FinalPresentation/segmentation.tex
+41
-27
No files found.
FinalPresentation/binary
.
in.png
→
FinalPresentation/binary
_
in.png
View file @
34242ece
File moved
FinalPresentation/binary
.
out.png
→
FinalPresentation/binary
_
out.png
View file @
34242ece
File moved
FinalPresentation/camera
.
in.png
→
FinalPresentation/camera
_
in.png
View file @
34242ece
File moved
FinalPresentation/camera
.
out.png
→
FinalPresentation/camera
_
out.png
View file @
34242ece
File moved
FinalPresentation/segmentation.pdf
View file @
34242ece
No preview for this file type
FinalPresentation/segmentation.tex
View file @
34242ece
...
@@ -79,12 +79,13 @@
...
@@ -79,12 +79,13 @@
\usepackage
{
graphicx
}
% Allows including images
\usepackage
{
graphicx
}
% Allows including images
\usepackage
{
booktabs
}
% Allows the use of \toprule, \midrule and \bottomrule in tables
\usepackage
{
booktabs
}
% Allows the use of \toprule, \midrule and \bottomrule in tables
\usepackage
{
listings
}
\usepackage
{
listings
}
\usepackage
{
adjustbox
}
%----------------------------------------------------------------------------------------
%----------------------------------------------------------------------------------------
% TITLE PAGE
% TITLE PAGE
%----------------------------------------------------------------------------------------
%----------------------------------------------------------------------------------------
\title
[Short title]
{
Real T
ime Image Segmentation
}
% The short title appears at the bottom of every slide, the full title is only on the title page
\title
{
Real-t
ime Image Segmentation
}
% The short title appears at the bottom of every slide, the full title is only on the title page
\author
{
Miklos Homolya, Ravikishore Kommajosyula, Gaurav Kukreja
}
% Your name
\author
{
Miklos Homolya, Ravikishore Kommajosyula, Gaurav Kukreja
}
% Your name
\institute
[TUM]
% Your institution as it will appear on the bottom of every slide, may be shorthand to save space
\institute
[TUM]
% Your institution as it will appear on the bottom of every slide, may be shorthand to save space
...
@@ -157,7 +158,16 @@ Technical University of Munich \\ % Your institution for the title page
...
@@ -157,7 +158,16 @@ Technical University of Munich \\ % Your institution for the title page
\begin{frame}
\begin{frame}
\frametitle
{
Sample Result
}
\frametitle
{
Sample Result
}
\begin{columns}
[t]
\begin{column}
{
.4
\textwidth
}
\adjincludegraphics
[width=\linewidth]
{
binary
_
in
}
Noisy binary image.
\end{column}
\begin{column}
{
.4
\textwidth
}
\adjincludegraphics
[width=\linewidth]
{
binary
_
out
}
Restored binary image.
\end{column}
\end{columns}
\end{frame}
\end{frame}
\subsection
{
Grayscale Image Segmentation
}
\subsection
{
Grayscale Image Segmentation
}
...
@@ -182,7 +192,16 @@ Technical University of Munich \\ % Your institution for the title page
...
@@ -182,7 +192,16 @@ Technical University of Munich \\ % Your institution for the title page
\begin{frame}
\begin{frame}
\frametitle
{
Sample Result
}
\frametitle
{
Sample Result
}
\begin{columns}
[t]
\begin{column}
{
.4
\textwidth
}
\adjincludegraphics
[width=\linewidth]
{
camera
_
in
}
Grayscale input image.
\end{column}
\begin{column}
{
.4
\textwidth
}
\adjincludegraphics
[width=\linewidth]
{
camera
_
out
}
Segmentation (without thresholding).
\end{column}
\end{columns}
\end{frame}
\end{frame}
\subsection
{
Primal-Dual Method
}
\subsection
{
Primal-Dual Method
}
...
@@ -200,14 +219,23 @@ Technical University of Munich \\ % Your institution for the title page
...
@@ -200,14 +219,23 @@ Technical University of Munich \\ % Your institution for the title page
\xi
:
\Omega
\to
\left\{
(x, y) : x
^
2 + y
^
2
\le
1
\right\}
\xi
:
\Omega
\to
\left\{
(x, y) : x
^
2 + y
^
2
\le
1
\right\}
\end{equation*}
\end{equation*}
Algorithm
Algorithm
:
\begin{align*}
\begin{align*}
\xi
^{
n+1
}
&
=
\Pi
_{
\mathcal
{
K
}}
(
\xi
^
n -
\sigma
\nabla
\bar
{
u
}^
n)
\xi
^{
n+1
}
&
=
\Pi
_{
\mathcal
{
K
}}
(
\xi
^
n -
\sigma
\nabla
\bar
{
u
}^
n)
\\
\\
u
^{
n+1
}
&
=
\Pi
_{
\mathcal
{
C
}}
(u
^
n -
\tau
(
\mathrm
{
div
}
\xi
^{
n+1
}
+
f
))
u
^{
n+1
}
&
=
\Pi
_{
\mathcal
{
C
}}
(u
^
n -
\tau
(
\mathrm
{
div
}
\xi
^{
n+1
}
+
s
))
\\
\\
\bar
{
u
}^{
n+1
}
&
= u
^{
n+1
}
+ (u
^{
n+1
}
- u
^
n) = 2 u
^{
n+1
}
- u
^
n
\bar
{
u
}^{
n+1
}
&
= u
^{
n+1
}
+ (u
^{
n+1
}
- u
^
n) = 2 u
^{
n+1
}
- u
^
n
\end{align*}
\end{align*}
$
\Pi
_{
\mathcal
{
C
}}
$
and
$
\Pi
_{
\mathcal
{
K
}}
$
clamp the range to fit
$
\mathcal
{
C
}
$
and
$
\mathcal
{
K
}
$
respectively.
\end{frame}
\begin{frame}
\frametitle
{
Result
}
\begin{itemize}
\item
A single iteration is costlier than for the gradient descent solver, but we could reduce iteration count from 2000 to 160.
\item
Huge impact on performance.
\end{itemize}
\end{frame}
\end{frame}
\section
{
CUDA Implementation
}
\section
{
CUDA Implementation
}
...
@@ -215,11 +243,11 @@ Technical University of Munich \\ % Your institution for the title page
...
@@ -215,11 +243,11 @@ Technical University of Munich \\ % Your institution for the title page
\begin{frame}
\begin{frame}
\frametitle
{
CUDA Implementation
}
\frametitle
{
CUDA Implementation
}
\begin{itemize}
\begin{itemize}
\item
Update kernels calls from CPU to have synchr
ion
zation
\item
Update kernels calls from CPU to have synchr
oni
zation
\item
Update
X and update U
implemented as two kernels
\item
Update
$
\xi
$
and update
$
u
$
implemented as two kernels
\item
Image arrays swapped after each iteration
\item
Image arrays
for
$
u
^{
n
-
1
}
$
and
$
u
^
n
$
swapped after each iteration
\item
Branching to avoid invalid memory accesses
\item
Branching to avoid invalid memory accesses
...
@@ -237,11 +265,11 @@ Technical University of Munich \\ % Your institution for the title page
...
@@ -237,11 +265,11 @@ Technical University of Munich \\ % Your institution for the title page
\begin{itemize}
\begin{itemize}
\item
Swapping images after each iteration makes things difficult
\item
Swapping images after each iteration makes things difficult
\item
Can
not be used in gradient calculation,
Can be used in divergence calculation
\item
Can
not be used in gradient calculation.
Can be used in divergence calculation
\item
Texture memory used on intermediate results
$
X
_
i
$
and
$
X
_
j
$
\item
Texture memory used on intermediate results
$
\xi
_
x
$
and
$
\xi
_
y
$
\item
Improves the
fps by 12
\%
\item
Improves the
FPS by 12
\%
\end{itemize}
\end{itemize}
...
@@ -300,22 +328,8 @@ What is Interoperability?
...
@@ -300,22 +328,8 @@ What is Interoperability?
\end{frame}
\end{frame}
\begin{frame}
\begin{frame}
\frametitle
{
References
}
\frametitle
{
Demo
}
\footnotesize
{
\huge
{
\centerline
{
Thank you for your attention.
}}
\begin{thebibliography}
{
99
}
% Beamer does not support BibTeX so references must be inserted manually as below
\bibitem
[Smith, 2012]
{
p1
}
John Smith (2012)
\newblock
Title of the publication
\newblock
\emph
{
Journal Name
}
12(3), 45 -- 678.
\end{thebibliography}
}
\end{frame}
\end{frame}
%------------------------------------------------
\begin{frame}
\Huge
{
\centerline
{
The End
}}
\end{frame}
%----------------------------------------------------------------------------------------
\end{document}
\end{document}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment