]> Creatis software - clitk.git/log
clitk.git
6 years agoCosmetic
tbaudier [Thu, 15 Nov 2018 15:59:55 +0000 (16:59 +0100)]
Cosmetic

Align all elements in clitkSUVPeak.ggo

6 years agoAdd option to define the volume of the filter in clitkSUVPeak in cc
tbaudier [Thu, 15 Nov 2018 15:57:53 +0000 (16:57 +0100)]
Add option to define the volume of the filter in clitkSUVPeak in cc

Before, the volume was fixed to 1cc
Now, if the volume option is set, multiply the given volume by 1000 to have in mc

6 years agoCheck if mask and input have the same spacing to compute SUVPeak
tbaudier [Thu, 15 Nov 2018 15:50:13 +0000 (16:50 +0100)]
Check if mask and input have the same spacing to compute SUVPeak

Before, the output of the SUVPeak was unrealistic with a mask with a spacing different from the input.
Now, check if they have the same spacing. If not, the script raises an error.

I add an option (--allow_resize) to automatically resize the mask according to the input like in the clitkImageStatistics script

6 years agoCosmetic
tbaudier [Thu, 15 Nov 2018 15:30:21 +0000 (16:30 +0100)]
Cosmetic
Align all elements in ggo file

6 years agoPrecise the unite of the bounding box for clitkCropImageFilter
tbaudier [Thu, 15 Nov 2018 15:25:10 +0000 (16:25 +0100)]
Precise the unite of the bounding box for clitkCropImageFilter

6 years agoChange behavior of clitkCropImage with like option
tbaudier [Thu, 15 Nov 2018 15:24:18 +0000 (16:24 +0100)]
Change behavior of clitkCropImage with like option

Before, if we cropped an image like another, the output's origin was set at the origin of the input.
But we prefer to keep the registration correctly, so we prefer to have an output's origin defined to still have the registration between the output and the input.
This is the normal behavior of the itk::PasteImageFilter.

I removed the SetNumberOfRequiredInputs to avoid this error: PasteImageFilter(0x1927770): At least 2 of the first 2 indexed inputs are required but only 1 are specified. The required inputs are expected to be the first inputs.

I add the updateOrigin flag to keep the previous behavior. If the flag is set to On (default is off), the origin of the output is set to the same origin than the input.

I update the description of the filte about this origin managment

6 years agoMerge dose by region uncertainties using Gate uncertainty calculation
tbaudier [Wed, 14 Nov 2018 12:28:25 +0000 (13:28 +0100)]
Merge dose by region uncertainties using Gate uncertainty calculation

Instead of using partial uncertainty, I use the total dose or edep and the square of the dose and edep like
I removed a bash function because it's useless

6 years agoPrecise information about RTStruct statistics in comments and output
tbaudier [Tue, 13 Nov 2018 10:41:17 +0000 (11:41 +0100)]
Precise information about RTStruct statistics in comments and output

6 years agoPrecise information about SUV peak in comments and output
tbaudier [Tue, 13 Nov 2018 10:40:44 +0000 (11:40 +0100)]
Precise information about SUV peak in comments and output

6 years agoRemove trailing spaces and tab
tbaudier [Tue, 13 Nov 2018 10:07:54 +0000 (11:07 +0100)]
Remove trailing spaces and tab

6 years agoAllow compilation with ITK4.13.0
tbaudier [Tue, 13 Nov 2018 08:21:54 +0000 (09:21 +0100)]
Allow compilation with ITK4.13.0

With initialisation of the smart pointer to NULL, it failed to compile (error of conversion from int to smart pointer). I removed the NULL

6 years agoMerge branch 'master' of git://git.creatis.insa-lyon.fr/clitk
tbaudier [Tue, 13 Nov 2018 07:53:42 +0000 (08:53 +0100)]
Merge branch 'master' of git://git.creatis.insa-lyon.fr/clitk

6 years agoModify mergeDoseByRegion
tbaudier [Fri, 9 Nov 2018 08:49:28 +0000 (09:49 +0100)]
Modify mergeDoseByRegion

