Directory Packages/Insight/Dataflow/Modules/Converters/

Total Files:
10
Deleted Files:
21
Lines of Code:
2855

[root]/Packages/Insight/Dataflow/Modules/Converters

Lines of Code

Packages/Insight/Dataflow/Modules/Converters/ Lines of Code

Developers

Author Changes Lines of Code Lines per Change
Totals 80 (100.0%) 695 (100.0%) 8.6
darbyb 68 (85.0%) 608 (87.5%) 8.9
jeroen 5 (6.3%) 62 (8.9%) 12.4
callahan 3 (3.8%) 16 (2.3%) 5.3
mdavis 1 (1.3%) 5 (0.7%) 5.0
mjc 2 (2.5%) 2 (0.3%) 1.0
allen 1 (1.3%) 2 (0.3%) 2.0

Most Recent Commits

darbyb 2005-12-21 21:05 Rev.: 32916

When converting from a Nrrd to an Image, encapsulate any key/value pairs from the Nrrd in the Image's MetaDataDictionary. These values can later be used in a filter to set parameters/guivars. This is only implemented for the ThresholdSegmentationLevelSetImageFilter as a prototype.

Packages/Insight/Dataflow/Modules/Converters/NrrdToImage.cc
------------------------------------------------------------
Search for any key/value pairs and encapsulate them in the image's MetaDataDictionary.


Packages/Insight/Dataflow/Modules/Filters/ThresholdSegmentationLevelSetImageFilter.cc
--------------------------------------------------------------------------------------
Search for any string pairs in the seed image's MetaDataDictionary and build up a list to send to tcl. On the tcl side, iterate through the list of pairs and set a global guivar.

Packages/Insight/Dataflow/GUI/ThresholdSegmentationLevelSetImageFilter.tcl
--------------------------------------------------------------------------
Add update_guivars_from_data_dictionary method (long name, I know) to iterate over list of pairs and set corresponding guivar.


14 lines of code changed in 2 files:

  • Packages/Insight/Dataflow/Modules/Converters: NrrdToImage.cc (+14)
mdavis 2005-12-21 14:50 Rev.: 32907

Check for null input NrrdData

5 lines of code changed in 1 file:

  • Packages/Insight/Dataflow/Modules/Converters: NrrdToImage.cc (+5)
darbyb 2005-12-07 11:49 Rev.: 32748

Added new converter that goes from images of Vectors to RGBPixels.

Change color readers to output images of vectors instead of RGBPixels (and change the documentation).

Remove debugging output.

Image2DToImage3D and Image3DToImage2D only handle float and Vectors of floats.


170 lines of code changed in 11 files:

  • Packages/Insight/Dataflow/Modules/Converters: Image2DToImage3D.cc (changed), Image3DToImage2D.cc (changed), ImageToNrrd.cc (changed), RGBPixelToVector.cc (changed), VectorToRGBPixel.cc (new 170), sub.mk (changed)
darbyb 2005-12-05 22:30 Rev.: 32732

Remove converters from different pixel types as we are only handling floats in the Insight package now.

0 lines of code changed in 22 files:

  • Packages/Insight/Dataflow/Modules/Converters: CharToDouble.cc (del), CharToFloat.cc (del), CharToUChar.cc (del), DoubleToFloat.cc (del), DoubleToUChar.cc (del), FloatToDouble.cc (del), FloatToUChar.cc (del), IntToDouble.cc (del), IntToFloat.cc (del), IntToUChar.cc (del), ShortToDouble.cc (del), ShortToFloat.cc (del), ShortToUChar.cc (del), UCharToDouble.cc (del), UCharToFloat.cc (del), ULongToDouble.cc (del), ULongToFloat.cc (del), ULongToUChar.cc (del), UShortToDouble.cc (del), UShortToFloat.cc (del), UShortToUChar.cc (del), sub.mk (-21)
jeroen 2005-11-28 22:40 Rev.: 32639

To get the insight package to compile on OSX I needed to reshuffle some of the includes and predefine classes which could otherwise not be found by the compiler and fix some sub.mk files as they did not include Core/Basis. With these fixes I was able to compile the Insight Package fully on OSX 10.4. I have not had the chance to test the modules. With these fixes done, I hope to start on the bridge between the matlabinterface and the insight package, as the matlab engine currently does not recognise the insight field types. --Jeroen

62 lines of code changed in 5 files:

  • Packages/Insight/Dataflow/Modules/Converters: BuildSeedVolume.cc (new), ImageToField.cc (new), sub.mk (+1 -1)
allen 2005-11-14 14:48 Rev.: 32539

