]> Creatis software - clitk.git/log
clitk.git
13 years agogcc 4.6 compatibility:
Vivien Delmon [Fri, 22 Apr 2011 13:23:33 +0000 (15:23 +0200)]
gcc 4.6 compatibility:

* ptrdiff_t is in the std namespace

13 years agoitk4 migration:
Vivien Delmon [Fri, 22 Apr 2011 13:08:36 +0000 (15:08 +0200)]
itk4 migration:

* Add SetDirectionCollapseToSubmatrix() to extractFilter

13 years agoBug: debugging code not totally commented
Vivien Delmon [Thu, 21 Apr 2011 13:51:46 +0000 (15:51 +0200)]
Bug: debugging code not totally commented

Comment debugging that leads to segfault when no mask is used with
generic metric.

13 years agoMerge branch 'master' of /home/romulo/creatis/clitk3-git-shared/clitk3
Simon Rit [Thu, 21 Apr 2011 12:49:05 +0000 (14:49 +0200)]
Merge branch 'master' of /home/romulo/creatis/clitk3-git-shared/clitk3

13 years agoCorrected displayed value at crosshair in overlay and fusion
Simon Rit [Thu, 21 Apr 2011 12:46:55 +0000 (14:46 +0200)]
Corrected displayed value at crosshair in overlay and fusion

13 years agoDisplay nan instead of no value in overlay and fusion when outside fov
Simon Rit [Thu, 21 Apr 2011 12:35:56 +0000 (14:35 +0200)]
Display nan instead of no value in overlay and fusion when outside fov

13 years agoUse nan of std lib instead of sqrt(-1)
Simon Rit [Thu, 21 Apr 2011 12:34:11 +0000 (14:34 +0200)]
Use nan of std lib instead of sqrt(-1)

13 years agocomment test tools
dsarrut [Thu, 21 Apr 2011 07:31:20 +0000 (09:31 +0200)]
comment test tools

13 years agoremove untracked file
dsarrut [Thu, 21 Apr 2011 07:24:41 +0000 (09:24 +0200)]
remove untracked file

13 years agoignore files
dsarrut [Thu, 21 Apr 2011 07:12:46 +0000 (09:12 +0200)]
ignore files

13 years agoignore files
dsarrut [Thu, 21 Apr 2011 07:12:34 +0000 (09:12 +0200)]
ignore files

13 years agoadd SetRadius with a single int (isotropic)
dsarrut [Thu, 21 Apr 2011 07:09:16 +0000 (09:09 +0200)]
add SetRadius with a single int (isotropic)

13 years agocorrect CLB URL
dsarrut [Thu, 21 Apr 2011 07:03:46 +0000 (09:03 +0200)]
correct CLB URL

13 years agocorrect CLB URL
dsarrut [Thu, 21 Apr 2011 07:01:29 +0000 (09:01 +0200)]
correct CLB URL

13 years agomerge cvs -> git
dsarrut [Thu, 21 Apr 2011 05:05:39 +0000 (07:05 +0200)]
merge cvs -> git

13 years agomerge cvs / git
dsarrut [Thu, 21 Apr 2011 05:05:23 +0000 (07:05 +0200)]
merge cvs / git

13 years agomigration gdcm 2.0 clitkDicom2Image
Vivien Delmon [Wed, 20 Apr 2011 09:37:44 +0000 (11:37 +0200)]
migration gdcm 2.0 clitkDicom2Image

* Remove readDicomHeader from clitkImageCommon which were used only in
  clitkDicom2Image tool.
* Make clitkDicom2Image compatible with gdcm 2.0

13 years agomigration gdcm 2.0 Add macro for itkv3 compatibility
Vivien Delmon [Wed, 20 Apr 2011 09:34:42 +0000 (11:34 +0200)]
migration gdcm 2.0 Add macro for itkv3 compatibility

* Forgot to include Print on gdcm::File into gdcm 2.0 Macro

13 years agoIgnore _* forlders
Vivien Delmon [Wed, 20 Apr 2011 08:33:11 +0000 (10:33 +0200)]
Ignore _* forlders