Before, it summed 2 files to write the result.
But I had to modify it to be able to sum partial std. So I created 3 functions:
 -addToPartialResult with the previous code
 - addWithoutPartialResult for the first file
 - divideUncertaintyResult for the last step

6 years agoChange addition from bash bc to python
tbaudier [Mon, 29 Oct 2018 13:46:09 +0000 (14:46 +0100)]
Change addition from bash bc to python

Before, with floating number, the script used bc to add numbers. But it failed with scientific notation. I chose to use python to compute it

6 years agoReindentation of the ggo file
tbaudier [Tue, 16 Oct 2018 08:42:15 +0000 (10:42 +0200)]
Reindentation of the ggo file

6 years agoAdd like option in clitkExtrude tool
tbaudier [Tue, 16 Oct 2018 08:41:26 +0000 (10:41 +0200)]
Add like option in clitkExtrude tool

Before we had to set size, spacing and origin for the new dimension
But we could want to have the same size, spacing and origin than another image.
So I add the like option

I remove the required for the size option because if like is set , size is not mandatory
I controled that like and origin, size or spacing are not set at the same time

6 years agoAdd clitkExtrude tool
tbaudier [Mon, 15 Oct 2018 10:08:35 +0000 (12:08 +0200)]
Add clitkExtrude tool

With this tool, you can copy the image i N times along the last dimension

6 years agoConvert Drag/Drop opening file function to c++ < c++11
tbaudier [Thu, 4 Oct 2018 13:45:32 +0000 (15:45 +0200)]
Convert Drag/Drop opening file function to c++ < c++11

6 years agoMerge branch 'm-pilia-drop_files'
tbaudier [Thu, 4 Oct 2018 12:33:18 +0000 (14:33 +0200)]
Merge branch 'm-pilia-drop_files'

6 years agoMerge branch 'drop_files' of https://github.com/m-pilia/vv into m-pilia-drop_files
tbaudier [Thu, 4 Oct 2018 12:32:55 +0000 (14:32 +0200)]
Merge branch 'drop_files' of https://github.com/m-pilia/vv into m-pilia-drop_files

6 years agoRemove verbose for travis
tbaudier [Fri, 21 Sep 2018 07:58:20 +0000 (09:58 +0200)]
Remove verbose for travis
When untar cmake

6 years agoUpdate QVTKWidget to QVTKOpenGLNativeWidget for VTK > 8.1
tbaudier [Fri, 21 Sep 2018 07:46:59 +0000 (09:46 +0200)]
Update QVTKWidget to QVTKOpenGLNativeWidget for VTK > 8.1

6 years agoMerge branch 'master' of https://github.com/open-vv/vv
tbaudier [Wed, 19 Sep 2018 08:09:44 +0000 (10:09 +0200)]
Merge branch 'master' of https://github.com/open-vv/vv

6 years agoEnsure compatibility with ITK < 4.12 for throw exception
tbaudier [Tue, 18 Sep 2018 13:55:24 +0000 (15:55 +0200)]
Ensure compatibility with ITK < 4.12 for throw exception

6 years agoUpgrade cmake version to >3.10 for ITK 5
tbaudier [Tue, 18 Sep 2018 13:54:50 +0000 (15:54 +0200)]
Upgrade cmake version to >3.10 for ITK 5

6 years agoAdd VTK 8.1.1 and ITK 5 beta
tbaudier [Tue, 18 Sep 2018 09:40:39 +0000 (11:40 +0200)]
Add VTK 8.1.1 and ITK 5 beta
Clean travis script 4/n

6 years agoAdd VTK 8.1.1 and ITK 5 beta
tbaudier [Tue, 18 Sep 2018 06:48:35 +0000 (08:48 +0200)]
Add VTK 8.1.1 and ITK 5 beta
Clean travis script 3/n

6 years agoAdd VTK 8.1.1 and ITK 5 beta
tbaudier [Mon, 17 Sep 2018 15:00:39 +0000 (17:00 +0200)]
Add VTK 8.1.1 and ITK 5 beta
Clean travis script 2/n

