Import 2017-06-07 23:51:09: master eb04ab47

Author Committer Branch Timestamp Parent
johan.andruejol johan.andruejol master 2016-09-09 11:52:10 master 44544fcc
Changeset

ENH: Turn ON Slicer_BUILD_PARAMETERSERIALIZER_SUPPORT by default

The parameter serializer support allows CLI to serialize/deserialize their
input from and to JSON file. For example, with the GaussianBlurImageFilter
one could do the following:

Serialize, i.e. save the parameters to JSON:

./Slicer --lauunch GaussianBlurImageFilter MRHead.nrrd BlurredHead.nrrd
--serialize GaussianBlurParameters.json

Deserialize, i.e. load the parameters from JSON :

./Slicer --launch GaussianBlurImageFilter
--deserialize GaussianBlurParameters.json

This follows the changes made in r25335, r25336 and r25337.

git-svn-id: http://svn.slicer.org/Slicer4/trunk@25340 3bd1e089-480b-0410-8dfb-8563597acbee

mod - CMakeLists.txt Diff File