summaryrefslogtreecommitdiff
path: root/gnu/packages/image-processing.scm
diff options
context:
space:
mode:
Diffstat (limited to 'gnu/packages/image-processing.scm')
-rw-r--r--gnu/packages/image-processing.scm29
1 files changed, 24 insertions, 5 deletions
diff --git a/gnu/packages/image-processing.scm b/gnu/packages/image-processing.scm
index a4a73b9435..5dafd4e955 100644
--- a/gnu/packages/image-processing.scm
+++ b/gnu/packages/image-processing.scm
@@ -1289,6 +1289,7 @@ libraries designed for computer vision research and implementation.")
;; 'Modules/Remote/MODULE.remote.cmake'.
;; MorphologicalContourInterpolation is required by itk-snap.
;; SimpleITKFilters and GenericLabelInterpolator are required by simpleitk.
+ ;; GenericLabelInterpolator and AdaptiveDenoising are required by ants.
(let* ((module-mci-commit "821bf9b3ef8eaaab10391ed060dc9ca5e4d37b39")
(module-mci-file (git-file-name "ITKMorphologicalContourInterpolation"
module-mci-commit))
@@ -1297,7 +1298,10 @@ libraries designed for computer vision research and implementation.")
module-sitkf-commit))
(module-gli-commit "ebf2436469ccf82c08fab54b7446f699ad0eae01")
(module-gli-file (git-file-name "ITKGenericLabelInterpolator"
- module-gli-commit)))
+ module-gli-commit))
+ (module-ad-commit "853934c352f83cb1e8f87e3051e1b8e75dbb41fe")
+ (module-ad-file (git-file-name "ITKAdaptiveDenoising"
+ module-ad-commit)))
(package
(name "insight-toolkit")
(version "5.4.4")
@@ -1354,6 +1358,8 @@ libraries designed for computer vision research and implementation.")
"-DModule_MorphologicalContourInterpolation=ON"
"-DModule_SimpleITKFilters=ON"
"-DModule_GenericLabelInterpolator=ON"
+ "-DModule_AdaptiveDenoising:BOOL=ON"
+ "-DModule_ITKReview:BOOL=ON"
"-DCMAKE_CXX_STANDARD=17"
"-DBUILD_TESTING=OFF")
@@ -1401,7 +1407,11 @@ libraries designed for computer vision research and implementation.")
(symlink #$(this-package-native-input module-gli-file)
"Modules/Remote/GenericLabelInterpolator")
(delete-file
- "Modules/Remote/GenericLabelInterpolator.remote.cmake")))
+ "Modules/Remote/GenericLabelInterpolator.remote.cmake")
+ (symlink #$(this-package-native-input module-ad-file)
+ "Modules/Remote/AdaptiveDenoising")
+ (delete-file
+ "Modules/Remote/AdaptiveDenoising.remote.cmake")))
(add-after 'unpack 'fix-numpy-bool
(lambda _
;; <https://github.com/InsightSoftwareConsortium/ITK/pull/5402>
@@ -1469,7 +1479,16 @@ libraries designed for computer vision research and implementation.")
(file-name module-gli-file)
(sha256
(base32
- "1khakqh6pzdg6csli8jypzrhcdr9xmhnzgwz265krv8r5mbnndrg")))))
+ "1khakqh6pzdg6csli8jypzrhcdr9xmhnzgwz265krv8r5mbnndrg")))
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/ntustison/ITKAdaptiveDenoising")
+ (commit module-ad-commit)))
+ (file-name module-ad-file)
+ (sha256
+ (base32
+ "0aqvhb4byg0shgbrwmb41nq2h8sbg45xn0gsdy94iiq0v72bw307")))))
;; The 'CMake/ITKSetStandardCompilerFlags.cmake' file normally sets
;; '-mtune=native -march=corei7', suggesting there's something to be
@@ -2058,7 +2077,7 @@ rectangles, circles, lines, points and VOC/COCO export.")
(define-public charls
(package
(name "charls")
- (version "2.3.4")
+ (version "2.4.2")
(source (origin
(method git-fetch)
(uri (git-reference
@@ -2067,7 +2086,7 @@ rectangles, circles, lines, points and VOC/COCO export.")
(file-name (git-file-name name version))
(sha256
(base32
- "0g3f1rfimk30rqmi7ic4i5vfphyqbbpsyyhwqq1iss9wjwaz2vs5"))))
+ "0vp6mjjm6hi2r1swwvbg86asvn604w58nam7yvqk1qr13aizjl71"))))
(build-system cmake-build-system)
(arguments
`(#:configure-flags '("-DCMAKE_BUILD_TYPE:STRING=Release"