6 years agoAdd VTK 8.1.1 and ITK 5 beta
tbaudier [Mon, 17 Sep 2018 14:49:43 +0000 (16:49 +0200)]
Add VTK 8.1.1 and ITK 5 beta
Clean travis script

6 years agoOpen files by dropping them inside the window
Martino Pilia [Tue, 11 Sep 2018 18:47:09 +0000 (20:47 +0200)]
Open files by dropping them inside the window

Set the window to allow drag events entering it, and add an handler to
open files dropped within the window.

6 years agoRemove clitkAffineRegistrationLib compilation when CLTK_USE_REGISTRATION is OFF
tbaudier [Fri, 7 Sep 2018 09:35:53 +0000 (11:35 +0200)]
Remove clitkAffineRegistrationLib compilation when CLTK_USE_REGISTRATION is OFF

6 years agoEnsure compatibility with newer version of VTK9
tbaudier [Fri, 7 Sep 2018 09:18:45 +0000 (11:18 +0200)]
Ensure compatibility with newer version of VTK9

6 years agoVTK remove ImmediateModeRendering due to
tbaudier [Fri, 7 Sep 2018 09:14:07 +0000 (11:14 +0200)]
VTK remove ImmediateModeRendering due to
Does not make sense for OpenGL2 and is not implemented

6 years agoAdd AffineRegistration library to avoid compilation error
tbaudier [Fri, 7 Sep 2018 08:46:33 +0000 (10:46 +0200)]
Add AffineRegistration library to avoid compilation error
With a lot of cores, clitkElastixTransformToMatrix (that need clitkAffineTransform) can be compiled before clitkAffineTransform
And the gengetopt of clitkAffineTransform is not compiled leading to an error

6 years agoRemove throw to avoid warning with c++11
tbaudier [Fri, 7 Sep 2018 08:44:20 +0000 (10:44 +0200)]
Remove throw to avoid warning with c++11

6 years agoRemove throw to avoid warnings with c++11
tbaudier [Fri, 7 Sep 2018 08:14:09 +0000 (10:14 +0200)]
Remove throw to avoid warnings with c++11

6 years agoUpdate to enable GDCMv3
tbaudier [Tue, 7 Aug 2018 11:09:34 +0000 (13:09 +0200)]
Update to enable GDCMv3

6 years agoEnsure compatibility with ITK5
tbaudier [Tue, 7 Aug 2018 08:26:42 +0000 (10:26 +0200)]
Ensure compatibility with ITK5
Change NumberOfThreads to NumberOfWorkUnits

6 years agocosmetic
tbaudier [Mon, 6 Aug 2018 14:18:26 +0000 (16:18 +0200)]
cosmetic

6 years agoDebug fusion display value for very small value
tbaudier [Fri, 3 Aug 2018 08:02:30 +0000 (10:02 +0200)]
Debug fusion display value for very small value
Use scientific representation

6 years agocosmetic and remove useless part in clitkSpect2Dicom
tbaudier [Wed, 1 Aug 2018 12:29:26 +0000 (14:29 +0200)]
cosmetic and remove useless part in clitkSpect2Dicom

6 years agoRemove ssh connection to creatis cluster from ccIn2p3
tbaudier [Wed, 1 Aug 2018 09:24:05 +0000 (11:24 +0200)]
Remove ssh connection to creatis cluster from ccIn2p3

6 years agoRename clitkImage2DicomSeries to clitkSpect2Dicom
tbaudier [Tue, 31 Jul 2018 15:01:23 +0000 (17:01 +0200)]
Rename clitkImage2DicomSeries to clitkSpect2Dicom

6 years agoFunctionnal version
tbaudier [Tue, 31 Jul 2018 14:46:22 +0000 (16:46 +0200)]
Functionnal version

6 years agoEnsure to have the correct name for dicom files
tbaudier [Mon, 30 Jul 2018 09:58:51 +0000 (11:58 +0200)]
Ensure to have the correct name for dicom files

6 years agoAdd description
tbaudier [Mon, 30 Jul 2018 08:14:22 +0000 (10:14 +0200)]
Add description

6 years agocosmetic
tbaudier [Mon, 30 Jul 2018 07:54:33 +0000 (09:54 +0200)]
cosmetic

