Commit Graph

136 Commits

Author SHA1 Message Date
9cfc7d3aa3 trilinear interpolation
Ray geometry and interpolation fixed.
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
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.
2024-11-01 09:59:53 +01:00
7b9db5e25d Merge branch 'ScalarRangeDRT' into 'ScoutRTRelease'
Scalar Range of DRT for writing

See merge request cpt_bioeng/drt!57
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).
2024-08-22 15:54:16 +02:00
affd24b48e Working on Scalar Range issue. Intorudcing two different functions for writing and rendering Projections 2024-08-22 13:07:00 +02:00
4989d021bd Strarting playing with Scalar Range of DRT 2024-08-21 09:18:27 +02:00
66762fac79 Merge branch 'OffRevRenderingAlternative' into 'ScoutRTRelease'
DICOM Saving v2.0

See merge request cpt_bioeng/drt!56
2024-08-07 09:31:43 +02:00
c8b15d2d35 Merge branch 'DRRSavingAndErrorHandling' into 'OffRevRenderingAlternative'
Unsigned short checks + DICOM Savnign error handling

See merge request cpt_bioeng/drt!55
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 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
2024-05-23 00:10:31 +02:00
7caad8be89 Merge branch 'RTSMarker' into 'ScoutRTRelease'
RTSMarker bug

See merge request cpt_bioeng/drt!42
2024-02-16 12:22:22 +01:00
e555e9421d RTSMarker bug
- minor cleanup compiler warnings
2024-02-09 14:31:50 +01:00
8b43e43132 window title software version removed 2024-02-09 14:15:28 +01:00
e0a1ea5034 RTSMarker bug
clean up some debug couts
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
2024-02-09 14:09:22 +01:00
15a5154ec5 Improved visualisation of missing data in DcnCheckView 2023-07-04 11:40:54 +02:00
cc6f2a8c00 cleaning up valgrind 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
2023-07-01 01:21:28 +02:00
33a9cc7ec2 SetDefaultPixel value of resampler 2023-06-27 09:43:10 +02:00
2d5a51a4aa Merge branch 'ScoutRTresampVolume' into 'ScoutRTUIDevel'
pCT Resampling

See merge request cpt_bioeng/drt!33
2023-06-14 14:00:08 +02:00
6162edacfd Interpolation on/off and desired spacing in lng in config 2023-06-14 13:57:21 +02:00
cdc75507ac Resampling by halfing spacing in Z directions 2023-06-12 16:19:04 +02:00
bbb1c5c428 First attempt resampler 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
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 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.
2023-06-06 17:37:49 +02:00
a59de4370c Merge branch 'Siddon' into 'ScoutRTUIDevel'
Siddon

See merge request cpt_bioeng/drt!31
2023-06-06 15:21:24 +02:00
39a9c1e47b Panel offset in contour projector 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 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
2023-06-06 10:48:06 +02:00
e8707bbddb Merge branch 'ScoutRTUIDevel' of https://git.psi.ch/cpt_bioeng/drt into ScoutRTUIDevel 2023-06-06 09:50:48 +02:00
6f3a5d70b6 Siddon geometry 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
2023-06-05 12:55:23 +02:00
1aca4117c6 Amoeba iterations
-reopening issue #91
-passing our best guess of iteration instead of metric
2023-06-01 18:25:06 +02:00
012de2a204 Merge branch 'ScoutRTUIDevel' of https://git.psi.ch/cpt_bioeng/drt into ScoutRTUIDevel 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
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.
2023-06-01 14:43:55 +02:00
ef51c4173a Merge branch 'ScoutRTUIDevel' of https://git.psi.ch/cpt_bioeng/drt into ScoutRTUIDevel 2023-05-31 16:12:44 +02:00
74a294e06c Geo Cal review 2023-05-31 16:12:36 +02:00
55d26f8c01 Closing Issue #52 - SRO now writes Complete Isocentric Transform 2023-05-31 14:42:08 +02:00
43a1d129dd Merge branch 'ScoutRTUIDevel' of https://git.psi.ch/cpt_bioeng/drt into ScoutRTUIDevel 2023-05-27 00:46:34 +02:00
8a34450119 PanelOffset for FFS 2023-05-27 00:46:19 +02:00
c833837d8b Closing Issue #75: string for StationName is static but was never cleared. 2023-05-26 17:18:21 +02:00
7df40c19ad Set Degress of Freedom fo Registration in Config. 6 DOF auto and manual is working 2023-05-25 14:39:19 +02:00
c5319a5493 added new fields to COnfig View and Number Of hIstogram bins in MI 2023-05-25 09:27:20 +02:00
29e2935c59 All metric and optimizer parameters of Automatic Registration are moved to Config file 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.
2023-05-24 13:18:06 +02:00
3e8a113ae6 Menu
- Signals to itkImageProcessor to change metric and optimizer
2023-05-24 11:08:14 +02:00
205f2f9db1 Merge branch 'scoutRTUIDevelREG' into 'ScoutRTUIDevel'
Restructuring of reg23 code and ROI fix

See merge request cpt_bioeng/drt!29
2023-05-23 15:06:08 +02:00