Ignore _* folders in which I am used to compile different versions.

13 years agoMerge branch 'master' of /home/romulo/creatis/clitk3-git-shared/clitk3
Vivien Delmon [Tue, 19 Apr 2011 16:39:54 +0000 (18:39 +0200)]
Merge branch 'master' of /home/romulo/creatis/clitk3-git-shared/clitk3

13 years agoBug: Forgot Macro for itkv4 specific function
Vivien Delmon [Tue, 19 Apr 2011 16:34:55 +0000 (18:34 +0200)]
Bug: Forgot Macro for itkv4 specific function

13 years agoadded a file with only the license header (test)
Romulo Pinho [Tue, 19 Apr 2011 15:40:51 +0000 (17:40 +0200)]
added a file with only the license header (test)

13 years agoMerge branch 'master' of /home/romulo/creatis/clitk3-git-shared/clitk3
Vivien Delmon [Tue, 19 Apr 2011 13:46:25 +0000 (15:46 +0200)]
Merge branch 'master' of /home/romulo/creatis/clitk3-git-shared/clitk3

13 years agoitkv4 migration:
Vivien Delmon [Tue, 19 Apr 2011 13:39:47 +0000 (15:39 +0200)]
itkv4 migration:

  * last changes in vvQDicomSeriesSelector to use a list of gdcm::reader instead
    of a list of gdcm::File

13 years agochanges in license header
Romulo Pinho [Tue, 19 Apr 2011 11:49:01 +0000 (13:49 +0200)]
changes in license header

Update of license text
  - new CLB's website
  - small type

Inclusion of lincense header wherever necessary

13 years agopath correction to execute tests
Romulo Pinho [Tue, 19 Apr 2011 10:31:28 +0000 (12:31 +0200)]
path correction to execute tests

13 years agocompilation of vv and tests
Romulo Pinho [Mon, 18 Apr 2011 15:10:07 +0000 (17:10 +0200)]
compilation of vv and tests

- vv stand-alone compilation
  + some dependencies from tools were not being compiled

- tests path
  + better path resolution

13 years agoMathieu Malaterre
delmon [Fri, 15 Apr 2011 11:15:46 +0000 (11:15 +0000)]
Mathieu Malaterre
gdcm2 migration:
+ vv open Dicom still a segfault when reading spacing

13 years agoEnable interactive display in tool binarize
srit [Fri, 15 Apr 2011 08:30:21 +0000 (08:30 +0000)]
Enable interactive display in tool binarize

13 years agoSmart pointer for filter in vv tools
srit [Fri, 15 Apr 2011 08:29:19 +0000 (08:29 +0000)]
Smart pointer for filter in vv tools

13 years agoitkv4 migration:
delmon [Thu, 14 Apr 2011 08:25:56 +0000 (08:25 +0000)]
itkv4 migration:
+ Add missing #include<AffineTransform.h>.

13 years agoitkv4 migration:
delmon [Thu, 14 Apr 2011 08:23:40 +0000 (08:23 +0000)]
itkv4 migration:
+ itk::OStringStream disappeared, use std::ostringstream instead.

13 years agoitkv4 migration:
delmon [Thu, 14 Apr 2011 08:22:02 +0000 (08:22 +0000)]
itkv4 migration:
+ itk::BSplineTransform::GetCoefficientImage prototype changed, returning an
array of images instead of a pointer to an image. (c-like table to itk::Array)

13 years agoitkv4 migration:
delmon [Thu, 14 Apr 2011 08:19:24 +0000 (08:19 +0000)]
itkv4 migration:
        + itk::Math::Round and itk::Math::Ceil need an explicit template when
        used.

13 years agoitkv4 migration:
delmon [Thu, 14 Apr 2011 08:15:32 +0000 (08:15 +0000)]
itkv4 migration:
  + Some methods of itk::Transform are now virtual pure and need to be defined
    in any class that inherits from it.

13 years agoitkv4 migration:
delmon [Thu, 14 Apr 2011 08:12:41 +0000 (08:12 +0000)]
itkv4 migration:
  + itk::ImageIOFactory seems to work differently and does not need to
    RegisterBuiltInFactories any more.