6 years agocosmetic
tbaudier [Mon, 30 Jul 2018 07:53:42 +0000 (09:53 +0200)]
cosmetic

6 years agoMerge branch 'master' of https://github.com/open-vv/vv
tbaudier [Fri, 27 Jul 2018 12:22:03 +0000 (14:22 +0200)]
Merge branch 'master' of https://github.com/open-vv/vv

6 years agoMerge branch 'master' of https://github.com/open-vv/vv
tbaudier [Fri, 27 Jul 2018 12:18:29 +0000 (14:18 +0200)]
Merge branch 'master' of https://github.com/open-vv/vv

6 years agoMerge branch 'clitkImage2Dicom'
tbaudier [Fri, 27 Jul 2018 12:01:08 +0000 (14:01 +0200)]
Merge branch 'clitkImage2Dicom'

6 years agocosmetic
tbaudier [Thu, 26 Jul 2018 12:46:52 +0000 (14:46 +0200)]
cosmetic
Remove tabs

6 years agoAdd statistical tool to compute speed up for gate jobs
tbaudier [Wed, 25 Jul 2018 09:13:20 +0000 (11:13 +0200)]
Add statistical tool to compute speed up for gate jobs

6 years agoCorrect merger in gate_power_merge
tbaudier [Fri, 13 Jul 2018 12:40:42 +0000 (14:40 +0200)]
Correct merger in gate_power_merge

6 years agoAdd merger for DoseByRegions
tbaudier [Fri, 13 Jul 2018 08:33:17 +0000 (10:33 +0200)]
Add merger for DoseByRegions

6 years agoChange default value in clitkDicomRTStruct2ImageFilter for vtk mesh
tbaudier [Fri, 13 Jul 2018 08:32:39 +0000 (10:32 +0200)]
Change default value in clitkDicomRTStruct2ImageFilter for vtk mesh

6 years agoAdd clitkChangeDicomTag tool
tbaudier [Tue, 10 Jul 2018 13:27:03 +0000 (15:27 +0200)]
Add clitkChangeDicomTag tool

6 years agoAdd clitkXml2DicomRTStructFilter
tbaudier [Thu, 5 Jul 2018 14:26:34 +0000 (16:26 +0200)]
Add clitkXml2DicomRTStructFilter
To Convert Struct from Osirix (HEH) plist (.xml) file to RTStruct
Use pugixml to parse xml

6 years agoCopy input direction into output in clitkImageArithmGenericFilter
tbaudier [Thu, 5 Jul 2018 08:51:08 +0000 (10:51 +0200)]
Copy input direction into output in clitkImageArithmGenericFilter

6 years agoMerge branch 'master' of https://github.com/open-vv/vv
tbaudier [Thu, 5 Jul 2018 08:22:13 +0000 (10:22 +0200)]
Merge branch 'master' of https://github.com/open-vv/vv

6 years agoAllow to save vtk mesh in RTStruct2Image
tbaudier [Thu, 5 Jul 2018 08:21:07 +0000 (10:21 +0200)]
Allow to save vtk mesh in RTStruct2Image

6 years agocosmetic
tbaudier [Thu, 5 Jul 2018 07:37:43 +0000 (09:37 +0200)]
cosmetic

6 years agocosmetic: remove tab
tbaudier [Wed, 4 Jul 2018 12:39:12 +0000 (14:39 +0200)]
cosmetic: remove tab

6 years agocosmietic: remove useless spaces
tbaudier [Wed, 4 Jul 2018 12:16:27 +0000 (14:16 +0200)]
cosmietic: remove useless spaces

6 years agoAdd Option to use external GDCM
tbaudier [Wed, 4 Jul 2018 11:40:34 +0000 (13:40 +0200)]
Add Option to use external GDCM
The previous test does not work with ITK > 4.13 at least

6 years agoMerge branch 'master' of git://git.creatis.insa-lyon.fr/clitk
tbaudier [Wed, 4 Jul 2018 08:07:54 +0000 (10:07 +0200)]
Merge branch 'master' of git://git.creatis.insa-lyon.fr/clitk

