ParameterSettings_GE.m 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293
  1. %% Author: Rodrigo de Barros Vimieiro
  2. % Date: April, 2018
  3. % rodrigo.vimieiro@gmail.com
  4. % =========================================================================
  5. %{
  6. %
  7. % DESCRIPTION:
  8. % This is the configuration file for the tomosynthesis acquisition
  9. % geometry. This geometry is specified for the GE Senographe Essential.
  10. %
  11. % ---------------------------------------------------------------------
  12. % Copyright (C) <2018> <Rodrigo de Barros Vimieiro>
  13. %
  14. % This program is free software: you can redistribute it and/or modify
  15. % it under the terms of the GNU General Public License as published by
  16. % the Free Software Foundation, either version 3 of the License, or
  17. % (at your option) any later version.
  18. %
  19. % This program is distributed in the hope that it will be useful,
  20. % but WITHOUT ANY WARRANTY; without even the implied warranty of
  21. % MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  22. % GNU General Public License for more details.
  23. %
  24. % You should have received a copy of the GNU General Public License
  25. % along with this program. If not, see <http://www.gnu.org/licenses/>.
  26. %
  27. %}
  28. % =========================================================================
  29. %% Physical Parameters Settings
  30. parameter.type = 'ge';
  31. % Breast voxels density
  32. parameter.nx = 1024; % number of voxels (columns)
  33. parameter.ny = 1421; % number of voxels (rows)
  34. parameter.nz = 57; % number of voxels (slices)
  35. % Detector panel pixel density
  36. parameter.nu = 1500; % number of pixels (columns)
  37. parameter.nv = 3000; % number of pixels (rows)
  38. % Single voxel real size (mm)
  39. parameter.dx = 0.085;
  40. parameter.dy = 0.085;
  41. parameter.dz = 1;
  42. % Single detector real size (mm)
  43. parameter.du = 0.085;
  44. parameter.dv = 0.085;
  45. % X-ray source and detector distances
  46. parameter.DSD = 650; % Distance from source to detector (mm)
  47. parameter.DSO = 575; % Distance from source to the top of object (mm)
  48. parameter.DDR = 50; % Distance from detector to pivot (mm)
  49. parameter.DSR = parameter.DSD - parameter.DDR; % Distance from source to pivot (mm)
  50. parameter.DAG = 19.95; % Distance of Air Gap (mm)
  51. % Detector and object full real sizes (mm)
  52. parameter.sx = parameter.nx.*parameter.dx;
  53. parameter.sy = parameter.ny.*parameter.dy;
  54. parameter.sz = (parameter.nz.*parameter.dz)+parameter.DAG;
  55. parameter.su = parameter.nu.*parameter.du;
  56. parameter.sv = parameter.nv.*parameter.dv;
  57. % Detector and object Volume grid settings
  58. parameter.xs = (parameter.nx-1:-1:0)*parameter.dx;
  59. parameter.ys = (-(parameter.ny-1)/2:1:(parameter.ny-1)/2)*parameter.dy;
  60. parameter.zs = (0:1:parameter.nz-1)*parameter.dz + parameter.DAG;
  61. parameter.us = (parameter.nu-1:-1:0)*parameter.du;
  62. parameter.vs = (-(parameter.nv-1)/2:1:(parameter.nv-1)/2)*parameter.dv;
  63. % Number of Projections
  64. parameter.nProj = 25;
  65. % Angle settings (Degrees)
  66. parameter.tubeAngle = 50; % Tube Angle
  67. parameter.tubeDeg = linspace(parameter.tubeAngle/2,-parameter.tubeAngle/2,parameter.nProj);
  68. parameter.detAngle = 0; % Detector Angle
  69. parameter.detectorDeg = linspace(-parameter.detAngle/2,parameter.detAngle/2,parameter.nProj);
  70. %% General parameters
  71. % Slice range to be saved
  72. parameter.sliceRange = 1:parameter.nz;
  73. % Region of interest (ROI) to store
  74. parameter.iROI = 1:parameter.ny;
  75. parameter.jROI = 1:parameter.nx;
  76. % Bit number quatization
  77. parameter.bitDepth = []; % Load from dicom header