Commit Graph

  • 6009befeac Update README.md master fattori_g 2025-06-25 00:11:48 +02:00
  • 7a6d9abd8b Update README.md fattori_g 2025-06-25 00:09:20 +02:00
  • a003080e33 Update README.md fattori_g 2025-06-25 00:01:28 +02:00
  • a16c48a204 Update README.md fattori_g 2025-06-24 23:59:54 +02:00
  • dd94a1fb76 Update README.md fattori_g 2025-06-24 23:57:26 +02:00
  • 2361354982 A bit of code comments cleanup Giovanni Fattori 2025-05-14 23:20:02 +02:00
  • 06ad957615 Update itkReg23DRT/CMakeLists.txt fattori_g 2025-05-14 23:01:10 +02:00
  • 80eedce9cb clear folder structure Giovanni Fattori 2025-05-14 23:00:14 +02:00
  • 7e9b1be191 clear folder structure Giovanni Fattori 2025-05-14 22:56:29 +02:00
  • 263da7276f Update CITATION.cff fattori_g 2025-05-14 11:02:27 +02:00
  • 6899e563db Add README.md fattori_g 2025-05-14 11:01:21 +02:00
  • 8ad613edee Add third_party_licenses.txt fattori_g 2025-05-14 10:58:38 +02:00
  • 8703d4b49d LICENSE.txt fattori_g 2025-05-14 10:56:52 +02:00
  • c4f59078f0 CITATION.cff fattori_g 2025-05-14 10:53:06 +02:00
  • 88ad7118bc Merge branch 'ScoutRTRelease' into 'master' fattori_g 2025-04-17 13:54:52 +02:00
  • 9cfc7d3aa3 trilinear interpolation Ray geometry and interpolation fixed. siddonTril Proton local user 2024-11-08 14:47:36 +01:00
  • 35f8ff18d4 tril performance now Tril done only for pixels above threshold. there is a mistake beacause the image is not moving consistely in the right direction when apply small shifts in sequence Proton local user 2024-11-04 23:12:16 +01:00
  • 8e56950e24 Trilinear interpolation along the ray implementation of trilinear interpolation of CT voxel intensities to render properly sub-voxel transforms related to issue #150 it seems to work, to understan how much the performance degrades and if this should be always performed or not. Proton local user 2024-11-01 09:59:53 +01:00
  • 7b9db5e25d Merge branch 'ScalarRangeDRT' into 'ScoutRTRelease' via_r 2024-09-23 09:20:46 +02:00
  • 5196241a7b Solved Issue #149. Introduced new function for returning projection from imageProcessor with original Scalar Range which is used when saving the DRR. Visualisation is kept fixed (hard-coded upper limits: 0-2048). Proton local user 2024-08-22 15:54:16 +02:00
  • affd24b48e Working on Scalar Range issue. Intorudcing two different functions for writing and rendering Projections Proton local user 2024-08-22 13:07:00 +02:00
  • 4989d021bd Strarting playing with Scalar Range of DRT Proton local user 2024-08-21 09:18:27 +02:00
  • 66762fac79 Merge branch 'OffRevRenderingAlternative' into 'ScoutRTRelease' via_r 2024-08-07 09:31:43 +02:00
  • c8b15d2d35 Merge branch 'DRRSavingAndErrorHandling' into 'OffRevRenderingAlternative' via_r 2024-08-07 09:25:25 +02:00
  • dd63d59841 Finished work on usigned short checks for DRR images as well as better handling and logging of errors in Data Saving Proton local user 2024-07-23 14:54:26 +02:00
  • f15a6f5871 Cleaning unused variables here and there - variables are commented out or warning prevented using a unused_variable macro Proton local user 2024-05-23 00:10:31 +02:00
  • db542cea9a Merge branch 'cleanUpUIHandler' into 'ScoutRT_Qt6_handler' ScoutRT_Qt6_handler via_r 2024-02-22 16:40:26 +01:00
  • 7caad8be89 Merge branch 'RTSMarker' into 'ScoutRTRelease' via_r 2024-02-16 12:22:22 +01:00
  • 1e26350281 Merge branch 'RTSMarker' into 'ScoutRT_Qt6' ScoutRT_Qt6 fattori_g 2024-02-09 22:47:24 +01:00
  • e555e9421d RTSMarker bug - minor cleanup compiler warnings Proton local user 2024-02-09 14:31:50 +01:00
  • 8b43e43132 window title software version removed Proton local user 2024-02-09 14:15:28 +01:00
  • e0a1ea5034 RTSMarker bug clean up some debug couts Proton local user 2024-02-09 14:14:15 +01:00
  • e945c91337 RTSMarker bug - fixed rendering pipeline. a cross mark is displayed if we have a struct with a single point - in case of 2 points, we do nothing, just pass on the two points - if we have a full structure, we process it as usual - fix to be ported into the writer Proton local user 2024-02-09 14:09:22 +01:00
  • 74736603c6 itk metric wrong include fattori_g 2024-02-06 17:06:33 +01:00
  • ed75b0920d most of CTK should be clear fattori_g 2024-02-06 16:56:27 +01:00
  • 632303efcc Merge branch 'ScoutRTRelease' into 'master' via_r 2023-08-30 10:35:42 +02:00
  • 15a5154ec5 Improved visualisation of missing data in DcnCheckView Proton local user 2023-07-04 11:40:54 +02:00
  • cc6f2a8c00 cleaning up valgrind Proton local user 2023-07-01 14:33:09 +02:00
  • 2f31cf4b29 cleaning based on valgrind input a number of cleanups, the most critical probably in ui_RegistrationView.cpp:403 setupParentUIMenu, where a variable was accessed before initialisation Proton local user 2023-07-01 01:21:28 +02:00
  • 33a9cc7ec2 SetDefaultPixel value of resampler Proton local user 2023-06-27 09:43:10 +02:00
  • 2d5a51a4aa Merge branch 'ScoutRTresampVolume' into 'ScoutRTUIDevel' via_r 2023-06-14 14:00:08 +02:00
  • 6162edacfd Interpolation on/off and desired spacing in lng in config Proton local user 2023-06-14 13:57:21 +02:00
  • cdc75507ac Resampling by halfing spacing in Z directions Proton local user 2023-06-12 16:19:04 +02:00
  • bbb1c5c428 First attempt resampler Proton local user 2023-06-12 15:00:09 +02:00
  • ad7f0986f7 SOlved bug in reg23 related to initialization of simplexdelta in case of 6DOF. Closing Issue number #60 Proton local user 2023-06-07 18:05:36 +02:00
  • 4e2a7d87b1 Related to alredy closed Issue #97 - added update on ISO. Also taking out Panel Offset completely from Projection leads to some results. Makes sense. It is now commented on the code but will be kept in case of future analysis Proton local user 2023-06-07 11:37:17 +02:00
  • 005f42aa55 Closing Issue #97 - Panel offset set on Projected point as well as after inverse transform. Dependencies on Image and Patient Orientation. Solved with filter knowledge of pCT parameters. Proton local user 2023-06-06 17:37:49 +02:00
  • a59de4370c Merge branch 'Siddon' into 'ScoutRTUIDevel' fattori_g 2023-06-06 15:21:24 +02:00
  • 39a9c1e47b Panel offset in contour projector Proton local user 2023-06-06 14:16:46 +02:00
  • 1c247296b2 Closing Issue #93 and #91 - The unit of length in the UI (all dialogs and widgets can now be set from config Proton local user 2023-06-06 11:21:50 +02:00
  • 90cfe3defd Siddon revised code to correct ray calculation that uses boundaries instead of voxel centers as we were expecting Proton local user 2023-06-06 10:48:06 +02:00
  • e8707bbddb Merge branch 'ScoutRTUIDevel' of https://git.psi.ch/cpt_bioeng/drt into ScoutRTUIDevel Proton local user 2023-06-06 09:50:48 +02:00
  • 6f3a5d70b6 Siddon geometry Proton local user 2023-06-06 00:04:05 +02:00
  • a529ad033c Working on Issue #45 . New interaction function by clicking on button R of keyboard. In blending it does camera resetting and in WIping it centers the wipe widget. Also added in config key PreserveLocalData Proton local user 2023-06-05 12:55:23 +02:00
  • 1aca4117c6 Amoeba iterations -reopening issue #91 -passing our best guess of iteration instead of metric Proton local user 2023-06-01 18:25:06 +02:00
  • 012de2a204 Merge branch 'ScoutRTUIDevel' of https://git.psi.ch/cpt_bioeng/drt into ScoutRTUIDevel Proton local user 2023-06-01 17:53:51 +02:00
  • 21bb27c0f1 Export SRO matrix and dialog unit - Fixed a transpose in export matrix to SRO - Approval dialog in cm Proton local user 2023-06-01 17:53:43 +02:00
  • 3c3f1a378b Closing Issue #63 . Also relates to contour misplacement. Problems arise when canceling autoreg. Now fixed. Also closing issue #91 - Not the most elegant solution. For amoeba we do not visualise Iteration but value of optimizer. Proton local user 2023-06-01 14:43:55 +02:00
  • ef51c4173a Merge branch 'ScoutRTUIDevel' of https://git.psi.ch/cpt_bioeng/drt into ScoutRTUIDevel Proton local user 2023-05-31 16:12:44 +02:00
  • 74a294e06c Geo Cal review Proton local user 2023-05-31 16:12:36 +02:00
  • 55d26f8c01 Closing Issue #52 - SRO now writes Complete Isocentric Transform Proton local user 2023-05-31 14:42:08 +02:00
  • 43a1d129dd Merge branch 'ScoutRTUIDevel' of https://git.psi.ch/cpt_bioeng/drt into ScoutRTUIDevel Proton local user 2023-05-27 00:46:34 +02:00
  • 8a34450119 PanelOffset for FFS Proton local user 2023-05-27 00:46:19 +02:00
  • c833837d8b Closing Issue #75: string for StationName is static but was never cleared. Proton local user 2023-05-26 17:18:21 +02:00
  • 7df40c19ad Set Degress of Freedom fo Registration in Config. 6 DOF auto and manual is working Proton local user 2023-05-25 14:39:19 +02:00
  • c5319a5493 added new fields to COnfig View and Number Of hIstogram bins in MI Proton local user 2023-05-25 09:27:20 +02:00
  • 29e2935c59 All metric and optimizer parameters of Automatic Registration are moved to Config file Proton local user 2023-05-24 18:52:44 +02:00
  • 98ada50379 Reg23 ROI - fixed the known issue of ROI not defined automatically before interaction - whole region is used as default, until user changes that - reset on patient unload, the next one should start again from full region. Proton local user 2023-05-24 13:18:06 +02:00
  • 3e8a113ae6 Menu - Signals to itkImageProcessor to change metric and optimizer Proton local user 2023-05-24 11:08:14 +02:00
  • 14f4aca6d1 Merge branch 'ScoutRTUIDevel' into 'master' fattori_g 2023-05-23 17:07:47 +02:00
  • 205f2f9db1 Merge branch 'scoutRTUIDevelREG' into 'ScoutRTUIDevel' via_r 2023-05-23 15:06:08 +02:00
  • 47fe531aae R23 ROI Fixed and initial on LUT - Fixed bug in ROI itkRegion definition, missing division by spacing - Consistent results using Small (1mm) or Large (2mm) FoV - Some initial work on LUT, to polish... Proton local user 2023-05-19 23:40:46 +02:00
  • bc3d3e7e54 autoReg23 code restructure - all automatic registration stuff moved to another itk object - most of input are passed as pointers from the parent Proton local user 2023-05-19 16:03:59 +02:00
  • d67627a6fc Review of multiple optimizers - metrics - not usuable util the opti and metric types are better defined using enums - ROI are passed to both metrics - Full functionalty only for Powell(NCC or MI), mainly due to GetFinalR23Parameters which get those from Powell.... Proton local user 2023-05-17 23:53:02 +02:00
  • 8d2976ebbc Merge branch 'scoutRTUIDevelREG' into 'ScoutRTUIDevel' via_r 2023-05-17 11:12:44 +02:00
  • ab29d81e5e UseOfRotations for hidden transform and station name - itkDRT has method to set whether rotations should be used for import offset and hidden transform. Results checked against external code for final PAT conversion. - helpers for query of station name and Fov moved to helpers functions file - preparation of station name check in scout processor load of 2D and 3D images Proton local user 2023-05-17 10:49:22 +02:00
  • 21751524bb Calculation of offset in PAT and rework of signals to approval. - offset calc is verified against outside script. To be careful now in case we want to exclude the rotations from import offset. For PAT calc we need the complete matrix, therefore we may need to filter the rotations somewhere else. - initial work on signal of current transform. was based on readout of spin box. i would use internal storage and check it against spin. - i leave it broken so that we know where to continue Proton local user 2023-05-16 17:03:26 +02:00
  • e97a246427 Crash on close patient and removal of uncessary load from dir - flipped unload sequence, Scouts, RTP, RTS, CT - removed unused load functions Proton local user 2023-05-16 13:57:58 +02:00
  • 646ba2e0af Calculate Transfrom for SRO isocetric mapped to pCT Zero. Proton local user 2023-05-15 18:09:04 +02:00
  • 9b616b3b55 a number of autoREG and geometry fixes - automatic registration actually makes use of ROI. Before were ignored. - cleanup of user and hidden transform and pass to UI after registration. - change of internal image interpolator used in autoREG. Now autoREG performs well. - general number of working units variable. - GetFinalRotations, GetFinalTranslations and GetTransformParameters become obsolete. - GetFinalR23Parameters and GetCompleteIsocentricTransform and GetUserIsocentricTransform are provided. - only GetCompleteIsocentricTransform is missing implementation. Proton local user 2023-05-15 17:02:18 +02:00
  • d4c800dfcd R23 optimizes the isocentric IEC transform, internally the two internal transform are computed at every iteration. As a result, the feedback to regDialog is now already correct, no need for flips or sign change. CalculateExternalTransform becomes obsolete... and has been commented out. Methods for gui to get latest paremeters have been rewritten. Proton local user 2023-05-12 23:36:24 +02:00
  • 6ad0344791 MapTransformToNewOrigin and CalcInternalTransformV3 moved to another file, ouside of scout processor Proton local user 2023-05-12 16:13:12 +02:00
  • 9a8faa0693 Simplified CalcInternalTransformV3 which makes use of T and R calculated by the transform Meta Proton local user 2023-05-12 14:55:17 +02:00
  • c67281a10a new R23MetaInfo so that R23 does not need TransformMeta anymore Proton local user 2023-05-12 14:00:32 +02:00
  • 07db119315 backup before changing meta reg Proton local user 2023-05-12 13:29:02 +02:00
  • 48a96061c2 Merge branch 'ScoutRTUIDevel' into 'scoutRTUIDevelREG' fattori_g 2023-05-11 09:43:15 +02:00
  • 9f126e8a34 debug commented Proton local user 2023-05-11 09:41:10 +02:00
  • 2a6a8d4922 Solved bug that would cause crash when trying to change parameters of regEngine with CT not yet loaded (example loading Scout LONG in DataView). Minor changes in UI functionalities to adjust for this new behaviour. Now loading of scouts is automatically followed by visualisation Proton local user 2023-05-08 17:54:16 +02:00
  • b0beda81b8 REG working Proton local user 2023-05-03 16:43:52 +02:00
  • 2d9d3d97bd RTPlan data widget as TreeWidget Proton local user 2023-05-03 16:43:13 +02:00
  • 24e7435376 Merge branch 'scoutRTUIDevelTemp' into 'ScoutRTUIDevel' via_r 2023-05-03 14:19:18 +00:00
  • 8cdb53731f Merge branch 'ScoutRTUIDevel' into 'scoutRTUIDevelTemp' via_r 2023-05-03 14:14:16 +00:00
  • 8e6c9e9aba Some work on UI Proton local user 2023-05-03 16:08:17 +02:00
  • 97674c6b4b Cleanup debug print Proton local user 2023-05-03 15:19:50 +02:00
  • 9b5921dd60 autoReg working Proton local user 2023-05-03 14:41:52 +02:00
  • f166060a71 review of projection geometry definition - introduction of CalculateInternalTransformV2 - Each projection maps the isocentric transform (RTIso COR) to its own projection center, including calibration offset. - Direct comparison with previous implementation of CalculateInternalTransform not done... yet. - Results on validation dataset are good. - This change was triggered by rather large errors (ca. 0.8mm) on validation dataset. - Both fakeIso and DCM RTPlan iso have been updated to V2. Proton local user 2023-05-02 23:46:48 +02:00
  • b7bf26b0d2 Working on modeling panel offset: - panel offset moved to gSiddon, output image w/ offset are available to reg23 - calibration in settings.ini is a mix of fitting and manual review in SRT - calibration images reviewed (all: short long AP PA) - Test with validation dataset is good. However only for IECS2CT2 w/ translations only. Import offset and hidden transform confuse the situation. Unclear if should be used or not when w/o resildual wrt LT is belo 0.3 - registration dialog is modal.' Proton local user 2023-04-30 23:33:25 +02:00
  • 292032fca2 Major modifications to account for introducing in the calibration paramters the panel center offset: This include as most important changes: - itkImageProcessor UpdateProjectionGeometryMeta - SetOriginLPS now includes that offset - ui_qvtk_handler: change in overlapping of two images. This now use the vtk provided image center which also consider image orientation and allows us to work under no assumption of center at same position between DRT and TOPO This release was tested on Imaging calibration data. Consistency was good. On Phantom data also good consistency on Correction Vector between SHORT and LONG Proton local user 2023-04-28 18:51:28 +02:00
  • 6af205e60e ROI implemented - check functionalities on proper dataset Proton local user 2023-04-17 13:33:18 +02:00
  • abc594dac3 Implemented unload in imageProcessor. Fixed quite big bug on reloading of patient that kept trasformation matrix of previous alignment Proton local user 2023-03-22 18:40:48 +01:00