-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add filter for converting Rice-corrupted images into Gaussian-corrupt…
…ed images
- Loading branch information
Showing
33 changed files
with
1,388 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
# Try to find the arb library | ||
# Once done this will define | ||
# | ||
# ARB_FOUND - system has arb and it can be used | ||
# ARB_INCLUDE_DIR - directory where the header file can be found | ||
# ARB_LIBRARY - Path where arb library file can be found | ||
# | ||
|
||
SET (ARB_FOUND FALSE) | ||
|
||
FIND_PATH(ARB_INCLUDE_DIR arb.h | ||
/usr/include | ||
/usr/local/include | ||
) | ||
|
||
set(ARB_LIBRARY_DIR "" CACHE PATH "ARB library folder") | ||
|
||
FIND_LIBRARY(ARB_LIBRARY NAMES arb libarb | ||
HINTS "${ARB_LIBRARY_DIR}" | ||
) | ||
|
||
mark_as_advanced(ARB_LIBRARY) | ||
|
||
IF( EXISTS "${ARB_INCLUDE_DIR}" AND EXISTS "${ARB_LIBRARY}" ) | ||
set(ARB_FOUND TRUE) | ||
else() | ||
message(FATAL_ERROR "ARB not found") | ||
endif() | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
# Try to find the flint library | ||
# Once done this will define | ||
# | ||
# FLINT_FOUND - system has flint and it can be used | ||
# FLINT_INCLUDE_DIR - directory where the header file can be found | ||
# FLINT_LIBRARY - Path where flint library file can be found | ||
# | ||
|
||
SET (FLINT_FOUND FALSE) | ||
|
||
FIND_PATH(FLINT_INCLUDE_DIR flint/flint.h | ||
/usr/include | ||
/usr/local/include | ||
) | ||
|
||
set(FLINT_LIBRARY_DIR "" CACHE PATH "FLINT library folder") | ||
|
||
FIND_LIBRARY(FLINT_LIBRARY NAMES flint libflint | ||
HINTS "${FLINT_LIBRARY_DIR}" | ||
) | ||
|
||
mark_as_advanced(FLINT_LIBRARY) | ||
|
||
IF( EXISTS "${FLINT_INCLUDE_DIR}" AND EXISTS "${FLINT_LIBRARY}" ) | ||
set(FLINT_FOUND TRUE) | ||
else() | ||
message(FATAL_ERROR "FLINT not found") | ||
endif() | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
# Try to find the gmp library | ||
# Once done this will define | ||
# | ||
# GMP_FOUND - system has gmp and it can be used | ||
# GMP_INCLUDE_DIR - directory where the header file can be found | ||
# GMP_LIBRARY - Path where gmp library file can be found | ||
# | ||
|
||
SET (GMP_FOUND FALSE) | ||
|
||
FIND_PATH(GMP_INCLUDE_DIR gmp.h | ||
/usr/include | ||
/usr/local/include | ||
) | ||
|
||
set(GMP_LIBRARY_DIR "" CACHE PATH "GMP library folder") | ||
|
||
FIND_LIBRARY(GMP_LIBRARY NAMES gmp libgmp | ||
HINTS "${GMP_LIBRARY_DIR}" | ||
) | ||
|
||
mark_as_advanced(GMP_LIBRARY) | ||
|
||
IF( EXISTS "${GMP_INCLUDE_DIR}" AND EXISTS "${GMP_LIBRARY}" ) | ||
set(GMP_FOUND TRUE) | ||
else() | ||
message(FATAL_ERROR "GMP not found") | ||
endif() | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
# Try to find the mpfr library | ||
# Once done this will define | ||
# | ||
# MPFR_FOUND - system has mpfr and it can be used | ||
# MPFR_INCLUDE_DIR - directory where the header file can be found | ||
# MPFR_LIBRARY - Path where mpfr library file can be found | ||
# | ||
|
||
SET (MPFR_FOUND FALSE) | ||
|
||
FIND_PATH(MPFR_INCLUDE_DIR mpfr.h | ||
/usr/include | ||
/usr/local/include | ||
) | ||
|
||
set(MPFR_LIBRARY_DIR "" CACHE PATH "MPFR library folder") | ||
|
||
FIND_LIBRARY(MPFR_LIBRARY NAMES mpfr libmpfr | ||
HINTS "${MPFR_LIBRARY_DIR}" | ||
) | ||
|
||
mark_as_advanced(MPFR_LIBRARY) | ||
|
||
IF( EXISTS "${MPFR_INCLUDE_DIR}" AND EXISTS "${MPFR_LIBRARY}" ) | ||
set(MPFR_FOUND TRUE) | ||
else() | ||
message(FATAL_ERROR "MPFR not found") | ||
endif() | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
if(BUILD_TOOLS) | ||
|
||
project(animaGaussianizer) | ||
|
||
## ############################################################################# | ||
## List Sources | ||
## ############################################################################# | ||
|
||
list_source_files(${PROJECT_NAME} | ||
${CMAKE_CURRENT_SOURCE_DIR} | ||
) | ||
|
||
## ############################################################################# | ||
## add executable | ||
## ############################################################################# | ||
|
||
add_executable(${PROJECT_NAME} | ||
${${PROJECT_NAME}_CFILES} | ||
) | ||
|
||
|
||
## ############################################################################# | ||
## Link | ||
## ############################################################################# | ||
|
||
target_link_libraries(${PROJECT_NAME} | ||
${ITKIO_LIBRARIES} | ||
AnimaArbSpecialFunctions | ||
) | ||
|
||
## ############################################################################# | ||
## install | ||
## ############################################################################# | ||
|
||
set_exe_install_rules(${PROJECT_NAME}) | ||
|
||
endif() |
Oops, something went wrong.