-
Notifications
You must be signed in to change notification settings - Fork 67
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
DOC: Rename UpsampleOrDownsampleAScalarImage to ResampleAScalarImage
This just illustrates resampling, not necessarily upsampling or downsampling. Upsampling should take into consideration the interpolator and downsampling should filter for aliasing.
- Loading branch information
Showing
8 changed files
with
35 additions
and
35 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
28 changes: 28 additions & 0 deletions
28
src/Filtering/ImageGrid/ResampleAScalarImage/CMakeLists.txt
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,28 @@ | ||
cmake_minimum_required(VERSION 3.10.2) | ||
|
||
project(ResampleAScalarImage ) | ||
|
||
find_package(ITK REQUIRED) | ||
include(${ITK_USE_FILE}) | ||
|
||
add_executable(ResampleAScalarImage Code.cxx) | ||
target_link_libraries(ResampleAScalarImage ${ITK_LIBRARIES}) | ||
|
||
install(TARGETS ResampleAScalarImage | ||
DESTINATION bin/ITKExamples/Filtering/ImageGrid | ||
COMPONENT Runtime | ||
) | ||
|
||
install(FILES Code.cxx CMakeLists.txt | ||
DESTINATION share/ITKExamples/Code/Filtering/ImageGrid/ResampleAScalarImage | ||
COMPONENT Code | ||
) | ||
|
||
enable_testing() | ||
add_test(NAME ResampleAScalarImageTest | ||
COMMAND ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/ResampleAScalarImage | ||
${CMAKE_CURRENT_BINARY_DIR}/Gourds.png | ||
Output.png | ||
160 | ||
120 | ||
) |
File renamed without changes.
6 changes: 3 additions & 3 deletions
6
...OrDownsampleScalarImage/Documentation.rst → ...id/ResampleAScalarImage/Documentation.rst
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
File renamed without changes.
File renamed without changes.
28 changes: 0 additions & 28 deletions
28
src/Filtering/ImageGrid/UpsampleOrDownsampleScalarImage/CMakeLists.txt
This file was deleted.
Oops, something went wrong.
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