Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ambrosio-Tortorelli package #280

Merged
merged 52 commits into from
Nov 7, 2016
Merged
Show file tree
Hide file tree
Changes from 50 commits
Commits
Show all changes
52 commits
Select commit Hold shift + click to select a range
d026710
Start AT u0-v1
JacquesOlivierLachaud Oct 12, 2016
bb0d851
Start AT u0-v1
JacquesOlivierLachaud Oct 12, 2016
8ddbbce
WIP u0-v1
JacquesOlivierLachaud Oct 13, 2016
63b271f
WIP u0-v1 - solve U done
JacquesOlivierLachaud Oct 13, 2016
d81e22d
WIP u0-v1 - solve U done
JacquesOlivierLachaud Oct 13, 2016
1d1fd2a
WIP u0-v1 - solve V
JacquesOlivierLachaud Oct 13, 2016
abb9a32
Solve V
JacquesOlivierLachaud Oct 13, 2016
6517052
First working version of AT01
JacquesOlivierLachaud Oct 13, 2016
c6b38d2
Working version of AT01 with export of u
JacquesOlivierLachaud Oct 13, 2016
c805bbb
Full working version of AT01 on gl images.
JacquesOlivierLachaud Oct 13, 2016
67ed1a3
Add export for color images
JacquesOlivierLachaud Oct 13, 2016
3646415
Add doc
JacquesOlivierLachaud Oct 13, 2016
b6ccb93
Doc v1
JacquesOlivierLachaud Oct 13, 2016
3324a62
Fix doc for images.
JacquesOlivierLachaud Oct 14, 2016
b935a10
Add export of forms with big pixels
JacquesOlivierLachaud Oct 14, 2016
a0456a4
Working version of grey-level export of 1-form v
JacquesOlivierLachaud Oct 14, 2016
eabe0e5
Working version of color export of 1-form v
JacquesOlivierLachaud Oct 14, 2016
1552075
Working version of color export of 1-form v even for greylevel images
JacquesOlivierLachaud Oct 14, 2016
dfebbc9
Working version of inpainting for greylevel and color images
JacquesOlivierLachaud Oct 14, 2016
d50b1cb
Renaming DECHelpers
JacquesOlivierLachaud Oct 14, 2016
21ca980
Create DECImage2D helper class and update ATu0v1 accordingly.
JacquesOlivierLachaud Oct 14, 2016
6eca568
Create ATu2v0.
JacquesOlivierLachaud Oct 14, 2016
9590d10
Working on AT20 and some enhancement of AT01
JacquesOlivierLachaud Oct 15, 2016
89fc70d
First compiling version of AT20
JacquesOlivierLachaud Oct 15, 2016
8980c96
First working version of AT20
JacquesOlivierLachaud Oct 15, 2016
e40304e
Fix mask for inpainting
JacquesOlivierLachaud Oct 16, 2016
feba831
Add sample images
JacquesOlivierLachaud Oct 16, 2016
ff7a743
Add SNR computation.
JacquesOlivierLachaud Oct 16, 2016
2a6e9ae
Add module image processing
JacquesOlivierLachaud Oct 16, 2016
84ad7c2
Fix SNR computation
JacquesOlivierLachaud Oct 16, 2016
dfd880d
Add images of moduleAT.dox
Oct 18, 2016
2aa9bca
Complete DC part in moduleAT.dox
Oct 19, 2016
66701ef
Add new images in imageProcessing
Oct 19, 2016
4941714
Add images for moduleAT.dox
Oct 19, 2016
79af9f0
Add command lines for inpainting in moduleAT.dox
Oct 19, 2016
3f45aad
Update doc
JacquesOlivierLachaud Oct 20, 2016
c2c43e0
Merge branch 'AT' of github.com:mfoare/DGtalTools into AT
JacquesOlivierLachaud Oct 20, 2016
7e3d23a
Update std::function to typename for old g++4.8. Complete documentation.
JacquesOlivierLachaud Oct 20, 2016
a2477a1
Fix doc
JacquesOlivierLachaud Oct 20, 2016
f8981c2
Update ChangeLog
JacquesOlivierLachaud Oct 20, 2016
080023d
Update doc at-u0-v1
JacquesOlivierLachaud Oct 20, 2016
34ce1d5
Fix at-u2-v0 and at-u0-v1
JacquesOlivierLachaud Oct 20, 2016
a1f0ea5
Update general doc
JacquesOlivierLachaud Oct 20, 2016
dc9519f
Update Readme
JacquesOlivierLachaud Oct 20, 2016
c4112d4
Changing BOOST_STATIC_LIBS default
JacquesOlivierLachaud Oct 21, 2016
701c499
Merge branch 'AT' of github.com:JacquesOlivierLachaud/DGtalTools into AT
JacquesOlivierLachaud Oct 21, 2016
7925cfe
Fix ChangeLog
JacquesOlivierLachaud Oct 21, 2016
2f01476
Force recompilation
JacquesOlivierLachaud Oct 21, 2016
1c7b10a
Update doc of module AT with algorithms
JacquesOlivierLachaud Nov 4, 2016
8f4c793
Update CMakeLists to check if Eigen is enabled
JacquesOlivierLachaud Nov 4, 2016
9e2d081
Fix doc
JacquesOlivierLachaud Nov 7, 2016
13c4ee2
Fix doc 2
JacquesOlivierLachaud Nov 7, 2016
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,6 @@ endif( Boost_FOUND )