13 years agoitkv4 migration:
delmon [Thu, 14 Apr 2011 08:10:30 +0000 (08:10 +0000)]
itkv4 migration:
  + ITKIO ITKStatistics ITKNumerics etc. disappeared and are replaced by
    ${ITK_LIBRARIES}

13 years agoAdapt vvSlicer to vvImage without vtkImageReslice. Now reslice according to the image...
srit [Wed, 13 Apr 2011 17:22:40 +0000 (17:22 +0000)]
Adapt vvSlicer to vvImage without vtkImageReslice. Now reslice according to the image grid in the slice direction. The transform for the vector field has been disabled for the time being.

13 years agoRemove reslice from vvImage. The transform is kept but it's up to the user to use...
srit [Wed, 13 Apr 2011 17:16:36 +0000 (17:16 +0000)]
Remove reslice from vvImage. The transform is kept but it's up to the user to use it...

13 years agoUse vvImageReader and vvImageWriter instead of static cast to short.
srit [Tue, 12 Apr 2011 14:27:53 +0000 (14:27 +0000)]
Use vvImageReader and vvImageWriter instead of static cast to short.

13 years ago*** empty log message ***
bouilhol [Tue, 12 Apr 2011 13:42:44 +0000 (13:42 +0000)]
*** empty log message ***

13 years agoRefactored UpdateDisplayExtent. Use larger spacing between actors to overcome differe...
srit [Tue, 12 Apr 2011 12:11:35 +0000 (12:11 +0000)]
Refactored UpdateDisplayExtent. Use larger spacing between actors to overcome differences in resolution between mImage, mFusion and mOverlay.

13 years ago*** empty log message ***
bouilhol [Tue, 12 Apr 2011 11:52:57 +0000 (11:52 +0000)]
*** empty log message ***

13 years agoRomulo:
dsarrut [Tue, 12 Apr 2011 11:49:19 +0000 (11:49 +0000)]
Romulo:
- Changed CMakeLists.txt for tests
  + $CLITKDIR/tests mirrors $CLITKDIR, but contains only test code
  + CLITK_DATA_PATH must be specified if BUILD_TESTING is on
    * test code can directly access the variable (macro)
  + Test executables generated in $CLITKDIR/build/tests/bin

13 years agoProtect vtkMPEG2Writer.h which is not anymore in vtk's includes if vtk is not
delmon [Tue, 12 Apr 2011 08:32:06 +0000 (08:32 +0000)]
Protect vtkMPEG2Writer.h which is not anymore in vtk's includes if vtk is not
compile with VTK_USE_MPEG2_ENCODER.

13 years agoFirst doxygen support with option BUILD_DOXYGEN in cmake and "make Documentation".
srit [Tue, 12 Apr 2011 08:29:59 +0000 (08:29 +0000)]
First doxygen support with option BUILD_DOXYGEN in cmake and "make Documentation".

13 years agoRomulo:
dsarrut [Mon, 11 Apr 2011 16:48:46 +0000 (16:48 +0000)]
Romulo:
- 1st version of the LineProfile tool
  + clitkLineProfile -i IMAGE --p0 POINT --p1 POINT
  + POINT can, in principle, be in 2D or 3D, but must match the image dimension (needs testing still)
  + output to std out
    * [INDEX] VALUE
    * index is comma separated list of coordinates

13 years agoMoved vvImageReader and vvImageWriter to clitkCommon for use in tools. Removed vvCons...
srit [Mon, 11 Apr 2011 09:54:16 +0000 (09:54 +0000)]
Moved vvImageReader and vvImageWriter to clitkCommon for use in tools. Removed vvConstants.h, the typedef is now in vvImageReader. Made vvImageReader Qt independent since the inheritance of QThread did not seem useful.

13 years agoRemove files generated by CMake
delmon [Fri, 8 Apr 2011 11:51:17 +0000 (11:51 +0000)]
Remove files generated by CMake

13 years ago*** empty log message ***
bouilhol [Thu, 7 Apr 2011 18:18:04 +0000 (18:18 +0000)]
*** empty log message ***

