File tree Expand file tree Collapse file tree 7 files changed +10
-11
lines changed
src/Filtering/ImageIntensity Expand file tree Collapse file tree 7 files changed +10
-11
lines changed Original file line number Diff line number Diff line change 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
44add_example( ApplySinImageFilter )
55compare_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
125125endif ()
126-
Original file line number Diff line number Diff line change 11cmake_minimum_required (VERSION 3.10.2)
22
3- project ( RescaleAnImage )
3+ project ( RescaleIntensity )
44
55find_package ( ITK REQUIRED )
66include ( ${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
1616install ( 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
2121enable_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
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments