{
  "id": 375419,
  "title": "how to deal with dicom file ?",
  "url": "/competitions/rsna-breast-cancer-detection/discussion/375419",
  "author_name": "Ahmed___Gaber____",
  "post_date": "2023-01-01T14:20:04.476000",
  "votes": 3,
  "comment_count": 3,
  "views": 0,
  "content": "<p>dear all ,<br>\ni have some questions of dicom files :-<br>\n1- what information can we collect from dicom file , except pixel array ( get more statistics  ) .<br>\n2- what is Hounsfield Units and what the effect of applying it in image  ?<br>\n3-  how to load images and be sure that this image loaded successfully ?<br>\n4- what is VOI LUT or Windowing Operation  what the effect of applying it in image ?<br>\nany help ?</p>",
  "messages": [
    {
      "id": 2082409,
      "postDate": "2023-01-01T14:42:07.510Z",
      "content": "<p>1 - There isn't much information in the DICOM meta tags for this competition. You'll find pixel and bit-depth data, but nothing useful clinically outside of window width and center tags (which are used for \"windowing\").</p>\n<p>2 - H.U. is a concept that only applies to CT (or other calibrated ionizing radiation imaging). H.U. is not used in standard mammography.</p>\n<p>3 - There are several threads here on extracting pixels most efficiently. There are a few libraries that can do it. Most people use PyDicom or dicomsdl. You will need to use a dataset containing GDCM and PyLIbJPEG to decode some of the files in this comp.</p>\n<p>4 - VOI LUT stands for Value of Interest Look Up Table. This is a way of mapping 16 bit pixel values to 8 bit values. It's a different concept than regular normalization to 0-255 and allows for better visualization of the difference in tissue densities. You can use the <code>apply_voi_lut()</code> function from PyDicom to use it. </p>\n<p>** Note There aren't any VOI LUTs in the competition images though, so PyDicom's behavior is to fall back to applying windowing using the default window width and window center DICOM tags.</p>",
      "rawMarkdown": "1 - There isn't much information in the DICOM meta tags for this competition. You'll find pixel and bit-depth data, but nothing useful clinically outside of window width and center tags (which are used for \"windowing\").\n\n2 - H.U. is a concept that only applies to CT (or other calibrated ionizing radiation imaging). H.U. is not used in standard mammography.\n\n3 - There are several threads here on extracting pixels most efficiently. There are a few libraries that can do it. Most people use PyDicom or dicomsdl. You will need to use a dataset containing GDCM and PyLIbJPEG to decode some of the files in this comp.\n\n4 - VOI LUT stands for Value of Interest Look Up Table. This is a way of mapping 16 bit pixel values to 8 bit values. It's a different concept than regular normalization to 0-255 and allows for better visualization of the difference in tissue densities. You can use the `apply_voi_lut()` function from PyDicom to use it. \n\n** Note There aren't any VOI LUTs in the competition images though, so PyDicom's behavior is to fall back to applying windowing using the default window width and window center DICOM tags.",
      "votes": 5,
      "replies": [
        {
          "id": 2082413,
          "postDate": "2023-01-01T14:59:52.847Z",
          "content": "<p>thanks <a href=\"https://www.kaggle.com/davidbroberts\" target=\"_blank\">@davidbroberts</a> </p>",
          "rawMarkdown": "thanks @davidbroberts "
        },
        {
          "id": 2106714,
          "postDate": "2023-01-19T10:16:05.560Z",
          "content": "<p>thank you for this,<br>\nI wanted to highlight a connected issue I highlighted, incase you might want to enlight, <br>\nthanks again.<br>\n[<a href=\"https://www.kaggle.com/competitions/rsna-breast-cancer-detection/discussion/377208#2106706\" target=\"_blank\">https://www.kaggle.com/competitions/rsna-breast-cancer-detection/discussion/377208#2106706</a>]</p>",
          "rawMarkdown": "thank you for this,\nI wanted to highlight a connected issue I highlighted, incase you might want to enlight, \nthanks again.\n[https://www.kaggle.com/competitions/rsna-breast-cancer-detection/discussion/377208#2106706]"
        }
      ]
    },
    {
      "id": 2082391,
      "postDate": "2023-01-01T14:20:04.477Z",
      "content": "<p>dear all ,<br>\ni have some questions of dicom files :-<br>\n1- what information can we collect from dicom file , except pixel array ( get more statistics  ) .<br>\n2- what is Hounsfield Units and what the effect of applying it in image  ?<br>\n3-  how to load images and be sure that this image loaded successfully ?<br>\n4- what is VOI LUT or Windowing Operation  what the effect of applying it in image ?<br>\nany help ?</p>",
      "rawMarkdown": "dear all ,\ni have some questions of dicom files :-\n1- what information can we collect from dicom file , except pixel array ( get more statistics  ) .\n2- what is Hounsfield Units and what the effect of applying it in image  ?\n3-  how to load images and be sure that this image loaded successfully ?\n4- what is VOI LUT or Windowing Operation  what the effect of applying it in image ?\nany help ?",
      "votes": 3
    }
  ],
  "comments": [
    {
      "id": 2082409,
      "author_name": "David Roberts",
      "author_url": "",
      "post_date": "2023-01-01T14:42:07.510000",
      "content": "<p>1 - There isn't much information in the DICOM meta tags for this competition. You'll find pixel and bit-depth data, but nothing useful clinically outside of window width and center tags (which are used for \"windowing\").</p>\n<p>2 - H.U. is a concept that only applies to CT (or other calibrated ionizing radiation imaging). H.U. is not used in standard mammography.</p>\n<p>3 - There are several threads here on extracting pixels most efficiently. There are a few libraries that can do it. Most people use PyDicom or dicomsdl. You will need to use a dataset containing GDCM and PyLIbJPEG to decode some of the files in this comp.</p>\n<p>4 - VOI LUT stands for Value of Interest Look Up Table. This is a way of mapping 16 bit pixel values to 8 bit values. It's a different concept than regular normalization to 0-255 and allows for better visualization of the difference in tissue densities. You can use the <code>apply_voi_lut()</code> function from PyDicom to use it. </p>\n<p>** Note There aren't any VOI LUTs in the competition images though, so PyDicom's behavior is to fall back to applying windowing using the default window width and window center DICOM tags.</p>",
      "votes": 5,
      "replies": [
        {
          "id": 2082413,
          "author_name": "Ahmed___Gaber____",
          "author_url": "",
          "post_date": "2023-01-01T14:59:52.847000",
          "content": "<p>thanks <a href=\"https://www.kaggle.com/davidbroberts\" target=\"_blank\">@davidbroberts</a> </p>",
          "votes": 0,
          "replies": []
        },
        {
          "id": 2106714,
          "author_name": "GUNER",
          "author_url": "",
          "post_date": "2023-01-19T10:16:05.560000",
          "content": "<p>thank you for this,<br>\nI wanted to highlight a connected issue I highlighted, incase you might want to enlight, <br>\nthanks again.<br>\n[<a href=\"https://www.kaggle.com/competitions/rsna-breast-cancer-detection/discussion/377208#2106706\" target=\"_blank\">https://www.kaggle.com/competitions/rsna-breast-cancer-detection/discussion/377208#2106706</a>]</p>",
          "votes": 0,
          "replies": []
        }
      ]
    }
  ],
  "raw_markdown_by_id": {
    "2082409": "1 - There isn't much information in the DICOM meta tags for this competition. You'll find pixel and bit-depth data, but nothing useful clinically outside of window width and center tags (which are used for \"windowing\").\n\n2 - H.U. is a concept that only applies to CT (or other calibrated ionizing radiation imaging). H.U. is not used in standard mammography.\n\n3 - There are several threads here on extracting pixels most efficiently. There are a few libraries that can do it. Most people use PyDicom or dicomsdl. You will need to use a dataset containing GDCM and PyLIbJPEG to decode some of the files in this comp.\n\n4 - VOI LUT stands for Value of Interest Look Up Table. This is a way of mapping 16 bit pixel values to 8 bit values. It's a different concept than regular normalization to 0-255 and allows for better visualization of the difference in tissue densities. You can use the `apply_voi_lut()` function from PyDicom to use it. \n\n** Note There aren't any VOI LUTs in the competition images though, so PyDicom's behavior is to fall back to applying windowing using the default window width and window center DICOM tags.",
    "2082391": "dear all ,\ni have some questions of dicom files :-\n1- what information can we collect from dicom file , except pixel array ( get more statistics  ) .\n2- what is Hounsfield Units and what the effect of applying it in image  ?\n3-  how to load images and be sure that this image loaded successfully ?\n4- what is VOI LUT or Windowing Operation  what the effect of applying it in image ?\nany help ?"
  }
}