# -----------------------------------------------------------------------------
# Documentation
# -----------------------------------------------------------------------------
Expand All @@ -81,3 +80,4 @@ add_subdirectory(estimators)
add_subdirectory(converters)
add_subdirectory(visualisation)
add_subdirectory(geometricTransform)
add_subdirectory(imageProcessing)
4 changes: 4 additions & 0 deletions ChangeLog.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# DGtalTools 0.9.3

- *imageProcessing*:
- Creates imageProcessing directory. Add tools for doing image restoration and inpainting with Ambrosio-Tortorelli functional and discrete calculus. (Jacques-Olivier Lachaud, Marion Foare
[#280](https://github.com/DGtal-team/DGtalTools/pull/280))

- *converters*:
- fix tool itk2vol which was not able to read and convert int type image.
(Bertrand Kerautret, [#276](https://github.com/DGtal-team/DGtalTools/pull/271))
Expand Down
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,9 @@ Actually the DGTal project is organized as follows:
- [Volumetric](http://dgtal.org/doc/tools/nightly/volumetric.html#volumetric_Doc):
tools to manipulate volumetric files (marching cube, sub sampling, thinning)

- [ImageProcessing](http://dgtal.org/doc/tools/nightly/imageProcessing.html):
tools to process images (image restoration, image inpainting)


How to build the tools
======================
Expand Down
6 changes: 4 additions & 2 deletions doc/doxy.config.in
Original file line number Diff line number Diff line change
Expand Up @@ -780,7 +780,8 @@ INPUT = @top_srcdir@/doc \
@top_srcdir@/estimators \
@top_srcdir@/generators \
@top_srcdir@/geometricTransform \
@top_srcdir@/volumetric
@top_srcdir@/volumetric \
@top_srcdir@/imageProcessing

# This tag can be used to specify the character encoding of the source files
# that doxygen parses. Internally doxygen uses the UTF-8 encoding. Doxygen uses
Expand Down Expand Up @@ -881,7 +882,8 @@ EXAMPLE_RECURSIVE = YES
# that contain images that are to be included in the documentation (see the
# \image command).

IMAGE_PATH = @top_srcdir@/doc/images
IMAGE_PATH = @top_srcdir@/doc/images \
@top_srcdir@/doc/images/AT

# The INPUT_FILTER tag can be used to specify a program that doxygen should
# invoke to filter for each input file. Doxygen will invoke the filter program
Expand Down
47 changes: 47 additions & 0 deletions doc/imageprocessing.dox
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
/**
* @file imageprocessing.dox
* @author Jacques-Olivier Lachaud (\c jacques-olivier.lachaud@univ-savoie.fr )
* Laboratory of Mathematics (CNRS, UMR 5127), University of Savoie, France
*
* @date 2016/10/15
*
* Documentation file for imageProcessing
*
* This file is part of the DGtal library.
*/


//----------------------------------------
/*!
@page imageProcessing Image processing
@writers Jacques-Olivier Lachaud

@section imageprocessing_Modules Modules of package image processing

- \ref moduleAT (Marion Foare, Jacques-Olivier Lachaud)


@section imageprocessing_Doc Image restoration

- @ref DocATu2v0 : Computes a piecewise smooth approximation of an image, by optimizing the Ambrosio-Tortorelli functional (with u a 2-form and v a 0-form).
- @ref DocATu0v1 : Computes a piecewise smooth approximation of an image, by optimizing the Ambrosio-Tortorelli functional (with u a 0-form and v a 1-form).


<center>
<table>
<tr>
<td>
<img height=200px src="lena-370-b02.png">
</td>
<td>
<img height=200px src="lena-370-b02-a0_48000-l0_0250000-u.png">
</td>
</tr>
<tr>
<td colspan=2 align = center>@ref DocATu2v0, @ref DocATu0v1 </td>
</tr>
</table>
</center>


*/
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added doc/images/AT/carre2Degradesb02.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added doc/images/AT/cb2-a0_01000-l1_0000000-u.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added doc/images/AT/cb2-a0_05000-l1_0000000-u.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added doc/images/AT/cb2-a0_10000-l1_0000000-u.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added doc/images/AT/cb2-a0_50000-l1_0000000-u.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added doc/images/AT/cb2-a1_00000-l1_0000000-u.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added doc/images/AT/d-a0.10000-l0.0085000-u0-v1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added doc/images/AT/d-a0.10000-l0.0085000-u2-v0.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added doc/images/AT/lena-370-b02.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added doc/images/Barbara_Crop_ATu0v1.png
Binary file added doc/images/Barbara_Crop_ATu2v0.png
Binary file added doc/images/Triangle_0_0011.png
Binary file added doc/images/Triangle_0_0048.png
Binary file added doc/images/Triangle_0_01.png
Binary file added doc/images/Triangle_0_1.png
Binary file added doc/images/barbara-cropped-b01.png
Binary file added doc/images/carre2Degradesb02.png
Binary file added doc/images/cb2-a0_01000-l1_0000000-u.png
Binary file added doc/images/cb2-a0_05000-l1_0000000-u.png
Binary file added doc/images/cb2-a0_10000-l1_0000000-u.png
Binary file added doc/images/cb2-a0_50000-l1_0000000-u.png
Binary file added doc/images/cb2-a1_00000-l1_0000000-u.png
Binary file added doc/images/cb2-e0_5-a0_10000-l0_0062092-u0-v1.png
Binary file added doc/images/cb2-e1_0-a0_10000-l0_0062092-u0-v1.png
Binary file added doc/images/cb2-e2_0-a0_10000-l0_0062092-u0-v1.png
Binary file added doc/images/cb2-e4_0-a0_10000-l0_0062092-u0-v1.png
Binary file added doc/images/d-a0.10000-l0.0085000-u0-v1.png
Binary file added doc/images/d-a0.10000-l0.0085000-u2-v0.png
Binary file added doc/images/degrade-a0.05000-l0.0050000-u0-v1.png
Binary file added doc/images/degrade-a0.05000-l0.0050000-u0.png
Binary file added doc/images/degrade-a0.05000-l0.0075000-u2-v0.png
Binary file added doc/images/degrade-a0.05000-l0.0075000-u2.png
Binary file added doc/images/degrade-b04.png
Binary file added doc/images/degrade.png
Binary file added doc/images/lena-370-b02.png
Binary file added doc/images/q2-d-a0_10000-l0_0620921-u.png
Binary file added doc/images/q2-d2-a1.00000-l0.0100000-u2-v0.png
Binary file added doc/images/q2-d2-g-mask.png
Binary file added doc/images/q452-d-a0_10000-l0_0289664-u.png
Binary file added doc/images/q452-d-a1.00000-l0.0250000-u2-v0.png
Binary file added doc/images/q452-d-g-mask.png
Binary file added doc/images/triple-spirale-b02.png
16 changes: 16 additions & 0 deletions doc/mainpage.dox
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,8 @@ Actually the DGTal project is organized as follows:

- [Volumetric](\ref volumetric_Doc)

- [Image Processing](\ref imageprocessing_Doc)


<center>
<table>
Expand Down Expand Up @@ -117,6 +119,20 @@ Actually the DGTal project is organized as follows:
<td align = center>@ref volReSample </td>
</tr>

<tr bgcolor="#FAFFFA">
<td align = center colspan="3" vertical-align=middle> Example of tools of @ref imageProcessing : </td>
</tr>
<tr>
<td><img height=150px src="barbara-cropped-b01.png"> </td>
<td><img height=150px src="barbara-cropped-b01-l0.0054088-a1.0-u0-v1-u.png"></td>
<td></td>
</tr>
<tr>
<td align = center>Input image </td>
<td align = center>@ref DocATu2v0, @ref DocATu0v1 </td>
<td align = center> </td>
</tr>

</table>
</center>

Expand Down
Loading