File tree Expand file tree Collapse file tree 8 files changed +35
-35
lines changed
UpsampleOrDownsampleScalarImage Expand file tree Collapse file tree 8 files changed +35
-35
lines changed Original file line number Diff line number Diff line change @@ -44,9 +44,9 @@ compare_to_baseline(
44
44
BASELINE_PREFIX BrainProtonDensitySlice
45
45
)
46
46
47
- add_example ( UpsampleOrDownsampleScalarImage )
47
+ add_example ( ResampleAScalarImage )
48
48
compare_to_baseline (
49
- EXAMPLE_NAME UpsampleOrDownsampleScalarImage
49
+ EXAMPLE_NAME ResampleAScalarImage
50
50
BASELINE_PREFIX OutputBaseline
51
51
)
52
52
@@ -105,4 +105,4 @@ compare_to_baseline(EXAMPLE_NAME RunImageFilterOnRegionOfImage
105
105
add_example (CropImageBySpecifyingRegion2 )
106
106
compare_to_baseline (EXAMPLE_NAME CropImageBySpecifyingRegion2
107
107
BASELINE_PREFIX CropImageBySpecifyingRegion2
108
- )
108
+ )
Original file line number Diff line number Diff line change
1
+ cmake_minimum_required (VERSION 3.10.2 )
2
+
3
+ project (ResampleAScalarImage )
4
+
5
+ find_package (ITK REQUIRED )
6
+ include (${ITK_USE_FILE} )
7
+
8
+ add_executable (ResampleAScalarImage Code.cxx )
9
+ target_link_libraries (ResampleAScalarImage ${ITK_LIBRARIES} )
10
+
11
+ install (TARGETS ResampleAScalarImage
12
+ DESTINATION bin/ITKExamples/Filtering/ImageGrid
13
+ COMPONENT Runtime
14
+ )
15
+
16
+ install (FILES Code.cxx CMakeLists.txt
17
+ DESTINATION share/ITKExamples/Code/Filtering/ImageGrid/ResampleAScalarImage
18
+ COMPONENT Code
19
+ )
20
+
21
+ enable_testing ()
22
+ add_test (NAME ResampleAScalarImageTest
23
+ COMMAND ${CMAKE_RUNTIME_OUTPUT_DIRECTORY} /ResampleAScalarImage
24
+ ${CMAKE_CURRENT_BINARY_DIR} /Gourds.png
25
+ Output .png
26
+ 160
27
+ 120
28
+ )
File renamed without changes.
Original file line number Diff line number Diff line change 1
- Resample Scalar Image
2
- =====================
1
+ Resample a Scalar Image
2
+ =======================
3
3
4
4
.. index ::
5
5
single: ResampleImageFilter
6
6
7
7
Synopsis
8
8
--------
9
9
10
- Resample one scalar image
10
+ Resample a scalar image.
11
11
12
12
13
13
Results
File renamed without changes.
File renamed without changes.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -24,5 +24,5 @@ ImageGrid
24
24
Stack2DImagesInto3DImage/Documentation.rst
25
25
TileImagesSideBySide/Documentation.rst
26
26
UpsampleAnImage/Documentation.rst
27
- UpsampleOrDownsampleScalarImage /Documentation.rst
27
+ ResampleAScalarImage /Documentation.rst
28
28
WarpAnImageUsingADeformationField/Documentation.rst
You can’t perform that action at this time.
0 commit comments