6 years agoIncrease display speed while w is pressed
tbaudier [Wed, 25 Apr 2018 14:38:45 +0000 (16:38 +0200)]
Increase display speed while w is pressed

6 years agoRemove compilation warning
tbaudier [Thu, 12 Apr 2018 07:32:08 +0000 (09:32 +0200)]
Remove compilation warning

6 years agoRemove cout
tbaudier [Thu, 12 Apr 2018 07:31:51 +0000 (09:31 +0200)]
Remove cout

6 years agoRemove compilation warnings
tbaudier [Wed, 11 Apr 2018 14:31:41 +0000 (16:31 +0200)]
Remove compilation warnings
Cosmetics removing tabs by spaces

6 years agoAddapt if statement for older cmake
tbaudier [Wed, 11 Apr 2018 13:15:39 +0000 (15:15 +0200)]
Addapt if statement for older cmake

6 years agoMerge branch 'ITKv5' of https://github.com/open-vv/vv into ITKv5
tbaudier [Wed, 11 Apr 2018 09:43:08 +0000 (11:43 +0200)]
Merge branch 'ITKv5' of https://github.com/open-vv/vv into ITKv5

6 years agoMerge branch 'master' into ITKv5
tbaudier [Wed, 11 Apr 2018 09:42:23 +0000 (11:42 +0200)]
Merge branch 'master' into ITKv5

6 years agoAdd c++11 flags with ITKv5
tbaudier [Wed, 11 Apr 2018 09:27:00 +0000 (11:27 +0200)]
Add c++11 flags with ITKv5

6 years agoChange from minimal version of ITK4.5 to ITK4.6
tbaudier [Tue, 10 Apr 2018 14:58:20 +0000 (16:58 +0200)]
Change from minimal version of ITK4.5 to ITK4.6

6 years agochange travis
tbaudier [Tue, 10 Apr 2018 14:55:56 +0000 (16:55 +0200)]
change travis

6 years agoCOMP: fix compilation errors for ITKv5
Simon Rit [Tue, 10 Apr 2018 12:29:04 +0000 (14:29 +0200)]
COMP: fix compilation errors for ITKv5

6 years agoSet the Root Tree maximum size to 1TB instead of 1GB
tbaudier [Mon, 26 Mar 2018 09:50:26 +0000 (11:50 +0200)]
Set the Root Tree maximum size to 1TB instead of 1GB

6 years agoAdd Dockerfile
tbaudier [Thu, 15 Mar 2018 13:13:52 +0000 (14:13 +0100)]
Add Dockerfile

6 years agoBe sure Number of Frame of Rotation exists in dicom tags
tbaudier [Thu, 15 Mar 2018 10:12:09 +0000 (11:12 +0100)]
Be sure Number of Frame of Rotation exists in dicom tags

6 years agoWindows compilation
Simon Rit [Thu, 15 Mar 2018 09:14:26 +0000 (10:14 +0100)]
Windows compilation
Remove error due to M_PI
Remove error due to and
Remove warning due to unused variables

6 years agoAdd windows maths include
tbaudier [Thu, 15 Mar 2018 08:21:52 +0000 (09:21 +0100)]
Add windows maths include

6 years agoAdd orientation in clitkImage2DicomDose
tbaudier [Wed, 14 Mar 2018 13:18:10 +0000 (14:18 +0100)]
Add orientation in clitkImage2DicomDose

6 years agoDeal with Dose Grid Scaling Dicom tag in clitkImage2DicomDose
tbaudier [Tue, 13 Mar 2018 14:14:22 +0000 (15:14 +0100)]
Deal with Dose Grid Scaling Dicom tag in clitkImage2DicomDose
The tag is not support by ITK 4.13 (or less) contrary to ITK 4.5.1

6 years agoBe more precise for log in clitkImageArithm
tbaudier [Tue, 13 Mar 2018 10:24:05 +0000 (11:24 +0100)]
Be more precise for log in clitkImageArithm

6 years ago#61 Remove undesired variable declaration in vvBinaryImageOverlayActor
tbaudier [Fri, 9 Mar 2018 15:36:18 +0000 (16:36 +0100)]
#61 Remove undesired variable declaration in vvBinaryImageOverlayActor

