Skip to content

Commit bcb6ed3

Browse files
authored
Merge pull request #272 from Leengit/rescale_intensity
DOC: RescaleAnImage->RescaleIntensity clarifies it's not about size.
2 parents d5b90ea + a732d54 commit bcb6ed3

File tree

7 files changed

+10
-11
lines changed

7 files changed

+10
-11
lines changed

src/Filtering/ImageIntensity/CMakeLists.txt

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
add_example( RescaleAnImage )
2-
compare_to_baseline( EXAMPLE_NAME RescaleAnImage BASELINE_PREFIX OutputBaseline )
1+
add_example( RescaleIntensity )
2+
compare_to_baseline( EXAMPLE_NAME RescaleIntensity BASELINE_PREFIX OutputBaseline )
33

44
add_example( ApplySinImageFilter )
55
compare_to_baseline( EXAMPLE_NAME ApplySinImageFilter BASELINE_PREFIX OutputBaseline OPTIONS --tolerance-intensity 1.0e-6 )
@@ -123,4 +123,3 @@ compare_to_baseline(EXAMPLE_NAME SubtractTwoImages
123123
)
124124

125125
endif()
126-

src/Filtering/ImageIntensity/RescaleAnImage/CMakeLists.txt renamed to src/Filtering/ImageIntensity/RescaleIntensity/CMakeLists.txt

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,26 @@
11
cmake_minimum_required(VERSION 3.10.2)
22

3-
project( RescaleAnImage )
3+
project( RescaleIntensity )
44

55
find_package( ITK REQUIRED )
66
include( ${ITK_USE_FILE} )
77

8-
add_executable( RescaleAnImage Code.cxx )
9-
target_link_libraries( RescaleAnImage ${ITK_LIBRARIES} )
8+
add_executable( RescaleIntensity Code.cxx )
9+
target_link_libraries( RescaleIntensity ${ITK_LIBRARIES} )
1010

11-
install( TARGETS RescaleAnImage
11+
install( TARGETS RescaleIntensity
1212
DESTINATION bin/ITKSphinxExamples/Filtering/ImageIntensity
1313
COMPONENT Runtime
1414
)
1515

1616
install( FILES Code.cxx CMakeLists.txt
17-
DESTINATION share/ITKSphinxExamples/Code/Filtering/ImageIntensity/RescaleAnImage
17+
DESTINATION share/ITKSphinxExamples/Code/Filtering/ImageIntensity/RescaleIntensity
1818
COMPONENT Code
1919
)
2020

2121
enable_testing()
22-
add_test( NAME RescaleAnImageTest
23-
COMMAND ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/RescaleAnImage
22+
add_test( NAME RescaleIntensityTest
23+
COMMAND ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/RescaleIntensity
2424
${CMAKE_CURRENT_BINARY_DIR}/Gourds.png
2525
Output.png
2626
0

src/Filtering/ImageIntensity/index.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ ImageIntensity
3030
MultiplyTwoImages/Documentation.rst
3131
NormalizeImage/Documentation.rst
3232
PixelDivisionOfTwoImages/Documentation.rst
33-
RescaleAnImage/Documentation.rst
33+
RescaleIntensity/Documentation.rst
3434
ScalePixelSumToConstant/Documentation.rst
3535
SquareEveryPixel/Documentation.rst
3636
SubtractConstantFromEveryPixel/Documentation.rst

0 commit comments

Comments
 (0)