removed depricated get_type_name and added typename

2 lines of code changed in 1 file:

  • Packages/Insight/Dataflow/Modules/Converters: ImageToField.cc (+2 -2)
mjc 2005-11-14 11:16 Rev.: 32535

replace int argument for get_type_description with enum that specifies which info you are interested in. depricate virtual const string get_type_name(int n = -1) const, use get_type_description(...)->get_name() instead.

2 lines of code changed in 2 files:

  • Packages/Insight/Dataflow/Modules/Converters: FieldToImage.cc (new)
darbyb 2005-11-11 20:52 Rev.: 32533

Add missiong BuildSeedVolume file.

233 lines of code changed in 1 file:

  • Packages/Insight/Dataflow/Modules/Converters: BuildSeedVolume.cc (+233)
darbyb 2005-11-04 12:59 Rev.: 32436

Merge NCMIR branch into trunk. New modules SliceReader (reads in Analyze files a slice at a time), SeedPoints, and BuildSeedVolume. Removed ThresholdSegmentationLevelSetImageFilter generating files and replaced with permanant files to allow for stopping the segmentation. LevelSetSegmenter app now built when Insight package is enabled although it currently crashes and I think the crash is related to bug 2805.

1 lines of code changed in 1 file:

  • Packages/Insight/Dataflow/Modules/Converters: sub.mk (+1)
darbyb 2005-10-24 15:06 Rev.: 32278

Fix Insight package to work with new basis fields:


Packages/Insight/Dataflow/Modules/Converters/ImageToField.cc
Packages/Insight/Dataflow/Modules/Converters/FieldToImage.cc
------------------------------------------------------------
Fix converters to use new GenericFields with basis.
Fix ImageToField to use correct space information (center was
off).


Packages/Insight/Core/Datatypes/ITKLatVolField.h
Packages/Insight/Core/Datatypes/ITKImageField.h
Packages/Insight/Core/Datatypes/cd_templates_fields_0.cc
Packages/Insight/Core/Datatypes/cd_templates_fields_1.cc
------------------------------------------------------------
Update to use basis information. ITKLatVolsFields have a
HexTrilinearLgn basis and ITKImageFields have a QuadBilinearLgn
basis. All but one Insight networks function
(WatershedSegmentation.net crashes in a ChangeFieldBounds module).

To Do:
------
1) Fix calls to get_type_description when checking if a LatVol or
Image mesh (i.e. FieldSlicer).

2) Fix crash in WatershedSegmentation.net



148 lines of code changed in 2 files:

  • Packages/Insight/Dataflow/Modules/Converters: FieldToImage.cc (+74 -43), ImageToField.cc (+74 -71)
darbyb 2005-03-28 13:58 Rev.: 29535

Sync with branch.

14 lines of code changed in 1 file:

  • Packages/Insight/Dataflow/Modules/Converters: FieldToImage.cc (+14 -10)
darbyb 2005-03-04 13:21 Rev.: 29125

Remove include Packages/Insight/share/share.h and reference to InsightSHARE in class declarations.

28 lines of code changed in 28 files:

  • Packages/Insight/Dataflow/Modules/Converters: CharToDouble.cc (new 1), CharToFloat.cc (new 1), CharToUChar.cc (new 1), DoubleToFloat.cc (new 1), DoubleToUChar.cc (new 1), FieldToImage.cc (+1 -3), FloatToDouble.cc (new 1), FloatToUChar.cc (new 1), Image2DToImage3D.cc (+1 -3), Image3DToImage2D.cc (+1 -3), ImageToField.cc (+1 -3), ImageToNrrd.cc (+1 -3), IntToDouble.cc (new 1), IntToFloat.cc (new 1), IntToUChar.cc (new 1), NrrdToImage.cc (+1 -3), RGBPixelToVector.cc (+1 -3), ShortToDouble.cc (new 1), ShortToFloat.cc (new 1), ShortToUChar.cc (new 1), UCharToDouble.cc (new 1), UCharToFloat.cc (new 1), ULongToDouble.cc (new 1), ULongToFloat.cc (new 1), ULongToUChar.cc (new 1), UShortToDouble.cc (new 1), UShortToFloat.cc (new 1), UShortToUChar.cc (new 1)
callahan 2005-02-04 16:55 Rev.: 28467

Merge v1_24_0_release

16 lines of code changed in 3 files:

  • Packages/Insight/Dataflow/Modules/Converters: FieldToImage.cc (+5 -3), ImageToField.cc (+3 -1), ImageToNrrd.cc (+8 -5)
Generated by StatSVN 0.4.0