6 years agoMerge pull request #61 from djboersma/fixROIsegfault
tbaudier [Fri, 9 Mar 2018 14:56:27 +0000 (15:56 +0100)]
Merge pull request #61 from djboersma/fixROIsegfault

avoid segfault when adding ROI to image w/o trafo

6 years agoUpdate explanation about clitkExtractPatient
tbaudier [Fri, 9 Mar 2018 14:39:39 +0000 (15:39 +0100)]
Update explanation about clitkExtractPatient

6 years agoavoid segfault when adding ROI to image w/o trafo
David Boersma [Fri, 9 Mar 2018 14:11:26 +0000 (15:11 +0100)]
avoid segfault when adding ROI to image w/o trafo

we got segfaults with VV when doing the following
1. start VV
2. select CT image set (DICOM)
3. open ROI from DICOM

The segfault happened right after we had selected the names of the ROIs to be selected from the RS.* file.

After compiling VV as a "Debug" build and running the above steps in gdb, the
backtrace showed that the crash was caused in line 125 of
vvBinaryImageOverlayActor.cxx.  Apparently our CT image was represented without
any transformation at that point in the code, while the code assumed that there
would always be a transformation.

If it is DICOM-wise or VTK-wise legal for an image to have an empty vector of
transformations, then I think that my fix is sufficient.

If you think that it is anomalous that this vector was empty in our case, then
I think more work is needed. For instance, if this situation could really only
happen if the input data is somehow corrupt, then the user should get an
informative error message about that, and maybe VV just terminates after that
in a more controlled way. Or maybe VV should just provide identity trafo to
images that have an empty trafo vector. Or, less likely, maybe the image did
have a trafo but VV somehow manages to lose it? In all these cases this PR is
insufficient. I can't tell myself, because I am not an image expert. :-)

6 years agoQuality SonarCloud things
tbaudier [Fri, 9 Mar 2018 12:07:20 +0000 (13:07 +0100)]
Quality SonarCloud things

6 years agoclose #59 #58 Change clitkAffineTransform --transform_grid
tbaudier [Fri, 9 Mar 2018 10:54:33 +0000 (11:54 +0100)]
close #59 #58 Change clitkAffineTransform --transform_grid
Take into account the output bounding box correctly
Correct spacing to avoid null spacing

6 years agoRemove useless variable
tbaudier [Fri, 9 Mar 2018 10:50:34 +0000 (11:50 +0100)]
Remove useless variable

6 years agoAdd saveAs function to save a text file in clitkHistogramImage
tbaudier [Fri, 9 Mar 2018 10:49:15 +0000 (11:49 +0100)]
Add saveAs function to save a text file in clitkHistogramImage

6 years agoclose #57 The origin is modify in autoCrop, do not modify it again in cropFilter
tbaudier [Mon, 5 Mar 2018 10:39:26 +0000 (11:39 +0100)]
close #57 The origin is modify in autoCrop, do not modify it again in cropFilter

6 years agoUpdate Readme.md to add SonarCloud pins
tbaudier [Wed, 14 Feb 2018 12:50:14 +0000 (13:50 +0100)]
Update Readme.md to add SonarCloud pins

6 years agoAdd SonarCloud files
tbaudier [Wed, 14 Feb 2018 11:51:48 +0000 (12:51 +0100)]
Add SonarCloud files

6 years agoUpdate SonarCloud properties
tbaudier [Wed, 14 Feb 2018 10:56:51 +0000 (11:56 +0100)]
Update SonarCloud properties

6 years agoAdd sonarCloud
tbaudier [Wed, 14 Feb 2018 08:09:00 +0000 (09:09 +0100)]
Add sonarCloud

6 years agoAdd sonarCloud
tbaudier [Tue, 13 Feb 2018 15:58:56 +0000 (16:58 +0100)]
Add sonarCloud

6 years agoAdd ITK v4.13.0
tbaudier [Tue, 13 Feb 2018 08:43:27 +0000 (09:43 +0100)]
Add ITK v4.13.0