13 years agoAdded support for ffmpeg library if VTK_USE_FFMPEG_ENCODER is ON with extension ...
srit [Thu, 7 Apr 2011 15:46:47 +0000 (15:46 +0000)]
Added support for ffmpeg library if VTK_USE_FFMPEG_ENCODER is ON with extension .avi in snapshots.

13 years agoRomulo:
dsarrut [Thu, 7 Apr 2011 13:55:50 +0000 (13:55 +0000)]
Romulo:
- Including automated test procedures in clitk
- Addition of test results
  + These files are updated with the result of all tests when "make test" is executed

13 years agoRomulo:
dsarrut [Thu, 7 Apr 2011 13:49:35 +0000 (13:49 +0000)]
Romulo:
- Including automated test procedures in clitk
- Addition of test data
  + build/tests is the default working directory set by CMake when running tests

13 years agoRomulo:
dsarrut [Thu, 7 Apr 2011 13:43:53 +0000 (13:43 +0000)]
Romulo:
- Including automated test procedures in clitk
- CMakeLists.txt now includes the "tests" subdir
- tests subdir contains building instructions and source code for all tests
  + subdir structure mirrors that of $CLITK3HOME
  + tests/CMakeLists.txt contains building instructions
- see also build/tests and build/Testing (committed separately)

13 years agoAdded movie writing capability when VTK_USE_MPEG2_ENCODER is activated in vtk
srit [Thu, 7 Apr 2011 13:32:27 +0000 (13:32 +0000)]
Added movie writing capability when VTK_USE_MPEG2_ENCODER is activated in vtk

13 years agoRomulo
dsarrut [Thu, 7 Apr 2011 08:51:20 +0000 (08:51 +0000)]
Romulo
- Solved bug 295
  + Removed the "destroyed" flag
  + List/Tree widget is now cleared in the destructor
  + Destruction order was the cause for the crash
- Made destructors virtual in the base classes
  + It could contribute to memory leaks
  + Other class hierarchies should be checked as well

13 years agoConversion from itk to vtk was catching exceptions for us => update itk pipeline...
srit [Wed, 6 Apr 2011 11:28:15 +0000 (11:28 +0000)]
Conversion from itk to vtk was catching exceptions for us => update itk pipeline prior to conversion

13 years agoBug : remove include txx that does not exist anymore
delmon [Wed, 6 Apr 2011 09:33:32 +0000 (09:33 +0000)]
Bug : remove include txx that does not exist anymore

13 years agomissing include on some system (QSharedPointer)
dsarrut [Wed, 6 Apr 2011 09:27:26 +0000 (09:27 +0000)]
missing include on some system (QSharedPointer)

13 years agoBug #292
delmon [Wed, 6 Apr 2011 07:48:36 +0000 (07:48 +0000)]
Bug #292
+ Add ggo.c files in each library used in vv and clitk.
+ Patch CropImageFilter in vv and clitk to remove ArgsInfoType template.

13 years agoseveral 4D sequences allowed resulting in several 4D mhd files
bouilhol [Tue, 5 Apr 2011 17:59:50 +0000 (17:59 +0000)]
several 4D sequences allowed resulting in several 4D mhd files

13 years agoRomulo:
dsarrut [Tue, 5 Apr 2011 12:44:16 +0000 (12:44 +0000)]
Romulo:

-Solved bug 295
  + SelectedItemChangedInTree() event was called after the window had been closed and the object instance had been destroyed.
  + Horrible solution: added a static "destroyed" flag to indicate that the object instance has been destroyed.
    * Flag will be valid for all active instances, since it's static.
  + In desperate need of a better solution!
    * Need to find the correct location to put it, though.

13 years agoMathieu Malaterre :
delmon [Tue, 5 Apr 2011 08:08:20 +0000 (08:08 +0000)]
Mathieu Malaterre :
- From gdcm 1.x to gdcm 2.0
- Upgrade RT_StructureSet

13 years agoMathieu Malaterre :
delmon [Mon, 4 Apr 2011 15:40:44 +0000 (15:40 +0000)]
Mathieu Malaterre :
- From gdcm 1.x to gdcm 2.0
- Upgrade RT_Contour

