Author: Not specified Language: matlab
Description: Not specified Timestamp: 2017-10-11 04:59:23 +0000
View raw paste Reply
  1. %Assignment 1 Question 2a)
  2.  
  3. %Reading in image and metadata
  4. image1=dicomread('assign1_1.dcm');
  5. info1=dicominfo('assign1_1.dcm');
  6.  
  7. %Display original image in colour
  8. imagesc(image1);
  9. imshow(image1);
  10. imcontrast;
  11. colormap('jet');
  12. title ('Original Image with Colour');
  13.  
  14. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  15.  
  16. %Reading in image and metadata
  17. image2=dicomread('assign1_2.dcm');
  18. info2=dicominfo('assign1_2.dcm');
  19.  
  20. %Display original image in colour
  21. imagesc(image2);
  22. imshow(image2);
  23. imcontrast;
  24. colormap('jet');
  25. title ('Original Image with Colour');
  26.  
  27. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  28.  
  29. %Reading in image and metadata
  30. image3=dicomread('assign1_3.dcm');
  31. info3=dicominfo('assign1_3.dcm');
  32.  
  33. %Display original image in colour
  34. imagesc(image3);
  35. imshow(image3);
  36. imcontrast;
  37. colormap('jet');
  38. title ('Original Image with Colour');
  39.  
  40. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  41.  
  42. %Reading in image and metadata
  43. image4=dicomread('assign1_4.dcm');
  44. info4=dicominfo('assign1_4.dcm');
  45.  
  46. %Display original image in colour
  47. imagesc(image4);
  48. imshow(image4);
  49. imcontrast;
  50. colormap('jet');
  51. title ('Original Image with Colour');
  52.  
  53. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  54. %Reading in image and metadata
  55. image5=dicomread('assign1_5.dcm');
  56. info5=dicominfo('assign1_5.dcm');
  57.  
  58. %Display original image in colour
  59. imagesc(image5);
  60. imshow(image5);
  61. imcontrast;
  62. colormap('jet');
  63. title ('Original Image with Colour');
  64.  
  65. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  66. %Reading in image and metadata
  67. image6=dicomread('assign1_6.dcm');
  68. info6=dicominfo('assign1_6.dcm');
  69.  
  70. %Display original image in colour
  71. imagesc(image6);
  72. imshow(image6);
  73. imcontrast;
  74. colormap('jet');
  75. title ('Original Image with Colour');
  76.  
  77. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  78. %Reading in image and metadata
  79. image7=dicomread('assign1_7.dcm');
  80. info7=dicominfo('assign1_7.dcm');
  81.  
  82. %Display original image in colour
  83. imagesc(image7);
  84. imshow(image7);
  85. imcontrast;
  86. colormap('jet');
  87. title ('Original Image with Colour');
  88.  
  89. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  90. %Reading in image and metadata
  91. image8=dicomread('assign1_8.dcm');
  92. info8=dicominfo('assign1_8.dcm');
  93.  
  94. %Display original image in colour
  95. imagesc(image8);
  96. imshow(image8);
  97. imcontrast;
  98. colormap('jet');
  99. title ('Original Image with Colour');
  100.  
  101. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  102. %Reading in image and metadata
  103. image9=dicomread('assign1_9.dcm');
  104. info9=dicominfo('assign1_9.dcm');
  105.  
  106. %Display original image in colour
  107. imagesc(image9);
  108. imshow(image9);
  109. imcontrast;
  110. colormap('jet');
  111. title ('Original Image with Colour');
  112.  
  113. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  114.  
View raw paste Reply