{
  "id": 170669,
  "title": "Corrupted images",
  "url": "/competitions/osic-pulmonary-fibrosis-progression/discussion/170669",
  "author_name": "",
  "post_date": "2020-07-28T13:37:12.663875500Z",
  "votes": 1,
  "comment_count": 2,
  "views": 0,
  "content": "<p>Hi,</p>\n\n<p>There are 2 corrupted CT scans, patients ID00011637202177653955184 &amp; ID00052637202186188008618,</p>\n\n<p>i have tried install gdcm but it fails, also i tried this:</p>\n\n<p>`<code>from io import BytesIO</code></p><code>\n\n</code><p><code>patient = 'ID00011637202177653955184'\npatient_files = dict_train_patients_paths[patient]\npatient_slices = loadSlices(patient_files)\nwidth, height = patient_slices[0].Rows, patient_slices[0].Columns\nimage = PIL.Image.frombytes(\"L\", (200, 200), patient_slices[0].PixelData)</code>`</p>\n\n<p><img src=\"https://www.googleapis.com/download/storage/v1/b/kaggle-user-content/o/inbox%2F936560%2F48f06453e6de62e28dddd492490aa12f%2FCaptura.PNG?generation=1595943396443706&amp;alt=media\" alt=\"\"></p>\n\n<p>How are you guys reading this CT scans, when you read it they are noisy as my image?</p>\n\n<p>Many thanks</p>",
  "messages": [
    {
      "id": "949232",
      "postDate": "07/28/2020 13:37:12",
      "content": "<p>Hi,</p>\n\n<p>There are 2 corrupted CT scans, patients ID00011637202177653955184 &amp; ID00052637202186188008618,</p>\n\n<p>i have tried install gdcm but it fails, also i tried this:</p>\n\n<p>`<code>from io import BytesIO</code></p><code>\n\n</code><p><code>patient = 'ID00011637202177653955184'\npatient_files = dict_train_patients_paths[patient]\npatient_slices = loadSlices(patient_files)\nwidth, height = patient_slices[0].Rows, patient_slices[0].Columns\nimage = PIL.Image.frombytes(\"L\", (200, 200), patient_slices[0].PixelData)</code>`</p>\n\n<p><img src=\"https://www.googleapis.com/download/storage/v1/b/kaggle-user-content/o/inbox%2F936560%2F48f06453e6de62e28dddd492490aa12f%2FCaptura.PNG?generation=1595943396443706&amp;alt=media\" alt=\"\"></p>\n\n<p>How are you guys reading this CT scans, when you read it they are noisy as my image?</p>\n\n<p>Many thanks</p>",
      "rawMarkdown": "Hi,\n\nThere are 2 corrupted CT scans, patients ID00011637202177653955184 &amp; ID00052637202186188008618,\n\ni have tried install gdcm but it fails, also i tried this:\n\n`<code>from io import BytesIO\n\npatient = 'ID00011637202177653955184'\npatient_files = dict_train_patients_paths[patient]\npatient_slices = loadSlices(patient_files)\nwidth, height = patient_slices[0].Rows, patient_slices[0].Columns\nimage = PIL.Image.frombytes(\"L\", (200, 200), patient_slices[0].PixelData)</code>`\n\n![](https://www.googleapis.com/download/storage/v1/b/kaggle-user-content/o/inbox%2F936560%2F48f06453e6de62e28dddd492490aa12f%2FCaptura.PNG?generation=1595943396443706&amp;alt=media)\n\n\nHow are you guys reading this CT scans, when you read it they are noisy as my image?\n\nMany thanks",
      "votes": null
    },
    {
      "id": "949252",
      "postDate": "07/28/2020 14:00:51",
      "content": "<p>Try to install GDCM: <a href=\"https://www.kaggle.com/c/osic-pulmonary-fibrosis-progression/discussion/166957\">https://www.kaggle.com/c/osic-pulmonary-fibrosis-progression/discussion/166957</a>\nand use Pydicom</p>",
      "rawMarkdown": "Try to install GDCM: https://www.kaggle.com/c/osic-pulmonary-fibrosis-progression/discussion/166957\nand use Pydicom",
      "votes": null
    },
    {
      "id": "949262",
      "postDate": "07/28/2020 14:11:19",
      "content": "<p>Is failing in my local machine</p>",
      "rawMarkdown": "Is failing in my local machine",
      "votes": null
    }
  ],
  "comments": [
    {
      "id": 949252,
      "author_name": "ahmedhshahin",
      "author_url": "",
      "post_date": "07/28/2020 14:00:51",
      "content": "<p>Try to install GDCM: <a href=\"https://www.kaggle.com/c/osic-pulmonary-fibrosis-progression/discussion/166957\">https://www.kaggle.com/c/osic-pulmonary-fibrosis-progression/discussion/166957</a>\nand use Pydicom</p>",
      "votes": null,
      "replies": [
        {
          "id": 949262,
          "author_name": "enric1296",
          "author_url": "",
          "post_date": "07/28/2020 14:11:19",
          "content": "<p>Is failing in my local machine</p>",
          "votes": null,
          "replies": []
        }
      ]
    }
  ],
  "raw_markdown_by_id": {
    "949232": "Hi,\n\nThere are 2 corrupted CT scans, patients ID00011637202177653955184 &amp; ID00052637202186188008618,\n\ni have tried install gdcm but it fails, also i tried this:\n\n`<code>from io import BytesIO\n\npatient = 'ID00011637202177653955184'\npatient_files = dict_train_patients_paths[patient]\npatient_slices = loadSlices(patient_files)\nwidth, height = patient_slices[0].Rows, patient_slices[0].Columns\nimage = PIL.Image.frombytes(\"L\", (200, 200), patient_slices[0].PixelData)</code>`\n\n![](https://www.googleapis.com/download/storage/v1/b/kaggle-user-content/o/inbox%2F936560%2F48f06453e6de62e28dddd492490aa12f%2FCaptura.PNG?generation=1595943396443706&amp;alt=media)\n\n\nHow are you guys reading this CT scans, when you read it they are noisy as my image?\n\nMany thanks",
    "949252": "Try to install GDCM: https://www.kaggle.com/c/osic-pulmonary-fibrosis-progression/discussion/166957\nand use Pydicom",
    "949262": "Is failing in my local machine"
  },
  "source": "meta"
}