13 years agoWe need to find a better way to fix this.
delmon [Mon, 4 Apr 2011 13:31:01 +0000 (13:31 +0000)]
We need to find a better way to fix this.
The problem arises when a target depends on a ggo.h but does not depends on the
ggo.c.
When a target depends on a ggo.c it is explicitly listed in its dependencies
including the custom command that generates it.
When the ggo.h is include in a cxx included in a target CMake has no way to
know it and does not include the custom command that generates it.

In this patch I manually add the dependency between the cxx and the ggo.h.

13 years agoConstructor of vvImageWriter is now private
srit [Fri, 1 Apr 2011 10:02:22 +0000 (10:02 +0000)]
Constructor of vvImageWriter is now private

13 years agoRomulo:
dsarrut [Fri, 1 Apr 2011 09:59:55 +0000 (09:59 +0000)]
Romulo:
- Finally solved bug 243 (moving linked images)
  + when propagating,  vvMainWindow::UpdateLinkedNavigation was always using slicer[0] as the reference. Now, the reference vvSlicer
 is passed as an argument from vvSlicerManager::UpdateLinkedNavigation.

- More corrections wrt bug 283 - cursor rendering... (accidentally removed from the bug tracker)
  + better treatment of cursor rendering when images are linked
  + there are still corrections to be made wrt to the corner annotations.

13 years agoRemove leaks related to vvImageWriter
srit [Fri, 1 Apr 2011 08:51:47 +0000 (08:51 +0000)]
Remove leaks related to vvImageWriter

13 years agoMathieu Malaterre :
delmon [Thu, 31 Mar 2011 15:24:50 +0000 (15:24 +0000)]
Mathieu Malaterre :
  - From gdcm 1.x to gdcm 2.0
clitk should compile with itk 3.20 and gdcm 2.0

13 years agoAdd missing ifdef.
delmon [Thu, 31 Mar 2011 15:22:02 +0000 (15:22 +0000)]
Add missing ifdef.

13 years agoRomulo:
dsarrut [Thu, 31 Mar 2011 13:28:16 +0000 (13:28 +0000)]
Romulo:
- removed #include <vtkColor.h>

13 years agoRomulo:
dsarrut [Thu, 31 Mar 2011 13:27:30 +0000 (13:27 +0000)]
Romulo:
- solved bug #283
   + rendering logic in vvSlicer::Render was blocking cursor updates if corner annotation was not visible

13 years agoRemoved unused file
srit [Thu, 31 Mar 2011 12:00:21 +0000 (12:00 +0000)]
Removed unused file

13 years agoRemoved unused vvs.cxx
srit [Thu, 31 Mar 2011 11:52:56 +0000 (11:52 +0000)]
Removed unused vvs.cxx

13 years agoRemove clitkTestFilter also in CMakelist.txt
delmon [Thu, 31 Mar 2011 09:55:23 +0000 (09:55 +0000)]
Remove clitkTestFilter also in CMakelist.txt

13 years ago[BUG] change __APPLE__ to APPLE the first is the C/C++ macro defined by CMake
delmon [Thu, 31 Mar 2011 08:04:37 +0000 (08:04 +0000)]
[BUG] change __APPLE__ to APPLE the first is the C/C++ macro defined by CMake
and the second the CMake macro.

13 years agoremove test files
dsarrut [Thu, 31 Mar 2011 07:55:13 +0000 (07:55 +0000)]
remove test files

13 years agoRemove test file
dsarrut [Thu, 31 Mar 2011 07:54:28 +0000 (07:54 +0000)]
Remove test file

13 years agoWindows compiling errors (ambiguous call to pow and variable in switch)
srit [Wed, 30 Mar 2011 10:10:05 +0000 (10:10 +0000)]
Windows compiling errors (ambiguous call to pow and variable in switch)

13 years agoAdd EPID conversion (2^16 - value)/alpha
dsarrut [Tue, 29 Mar 2011 14:26:56 +0000 (14:26 +0000)]
Add EPID conversion (2^16 - value)/alpha

