150 Commits

Author SHA1 Message Date
13e49503a7 Adding new files for Automatic Registration 2023-01-23 16:35:14 +01:00
902cc7e00c Merge branch 'ScoutRTUIDevelOptim' into 'ScoutRTUIDevel'
First integration of Automatic Registration is running (on Approve button)....

See merge request cpt_bioeng/drt!20
2023-01-23 15:33:41 +00:00
3af6066e4f First integration of Automatic Registration is running (on Approve button). There is in this commit soem confusion and changes in the DRR writing for testing with Alex 2022-12-21 16:15:58 +01:00
62aee70510 Merge branch 'ScoutRTUInewRender' into 'ScoutRTUIDevel'
Version of Test 10-12-2022

See merge request cpt_bioeng/drt!19
2022-12-12 14:00:05 +00:00
1f72aa4ba5 Added Interpolator for Reslice in DRT ad Topo. Working ok even though there is a discrepancy between visualistaion of single DRT and DRT and TOPO 2022-12-08 11:06:01 +01:00
e304e1c004 Changed to 16 bit for image visualisation 2022-12-06 16:48:08 +01:00
80aecca90c Working version of issue #32. Everything works fine. New settings.ini is noyt uploaded to repo has there is a minor inconsistency in settings on my MAC. Needs to double check modifications to itkImageProcessor (very minor) 2022-11-25 18:59:31 +01:00
42c9360b21 Issue #8. A solution (psiReto) is now in the code. Possibly dirty 2022-11-03 17:22:34 +01:00
92876e8c3a Closing Issue #39. Keyboard arrows for transform are completed for functionalities for both HFS and FFS. N.B. changes to files in itkDTRecon are not doing anything to the library 2022-10-27 10:43:49 +02:00
5735273934 Closing issue #36. Fixed bugs on Manual transformation coloring XYZwidget orange 2022-09-19 11:26:58 +02:00
113dbafd6b Fix bugs on projection filter for contour and ISO on multiple loading.
Clean up fo filter implemented
2022-09-19 10:40:39 +02:00
7717c1fdad Fixed bugs:
- Interpolating all available space in DRT geometry.
 - Isocenter visualisation based on same filter as contours
 - Wrting SOP Class and SOP Instance UID in SRO
2022-09-16 16:53:03 +02:00
12d02d8cbc PLEASE CHECK changes in DRTMetaInformation.cpp. Possible reason for cut of image? 2022-09-13 18:55:56 +02:00
edf28c6a57 Fixed crashed when unloading Scout and fixed unloading of RTPlan 2022-09-13 17:04:13 +02:00
9fc9290838 Completed writing of DRRs. Only final checks yet to be done 2022-09-12 17:50:58 +02:00
101ae5ff00 Completed writing of Dicom File for Spatial Registration 2022-09-09 15:51:01 +02:00
ba780de026 Merge branch 'dcmWrite' into 'ScoutRTUIDevel'
DICOM write

See merge request cpt_bioeng/drt!16
2022-09-05 14:08:03 +00:00
70a063c636 DICOM write
Example write for REG and DRR
2022-08-22 17:02:27 +02:00
b88eb17d40 Clean-up of Visualisation Handler 2022-07-28 09:21:01 +02:00
a2bd350ea2 Issue #27 - Started working on implementation of the Registration Supervisor. It works as it is supposed to. Could be improved visualisation when using TranslationWidget 2022-07-21 18:15:46 +02:00
e932ae0c97 Closing issue #23. The crash is caused by calling render in when the ui handler receives a DRT. As to why this is happening a little more work is required. In general the pipeline needs improvement 2022-07-19 18:58:38 +02:00
018137224a Merge branch 'master' into 'ScoutRTUI'
Merging latest master into ScoutRTUI

See merge request cpt_bioeng/drt!12
2022-06-29 14:32:42 +00:00
d05205ca88 Merge branch 'dicomNet' into 'master'
Basic Functionality - UI, DCMDB, DCMNet

