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