13 years agoFrom gdcm 1.x to gdcm 2.0
delmon [Tue, 29 Mar 2011 13:14:10 +0000 (13:14 +0000)]
From gdcm 1.x to gdcm 2.0

13 years agoRemoved debug stuff
srit [Tue, 29 Mar 2011 09:21:43 +0000 (09:21 +0000)]
Removed debug stuff

13 years agoUse QSharedPointers for vvROIActors
srit [Tue, 29 Mar 2011 09:10:17 +0000 (09:10 +0000)]
Use QSharedPointers for vvROIActors

13 years agoError in loop for removing actors in destructor
srit [Tue, 29 Mar 2011 09:06:23 +0000 (09:06 +0000)]
Error in loop for removing actors in destructor

13 years agoRounding errors in display extent of overlay, fusion and vf.
srit [Tue, 29 Mar 2011 08:47:14 +0000 (08:47 +0000)]
Rounding errors in display extent of overlay, fusion and vf.

13 years agoAdd clitkDD for debug
dsarrut [Mon, 28 Mar 2011 14:55:02 +0000 (14:55 +0000)]
Add clitkDD for debug

13 years agoadd SliceBySliceBuildLineSegmentAccordingToExtremaPosition
dsarrut [Mon, 28 Mar 2011 14:52:58 +0000 (14:52 +0000)]
add SliceBySliceBuildLineSegmentAccordingToExtremaPosition

13 years agoUse smart pointers for vvSlicers
srit [Mon, 28 Mar 2011 13:51:00 +0000 (13:51 +0000)]
Use smart pointers for vvSlicers

13 years agoMemory leak hunt: vvBinaryImageOverlayActor vvImageContour vVImageReader are now...
srit [Mon, 28 Mar 2011 13:29:49 +0000 (13:29 +0000)]
Memory leak hunt: vvBinaryImageOverlayActor vvImageContour vVImageReader are now itk::LightObject, use QSharedPointer in vvToolStructureSetManager

13 years agoUseless to clear in destructor
srit [Mon, 28 Mar 2011 13:19:00 +0000 (13:19 +0000)]
Useless to clear in destructor

13 years agoRomulo:
dsarrut [Mon, 28 Mar 2011 10:45:48 +0000 (10:45 +0000)]
Romulo:

- Tool now supports files in pts (Jef) and txt (VV) formats (-t/--type option)

13 years agoAccount for transform when updating display extent of vf, fusion and overlay
srit [Mon, 28 Mar 2011 08:13:11 +0000 (08:13 +0000)]
Account for transform when updating display extent of vf, fusion and overlay

13 years agoFix for bug #274: move JoinSlices definition in .h
srit [Mon, 28 Mar 2011 07:37:25 +0000 (07:37 +0000)]
Fix for bug #274: move JoinSlices definition in .h

13 years agodo not need clitkSegmentationUtils
dsarrut [Mon, 28 Mar 2011 05:36:21 +0000 (05:36 +0000)]
do not need clitkSegmentationUtils

13 years agoLast errors
srit [Sun, 27 Mar 2011 00:41:47 +0000 (00:41 +0000)]
Last errors

13 years agoErrors in previous commit
srit [Sat, 26 Mar 2011 22:57:22 +0000 (22:57 +0000)]
Errors in previous commit

13 years agoTemp fix (see http://kingkong.grid.creatis.insa-lyon.fr:9002/issues/274)
srit [Sat, 26 Mar 2011 22:56:32 +0000 (22:56 +0000)]
Temp fix (see http://kingkong.grid.creatis.insa-lyon.fr:9002/issues/274)

13 years agoAnother lrint
srit [Sat, 26 Mar 2011 22:55:10 +0000 (22:55 +0000)]
Another lrint

13 years agoRemoved warning (same name used twice for layout widgets)
srit [Sat, 26 Mar 2011 21:46:01 +0000 (21:46 +0000)]
Removed warning (same name used twice for layout widgets)

13 years agoReplace rint with portable function
srit [Sat, 26 Mar 2011 21:43:25 +0000 (21:43 +0000)]
Replace rint with portable function