[Insight-developers] Compare text (vtk) files
Dan Mueller
dan.muel at gmail.com
Sun Jul 11 10:53:09 EDT 2010
Fair enough.
I see Testing/Review/itkVTKPolyDataWriterTest01 just writes a vtk file
without validating the output either. I guess this is better than
nothing, though the test could be writing complete garbage and still
pass...
Thanks. Dan.
On 11 July 2010 16:40, Bill Lorensen <bill.lorensen at gmail.com> wrote:
> Not that I know of. Sounds difficult to me because of file formats
> differences and floating point precision differences on different
> platforms.
>
> Bill
>
> On Sun, Jul 11, 2010 at 10:29 AM, Dan Mueller <dan.muel at gmail.com> wrote:
>> Hi Insight Developers,
>>
>> I am preparing a submission for the Insight Journal. My new filter
>> itk::CuberilleImageToMeshFilter outputs mesh (vtk) files. I want to
>> write some tests which compare the resultant text (vtk) files to
>> baseline files.
>>
>> I know of the ImageCompare tool which can be used to compare output
>> images to a baseline image. Is there a similar tool or CMake command
>> to compare output text (vtk) files to a baseline text file?
>>
>> Thanks in advance.
>>
>> Regards, Dan
More information about the Insight-developers
mailing list