Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
SemiSmoothNewton.jl
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Stephan Hilb
SemiSmoothNewton.jl
Compare revisions
e4fe6a195b3f7e89eff53da43b0060455a55b488 to 9c422a5250052c076da1478f49a53524fb8aba47
Compare revisions
Changes are shown as if the
source
revision was being merged into the
target
revision.
Learn more about comparing revisions.
Source
stephan.hilb/SemiSmoothNewton.jl
Select target project
No results found
9c422a5250052c076da1478f49a53524fb8aba47
Select Git revision
Branches
andreas/paper2
master
Tags
v0.1
v1.0
4 results
Swap
Target
stephan.hilb/SemiSmoothNewton.jl
Select target project
stephan.hilb/SemiSmoothNewton.jl
1 result
e4fe6a195b3f7e89eff53da43b0060455a55b488
Select Git revision
Branches
andreas/paper2
master
Tags
v0.1
v1.0
4 results
Show changes
Only incoming changes from source
Include changes to target since source was created
Compare
Commits on Source (2)
update julia version
· 894817f7
Stephan Hilb
authored
11 months ago
894817f7
add adaptive inpainting example
· 9c422a52
Stephan Hilb
authored
11 months ago
9c422a52
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
Manifest.toml
+25
-19
25 additions, 19 deletions
Manifest.toml
scripts/Manifest.toml
+33
-21
33 additions, 21 deletions
scripts/Manifest.toml
scripts/run.jl
+3
-1
3 additions, 1 deletion
scripts/run.jl
scripts/run_experiments.jl
+16
-6
16 additions, 6 deletions
scripts/run_experiments.jl
with
77 additions
and
47 deletions
Manifest.toml
View file @
9c422a52
# This file is machine-generated - editing it directly is not advised
julia_version
=
"1.
9.3
"
julia_version
=
"1.
10.4
"
manifest_format
=
"2.0"
project_hash
=
"170a37ab5d68a18e29bd757512b09ed22a40cf6c"
...
...
@@ -57,7 +57,7 @@ weakdeps = ["Dates", "LinearAlgebra"]
[[deps.CompilerSupportLibraries_jll]]
deps
=
[
"Artifacts"
,
"Libdl"
]
uuid
=
"e66e0078-7015-5450-92f7-15fbd957f2ae"
version
=
"1.
0.5
+0"
version
=
"1.
1.1
+0"
[[deps.Crayons]]
git-tree-sha1
=
"249fe38abf76d48563e2f4556bebd215aa317e15"
...
...
@@ -198,21 +198,26 @@ version = "1.3.0"
[[deps.LibCURL]]
deps
=
[
"LibCURL_jll"
,
"MozillaCACerts_jll"
]
uuid
=
"b27032c2-a3e7-50c8-80cd-2d36dbcbfd21"
version
=
"0.6.
3
"
version
=
"0.6.
4
"
[[deps.LibCURL_jll]]
deps
=
[
"Artifacts"
,
"LibSSH2_jll"
,
"Libdl"
,
"MbedTLS_jll"
,
"Zlib_jll"
,
"nghttp2_jll"
]
uuid
=
"deac9b47-8bc7-5906-a0fe-35ac56dc84c0"
version
=
"
7.
84.0+0"
version
=
"8
.
4.0+0"
[[deps.LibGit2]]
deps
=
[
"Base64"
,
"NetworkOptions"
,
"Printf"
,
"SHA"
]
deps
=
[
"Base64"
,
"LibGit2_jll"
,
"NetworkOptions"
,
"Printf"
,
"SHA"
]
uuid
=
"76f85450-5226-5b5a-8eaa-529ad045b433"
[[deps.LibGit2_jll]]
deps
=
[
"Artifacts"
,
"LibSSH2_jll"
,
"Libdl"
,
"MbedTLS_jll"
]
uuid
=
"e37daf67-58a4-590a-8e99-b0245dd2ffc5"
version
=
"1.6.4+0"
[[deps.LibSSH2_jll]]
deps
=
[
"Artifacts"
,
"Libdl"
,
"MbedTLS_jll"
]
uuid
=
"29816b5a-b9ab-546f-933c-edad1886dfa8"
version
=
"1.1
0.2+0
"
version
=
"1.1
1.0+1
"
[[deps.Libdl]]
uuid
=
"8f399da3-3557-5675-b5ff-fb832c97cbdb"
...
...
@@ -265,7 +270,7 @@ uuid = "d6f4376e-aef5-505a-96c1-9c027394607a"
[[deps.MbedTLS_jll]]
deps
=
[
"Artifacts"
,
"Libdl"
]
uuid
=
"c8ffd9c3-330d-5841-b78e-0817d7145fa1"
version
=
"2.28.2+
0
"
version
=
"2.28.2+
1
"
[[deps.Missings]]
deps
=
[
"DataAPI"
]
...
...
@@ -278,7 +283,7 @@ uuid = "a63ad114-7e13-5084-954f-fe012c677804"
[[deps.MozillaCACerts_jll]]
uuid
=
"14a3606d-f60d-562e-9121-12d972cd8159"
version
=
"202
2
.1
0
.1
1
"
version
=
"202
3
.1.1
0
"
[[deps.NaNMath]]
deps
=
[
"OpenLibm_jll"
]
...
...
@@ -293,12 +298,12 @@ version = "1.2.0"
[[deps.OpenBLAS_jll]]
deps
=
[
"Artifacts"
,
"CompilerSupportLibraries_jll"
,
"Libdl"
]
uuid
=
"4536629a-c528-5b80-bd46-f80d51c5b363"
version
=
"0.3.2
1
+4"
version
=
"0.3.2
3
+4"
[[deps.OpenLibm_jll]]
deps
=
[
"Artifacts"
,
"Libdl"
]
uuid
=
"05823500-19ac-5b8b-9628-191a04bc5112"
version
=
"0.8.1+
0
"
version
=
"0.8.1+
2
"
[[deps.OpenSpecFun_jll]]
deps
=
[
"Artifacts"
,
"CompilerSupportLibraries_jll"
,
"JLLWrappers"
,
"Libdl"
,
"Pkg"
]
...
...
@@ -320,7 +325,7 @@ version = "2.7.2"
[[deps.Pkg]]
deps
=
[
"Artifacts"
,
"Dates"
,
"Downloads"
,
"FileWatching"
,
"LibGit2"
,
"Libdl"
,
"Logging"
,
"Markdown"
,
"Printf"
,
"REPL"
,
"Random"
,
"SHA"
,
"Serialization"
,
"TOML"
,
"Tar"
,
"UUIDs"
,
"p7zip_jll"
]
uuid
=
"44cfe95a-1eb2-52ea-b672-e2afdf69b78f"
version
=
"1.
9.2
"
version
=
"1.
10.0
"
[[deps.PooledArrays]]
deps
=
[
"DataAPI"
,
"Future"
]
...
...
@@ -355,7 +360,7 @@ deps = ["InteractiveUtils", "Markdown", "Sockets", "Unicode"]
uuid
=
"3fa0cd96-eef1-5676-8a61-b3b8758bbffb"
[[deps.Random]]
deps
=
[
"SHA"
,
"Serialization"
]
deps
=
[
"SHA"
]
uuid
=
"9a3f8284-a2c9-5f02-9a11-845980a1fd5c"
[[deps.Reexport]]
...
...
@@ -394,6 +399,7 @@ version = "1.1.1"
[[deps.SparseArrays]]
deps
=
[
"Libdl"
,
"LinearAlgebra"
,
"Random"
,
"Serialization"
,
"SuiteSparse_jll"
]
uuid
=
"2f01184e-e22b-5df5-ae63-d93ebab69eaf"
version
=
"1.10.0"
[[deps.SpecialFunctions]]
deps
=
[
"IrrationalConstants"
,
"LogExpFunctions"
,
"OpenLibm_jll"
,
"OpenSpecFun_jll"
]
...
...
@@ -425,7 +431,7 @@ version = "1.4.2"
[[deps.Statistics]]
deps
=
[
"LinearAlgebra"
,
"SparseArrays"
]
uuid
=
"10745b16-79ce-11e8-11f9-7d13ad32a3b2"
version
=
"1.
9
.0"
version
=
"1.
10
.0"
[[deps.StringManipulation]]
deps
=
[
"PrecompileTools"
]
...
...
@@ -434,9 +440,9 @@ uuid = "892a3eda-7b42-436c-8928-eab12a02cf0e"
version
=
"0.3.4"
[[deps.SuiteSparse_jll]]
deps
=
[
"Artifacts"
,
"Libdl"
,
"Pkg"
,
"libblastrampoline_jll"
]
deps
=
[
"Artifacts"
,
"Libdl"
,
"libblastrampoline_jll"
]
uuid
=
"bea87d4a-7f5b-5778-9afe-8cc45184846c"
version
=
"
5.10
.1+
6
"
version
=
"
7.2
.1+
1
"
[[deps.TOML]]
deps
=
[
"Dates"
]
...
...
@@ -508,19 +514,19 @@ version = "2.10.4+0"
[[deps.Zlib_jll]]
deps
=
[
"Libdl"
]
uuid
=
"83775a58-1f1d-513f-b197-d71354ab007a"
version
=
"1.2.13+
0
"
version
=
"1.2.13+
1
"
[[deps.libblastrampoline_jll]]
deps
=
[
"Artifacts"
,
"Libdl"
]
uuid
=
"8e850b90-86db-534c-a0d3-1478176c7d93"
version
=
"5.8.0+
0
"
version
=
"5.8.0+
1
"
[[deps.nghttp2_jll]]
deps
=
[
"Artifacts"
,
"Libdl"
]
uuid
=
"8e850ede-7688-5339-a07c-302acd2aaf8d"
version
=
"1.
48
.0+
0
"
version
=
"1.
52
.0+
1
"
[[deps.p7zip_jll]]
deps
=
[
"Artifacts"
,
"Libdl"
]
uuid
=
"3f19e933-33d8-53b3-aaab-bd5110c3b7a0"
version
=
"17.4.0+
0
"
version
=
"17.4.0+
2
"
This diff is collapsed.
Click to expand it.
scripts/Manifest.toml
View file @
9c422a52
# This file is machine-generated - editing it directly is not advised
julia_version
=
"1.
9.3
"
julia_version
=
"1.
10.4
"
manifest_format
=
"2.0"
project_hash
=
"dd7a5d2ab7a492a873a1e158d67133f8310cff18"
...
...
@@ -197,7 +197,7 @@ weakdeps = ["Dates", "LinearAlgebra"]
[[deps.CompilerSupportLibraries_jll]]
deps
=
[
"Artifacts"
,
"Libdl"
]
uuid
=
"e66e0078-7015-5450-92f7-15fbd957f2ae"
version
=
"1.
0.5
+0"
version
=
"1.
1.1
+0"
[[deps.ComputationalResources]]
git-tree-sha1
=
"52cb3ec90e8a8bea0e62e275ba577ad0f74821f7"
...
...
@@ -312,6 +312,12 @@ deps = ["ArgTools", "FileWatching", "LibCURL", "NetworkOptions"]
uuid
=
"f43a241f-c20a-4ad4-852c-f6b1247861c6"
version
=
"1.6.0"
[[deps.EpollShim_jll]]
deps
=
[
"Artifacts"
,
"JLLWrappers"
,
"Libdl"
]
git-tree-sha1
=
"8e9441ee83492030ace98f9789a654a6d0b1f643"
uuid
=
"2702e6a9-849d-5ed8-8c21-79e8b8f9ee43"
version
=
"0.0.20230411+0"
[[deps.ExceptionUnwrapping]]
deps
=
[
"Test"
]
git-tree-sha1
=
"e90caa41f5a86296e014e148ee061bd6c3edec96"
...
...
@@ -731,21 +737,26 @@ version = "0.3.1"
[[deps.LibCURL]]
deps
=
[
"LibCURL_jll"
,
"MozillaCACerts_jll"
]
uuid
=
"b27032c2-a3e7-50c8-80cd-2d36dbcbfd21"
version
=
"0.6.
3
"
version
=
"0.6.
4
"
[[deps.LibCURL_jll]]
deps
=
[
"Artifacts"
,
"LibSSH2_jll"
,
"Libdl"
,
"MbedTLS_jll"
,
"Zlib_jll"
,
"nghttp2_jll"
]
uuid
=
"deac9b47-8bc7-5906-a0fe-35ac56dc84c0"
version
=
"
7.
84.0+0"
version
=
"8
.
4.0+0"
[[deps.LibGit2]]
deps
=
[
"Base64"
,
"NetworkOptions"
,
"Printf"
,
"SHA"
]
deps
=
[
"Base64"
,
"LibGit2_jll"
,
"NetworkOptions"
,
"Printf"
,
"SHA"
]
uuid
=
"76f85450-5226-5b5a-8eaa-529ad045b433"
[[deps.LibGit2_jll]]
deps
=
[
"Artifacts"
,
"LibSSH2_jll"
,
"Libdl"
,
"MbedTLS_jll"
]
uuid
=
"e37daf67-58a4-590a-8e99-b0245dd2ffc5"
version
=
"1.6.4+0"
[[deps.LibSSH2_jll]]
deps
=
[
"Artifacts"
,
"Libdl"
,
"MbedTLS_jll"
]
uuid
=
"29816b5a-b9ab-546f-933c-edad1886dfa8"
version
=
"1.1
0.2+0
"
version
=
"1.1
1.0+1
"
[[deps.Libdl]]
uuid
=
"8f399da3-3557-5675-b5ff-fb832c97cbdb"
...
...
@@ -885,7 +896,7 @@ version = "1.1.7"
[[deps.MbedTLS_jll]]
deps
=
[
"Artifacts"
,
"Libdl"
]
uuid
=
"c8ffd9c3-330d-5841-b78e-0817d7145fa1"
version
=
"2.28.2+
0
"
version
=
"2.28.2+
1
"
[[deps.Measures]]
git-tree-sha1
=
"c13304c81eec1ed3af7fc20e75fb6b26092a1102"
...
...
@@ -909,7 +920,7 @@ version = "0.3.4"
[[deps.MozillaCACerts_jll]]
uuid
=
"14a3606d-f60d-562e-9121-12d972cd8159"
version
=
"202
2
.1
0
.1
1
"
version
=
"202
3
.1.1
0
"
[[deps.NaNMath]]
deps
=
[
"OpenLibm_jll"
]
...
...
@@ -942,7 +953,7 @@ version = "1.3.5+1"
[[deps.OpenBLAS_jll]]
deps
=
[
"Artifacts"
,
"CompilerSupportLibraries_jll"
,
"Libdl"
]
uuid
=
"4536629a-c528-5b80-bd46-f80d51c5b363"
version
=
"0.3.2
1
+4"
version
=
"0.3.2
3
+4"
[[deps.OpenEXR]]
deps
=
[
"Colors"
,
"FileIO"
,
"OpenEXR_jll"
]
...
...
@@ -959,7 +970,7 @@ version = "3.1.4+0"
[[deps.OpenLibm_jll]]
deps
=
[
"Artifacts"
,
"Libdl"
]
uuid
=
"05823500-19ac-5b8b-9628-191a04bc5112"
version
=
"0.8.1+
0
"
version
=
"0.8.1+
2
"
[[deps.OpenSSL]]
deps
=
[
"BitFlags"
,
"Dates"
,
"MozillaCACerts_jll"
,
"OpenSSL_jll"
,
"Sockets"
]
...
...
@@ -999,7 +1010,7 @@ version = "1.6.2"
[[deps.PCRE2_jll]]
deps
=
[
"Artifacts"
,
"Libdl"
]
uuid
=
"efcefdf7-47ab-520b-bdef-62a2eaa19f15"
version
=
"10.42.0+
0
"
version
=
"10.42.0+
1
"
[[deps.PGFPlotsX]]
deps
=
[
"ArgCheck"
,
"Dates"
,
"DefaultApplication"
,
"DocStringExtensions"
,
"MacroTools"
,
"OrderedCollections"
,
"Parameters"
,
"Requires"
,
"Tables"
]
...
...
@@ -1057,7 +1068,7 @@ version = "0.42.2+0"
[[deps.Pkg]]
deps
=
[
"Artifacts"
,
"Dates"
,
"Downloads"
,
"FileWatching"
,
"LibGit2"
,
"Libdl"
,
"Logging"
,
"Markdown"
,
"Printf"
,
"REPL"
,
"Random"
,
"SHA"
,
"Serialization"
,
"TOML"
,
"Tar"
,
"UUIDs"
,
"p7zip_jll"
]
uuid
=
"44cfe95a-1eb2-52ea-b672-e2afdf69b78f"
version
=
"1.
9.2
"
version
=
"1.
10.0
"
[[deps.PkgVersion]]
deps
=
[
"Pkg"
]
...
...
@@ -1160,7 +1171,7 @@ deps = ["InteractiveUtils", "Markdown", "Sockets", "Unicode"]
uuid
=
"3fa0cd96-eef1-5676-8a61-b3b8758bbffb"
[[deps.Random]]
deps
=
[
"SHA"
,
"Serialization"
]
deps
=
[
"SHA"
]
uuid
=
"9a3f8284-a2c9-5f02-9a11-845980a1fd5c"
[[deps.RangeArrays]]
...
...
@@ -1306,6 +1317,7 @@ version = "1.1.1"
[[deps.SparseArrays]]
deps
=
[
"Libdl"
,
"LinearAlgebra"
,
"Random"
,
"Serialization"
,
"SuiteSparse_jll"
]
uuid
=
"2f01184e-e22b-5df5-ae63-d93ebab69eaf"
version
=
"1.10.0"
[[deps.SpecialFunctions]]
deps
=
[
"IrrationalConstants"
,
"LogExpFunctions"
,
"OpenLibm_jll"
,
"OpenSpecFun_jll"
]
...
...
@@ -1358,7 +1370,7 @@ version = "1.4.2"
[[deps.Statistics]]
deps
=
[
"LinearAlgebra"
,
"SparseArrays"
]
uuid
=
"10745b16-79ce-11e8-11f9-7d13ad32a3b2"
version
=
"1.
9
.0"
version
=
"1.
10
.0"
[[deps.StatsAPI]]
deps
=
[
"LinearAlgebra"
]
...
...
@@ -1383,9 +1395,9 @@ deps = ["Libdl", "LinearAlgebra", "Serialization", "SparseArrays"]
uuid
=
"4607b0f0-06f3-5cda-b6b1-a6196a1729e9"
[[deps.SuiteSparse_jll]]
deps
=
[
"Artifacts"
,
"Libdl"
,
"Pkg"
,
"libblastrampoline_jll"
]
deps
=
[
"Artifacts"
,
"Libdl"
,
"libblastrampoline_jll"
]
uuid
=
"bea87d4a-7f5b-5778-9afe-8cc45184846c"
version
=
"
5.10
.1+
6
"
version
=
"
7.2
.1+
1
"
[[deps.TOML]]
deps
=
[
"Dates"
]
...
...
@@ -1503,7 +1515,7 @@ uuid = "3d5dd08c-fd9d-11e8-17fa-ed2836048c2f"
version
=
"0.21.64"
[[deps.Wayland_jll]]
deps
=
[
"Artifacts"
,
"Expat_jll"
,
"JLLWrappers"
,
"Libdl"
,
"Libffi_jll"
,
"Pkg"
,
"XML2_jll"
]
deps
=
[
"Artifacts"
,
"EpollShim_jll"
,
"Expat_jll"
,
"JLLWrappers"
,
"Libdl"
,
"Libffi_jll"
,
"Pkg"
,
"XML2_jll"
]
git-tree-sha1
=
"ed8d92d9774b077c53e1da50fd81a36af3744c1c"
uuid
=
"a2964d1f-97da-50d4-b82a-358c7fce9d89"
version
=
"1.21.0+0"
...
...
@@ -1678,7 +1690,7 @@ version = "1.5.0+0"
[[deps.Zlib_jll]]
deps
=
[
"Libdl"
]
uuid
=
"83775a58-1f1d-513f-b197-d71354ab007a"
version
=
"1.2.13+
0
"
version
=
"1.2.13+
1
"
[[deps.Zstd_jll]]
deps
=
[
"Artifacts"
,
"JLLWrappers"
,
"Libdl"
]
...
...
@@ -1707,7 +1719,7 @@ version = "0.15.1+0"
[[deps.libblastrampoline_jll]]
deps
=
[
"Artifacts"
,
"Libdl"
]
uuid
=
"8e850b90-86db-534c-a0d3-1478176c7d93"
version
=
"5.8.0+
0
"
version
=
"5.8.0+
1
"
[[deps.libfdk_aac_jll]]
deps
=
[
"Artifacts"
,
"JLLWrappers"
,
"Libdl"
,
"Pkg"
]
...
...
@@ -1736,12 +1748,12 @@ version = "1.3.7+1"
[[deps.nghttp2_jll]]
deps
=
[
"Artifacts"
,
"Libdl"
]
uuid
=
"8e850ede-7688-5339-a07c-302acd2aaf8d"
version
=
"1.
48
.0+
0
"
version
=
"1.
52
.0+
1
"
[[deps.p7zip_jll]]
deps
=
[
"Artifacts"
,
"Libdl"
]
uuid
=
"3f19e933-33d8-53b3-aaab-bd5110c3b7a0"
version
=
"17.4.0+
0
"
version
=
"17.4.0+
2
"
[[deps.x264_jll]]
deps
=
[
"Artifacts"
,
"JLLWrappers"
,
"Libdl"
,
"Pkg"
]
...
...
This diff is collapsed.
Click to expand it.
scripts/run.jl
View file @
9c422a52
...
...
@@ -21,6 +21,8 @@ end
function
paper2
(
ctx
)
# comparison: image mesh interpolation methods
ctx
(
experiment_image_mesh_interpolation
,
"image-mesh-interpolation"
)
# comparison: vanilla / warping / adaptive
#
optflow
comparison: vanilla / warping / adaptive
ctx
(
experiment_optflow_middlebury_warping_comparison_adaptive
,
"fem/opticalflow/middlebury_warping_comparison_adaptive"
)
# adaptive inpainting
ctx
(
experiment_inpaint_adaptive
,
"fem/inpaint_adaptive"
)
end
This diff is collapsed.
Click to expand it.
scripts/run_experiments.jl
View file @
9c422a52
...
...
@@ -1448,19 +1448,29 @@ function inpaint(ctx)
return
st
end
function
experiment_inpaint
(
ctx
)
function
experiment_inpaint
_adaptive
(
ctx
)
g_arr
=
loadimg
(
joinpath
(
ctx
.
indir
,
"input.png"
))
mask_arr
=
loadimg
(
joinpath
(
ctx
.
indir
,
"mask.png"
))
mesh
=
init_grid
(
g_arr
;)
inpaint
(
Util
.
Context
(
ctx
;
n
am
e
=
"test"
,
S
=
Operators
.
SIdentity
,
par
am
s
=
(
name
=
"test"
,
n_refine
=
5
,
g_arr
,
mask_arr
,
mesh
,
alpha1
=
0.
,
alpha2
=
50.
,
lambda
=
1.
,
beta
=
1e-5
,
#alpha1 = 0.2, alpha2 = 8., lambda = 1.,
alpha1
=
0.
,
alpha2
=
50.
,
lambda
=
1.
,
beta
=
1e-5
,
S
=
Operators
.
SIdentity
(),
gamma1
=
1e-4
,
gamma2
=
1e-4
,
eps_newton
=
1e-4
,
))
eps_newton
=
1e-4
)
savedata
(
joinpath
(
ctx
.
outdir
,
"data.tex"
);
params
.
eps_newton
,
params
.
n_refine
,
params
.
alpha1
,
params
.
alpha2
,
params
.
lambda
,
params
.
gamma1
,
params
.
gamma2
,
params
.
beta
,
params
.
S
,
width
=
size
(
g_arr
,
1
),
height
=
size
(
g_arr
,
2
))
ctx
(
inpaint
;
params
...
)
end
function
experiment_inpaint_denoise
(
ctx
)
...
...
This diff is collapsed.
Click to expand it.