See merge request cpt_bioeng/drt!11
2022-06-29 14:22:50 +00:00
b91ca7c5e9 Add IPP sorter on file read. I am not sure if the DB indexer sorts files by Z location. 2022-06-27 16:42:28 +02:00
11446be630 Add IPP sorter on file read. I am not sure if the DB indexer sorts files by Z location. 2022-06-27 16:38:08 +02:00
3da8413f4f Load CT (3D) volume from database
* If database contains a CT, that can be imported.
* Full pipeline from DataView to itkImageProcessor.
* No checks on CT selection in DataView.
* No feedback of data loaded from RegistrationView to DataView.
2022-06-24 23:28:36 +02:00
f9d3272784 itkDRTrecon object (namely ScoutProcessor) moved to RegistrationView mainwindow 2022-06-22 17:37:29 +02:00
1659efbedb Added Image view shifting with pressing of Mouse Right Button. Adjusted behaviour of TranslationWidget.
User interface for image visualisation is in a good state. Almost usable for Alignment. Memery leaks up to now ignored.....
2022-06-02 16:37:06 +02:00
a70855d91f Added RTPlan reader & visualisationof CrossHair at isocenter. This is currently working in DICOM coordinates (in other words if DRTs are not regenerated according to Iso and Table position).
YET TO DO:
- disable visualisation of crossHair
- widget with Emit for full screen visualisation
- bug on wipe visulisation of contours + opacity
- clean data when unloading
2022-05-20 19:01:17 +02:00
45b9c88ac4 Contour loading working. All working on HFS example. Pay attention on transformation applied to contours after loading of different images and consistency between DICOM and VTK coordinate system. Needs testing for different patient position.
- YET TO FIX
Bug on wipe: view LAT in blending does not visualise contours.
Actor of struct has wierd bounds. Might require a deeper look at later point
2022-05-19 20:25:43 +02:00
b260711b4f clean up CMAKE structure 2022-05-13 22:17:40 +02:00
496bb08c27 backup current stage 2022-03-18 17:02:06 +01:00
c08dba7cf0 Isocentric transform
* Meta Transform container
* Mapping from User Isocentric IEC correction to Projection center LPS (6DOF)
* Cleanup continues
2022-02-23 22:11:21 +01:00
34796f0d13 all sparce variables removed.
Meta for transform implemented.
Runs ok with volume, rt, struct
2022-02-18 00:05:44 +01:00
93b51ee963 Working on Meta classes.
Meta containers (itkObject) defined for CTVolume, Topogram, Projection Geometry Settings, DRT, RTPlan.
Initial work on code clean up from silly variables and use of Meta containers instead.
DRT Image Size, Resolution, Position, Directions calculated at geometry definition instead of runtime
2022-02-17 17:40:12 +01:00
e161ac9521 in the process of removing variables and use meta container 2022-02-17 01:08:18 +01:00
2207f9e68c adding meta info classes 2022-02-16 22:58:33 +01:00
7756fafc58 vtkContourTopogramProjectionFilter release version. Includes check on input data and memory. 2022-02-16 14:24:39 +01:00
2df177740c vtkContourTopogramProjectionFilter is clean 2022-02-16 14:10:18 +01:00
98473126bc vtkContourTopogramProjectFilter works with transforms 2022-02-15 17:41:03 +01:00
3bc86087b6 vtkContourTopogramProjectFilter works without transforms 2022-02-15 15:20:41 +01:00
867d2949a3 A structure for vtkContourTopogramProjectionFilter 2022-02-15 00:53:50 +01:00
c94dc43b17 Get Projection inverse transform as vtk4x4Matrix and Projection center LPS for further processing outside of the itkImageProcessor. Required for implementing vtk contour projection based on the same transform. 2022-02-14 16:58:40 +01:00
c87941ad45 Set functions for RTPlan related data
Some clean up
2022-02-14 15:02:12 +01:00
a65834c60e Initial code cleanup. Removing AutoReg functions and better split of itk pipeline for calculation of LPS coordinates and actual projection 2022-02-11 23:54:42 +01:00
70498e03b6 * fixed DRT computation with rotations (6DOF).
* first step towards input volume alignment form rt plan info
2022-02-11 00:16:51 +01:00
4b8f35b6c4 cleaning and moving things around. Better definition of isocenter projection 2022-02-10 09:52:06 +01:00
b62c70914b Restored TestApp functionality with simplifed rendering pipeline 2022-02-08 15:14:33 +01:00
d9e7d4fe6d Rework of projection reference frame. Now we preserve patient LPS until the end and DRT can be directly overlay with Topogram with no further manipulation. Projeciton is in Patient Orientation.
Projection angle is set by user in IEC and corrected for patient orientation (HFS,FFS, ..) before internal use
Detection of Topogram projection (LAT or PA) is done on load, accounting for patient orientation and image direction cosines
2022-02-07 18:00:22 +01:00
c196ae3dbb Initial commit.
Digitally Reconstructed Topogram library and simple test application.
2021-12-17 10:08:47 +01:00