[Tubetk-developers] ParameterSerializer classes are on Gerrit

Matt McCormick matt.mccormick at kitware.com
Sat Feb 16 20:30:00 EST 2013


That sounds like a great idea.  Currenty, a class and all its
component classes get serialized.  We could also possibly make a class
that, given a class at the tip of a pipeline, would travel the
pipeline and also serialize all the inputs.

Thanks,
Matt

On Sat, Feb 16, 2013 at 8:20 PM, Stephen Aylward
<stephen.aylward at kitware.com> wrote:
> Can we extend this to serialization of applications?
>
> For example, in CalaTK each application can read/write a json file
> that contains its parameters.  I envision such capabilities as an
> enhancement to GenerateCLP.
>
> s
>
> On Sat, Feb 16, 2013 at 1:42 PM, Matt McCormick
> <matt.mccormick at kitware.com> wrote:
>> Hi,
>>
>> I finished the ParameterSerializer classes, and the patch is up on
>> Gerrit for review:
>>
>>   http://review.source.kitware.com/#/c/9602/
>>
>> These classes provide a way to write and read the parameters from an
>> analysis to a file to experiment with parameters, store parameters for
>> later reproduction, etc.  Some nice things:
>>
>> - It does not require instrumentation of any of the target classes,
>> which keeps a nice separation and allows us to create a Serializer
>> class for any itk::LightObject.
>> - The archiver is sufficiently separated such that it would easy to
>> implement an HDF5, XML, MetaIO, etc., archiver in the future.
>> - Parameters that are also objects are recursively serialized without
>> duplication of code.
>>
>> Please take a look if you have a chance.
>>
>> Thanks,
>> Matt
>> _______________________________________________
>> Tubetk-developers mailing list
>> Tubetk-developers at tubetk.org
>> http://public.kitware.com/cgi-bin/mailman/listinfo/tubetk-developers
>
>
>
> --
>
> ==============================
> Stephen R. Aylward, Ph.D.
> Senior Director of Operations - North Carolina
> Kitware, Inc. - North Carolina Office
> http://www.kitware.com
> stephen.aylward (Skype)
> (919) 969-6990 x300



More information about the Tubetk-developers mailing list