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
57c9206a
Commit
57c9206a
authored
Mar 09, 2014
by
Gaurav Kukreja
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added a brief description about ex14
Signed-off-by:
Gaurav Kukreja
<
gmkukreja@gmail.com
>
parent
2023ccb8
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
2 deletions
+9
-2
description.txt
gaurav/4_Assign/ex14/description.txt
+7
-0
main.cu
gaurav/4_Assign/ex14/main.cu
+2
-2
No files found.
gaurav/4_Assign/ex14/description.txt
0 → 100644
View file @
57c9206a
The inpainting seems to complete at 600 iterations with Huber Regularization.
Actually there is a limited aritfact even at 800 and 1000 iterations.
Comparison of Huber and Quadratic Regularization
* With Quadratic, we can alredy see a significant change in 100 iterations, the change is
gradual with Huber Regularization.
* At iterations > 600, the output seems almost same for each.
\ No newline at end of file
gaurav/4_Assign/ex14/main.cu
View file @
57c9206a
...
...
@@ -69,7 +69,7 @@ __global__ void findGreen(float* imgIn, float* imgOut, bool* d_mask, size_t n_pi
__device__ __host__ float huber(float s, float epsilon)
{
return 1.0F / max(epsilon, s);
//
return 1.0F;
//
return 1.0F;
//return expf(-s*s / epsilon) / epsilon;
}
...
...
@@ -171,7 +171,7 @@ int main(int argc, char **argv)
getParam("tau", tau, argc, argv);
cout << "τ: " << tau << endl;
int N =
8
00;
int N =
10
00;
getParam("N", N, argc, argv);
cout << "N: " << N << endl;
...
...
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