{
  "id": 109530,
  "title": "Corrupted PixelData in ID_6431af929.dcm",
  "url": "/competitions/rsna-intracranial-hemorrhage-detection/discussion/109530",
  "author_name": "Tony Y.",
  "post_date": "2019-09-20T00:47:36.126000",
  "votes": 5,
  "comment_count": 4,
  "views": 0,
  "content": "<p><a href=\"https://www.kaggle.com/tonyyy/corrupted-pixeldata-in-id-6431af929-dcm\">https://www.kaggle.com/tonyyy/corrupted-pixeldata-in-id-6431af929-dcm</a></p>\n\n<p><code>python\nimport pydicom\nfilename = \"/kaggle/input/rsna-intracranial-hemorrhage-detection/stage_1_train_images/ID_6431af929.dcm\"\nwith pydicom.dcmread(filename) as ds:\n    im = ds.pixel_array\n</code></p>\n\n<blockquote>\n  <p>ValueError: The length of the pixel data in the dataset (153710 bytes) doesn't match the expected length (524288 bytes). The dataset may be corrupted or there may be an issue with the pixel data handler.</p>\n</blockquote>",
  "messages": [
    {
      "id": 630230,
      "postDate": "2019-09-20T00:47:36.127Z",
      "content": "<p><a href=\"https://www.kaggle.com/tonyyy/corrupted-pixeldata-in-id-6431af929-dcm\">https://www.kaggle.com/tonyyy/corrupted-pixeldata-in-id-6431af929-dcm</a></p>\n\n<p><code>python\nimport pydicom\nfilename = \"/kaggle/input/rsna-intracranial-hemorrhage-detection/stage_1_train_images/ID_6431af929.dcm\"\nwith pydicom.dcmread(filename) as ds:\n    im = ds.pixel_array\n</code></p>\n\n<blockquote>\n  <p>ValueError: The length of the pixel data in the dataset (153710 bytes) doesn't match the expected length (524288 bytes). The dataset may be corrupted or there may be an issue with the pixel data handler.</p>\n</blockquote>",
      "rawMarkdown": "https://www.kaggle.com/tonyyy/corrupted-pixeldata-in-id-6431af929-dcm\n\n```python\nimport pydicom\nfilename = \"/kaggle/input/rsna-intracranial-hemorrhage-detection/stage_1_train_images/ID_6431af929.dcm\"\nwith pydicom.dcmread(filename) as ds:\n    im = ds.pixel_array\n```\n\n&gt; ValueError: The length of the pixel data in the dataset (153710 bytes) doesn't match the expected length (524288 bytes). The dataset may be corrupted or there may be an issue with the pixel data handler.",
      "votes": 5
    },
    {
      "id": 792768,
      "postDate": "2020-03-31T14:42:56.303Z",
      "content": "<p>anyone know how to solve this problem or thier is any python code to solve it ?!</p>",
      "rawMarkdown": "anyone know how to solve this problem or thier is any python code to solve it ?!"
    },
    {
      "id": 630290,
      "postDate": "2019-09-20T03:31:01.920Z",
      "content": "<p>DCM data file is not corrupted as we are getting meta data. pixel_array data is wrong in this file <a href=\"/tonyyy\">@tonyyy</a> </p>",
      "rawMarkdown": "DCM data file is not corrupted as we are getting meta data. pixel_array data is wrong in this file @tonyyy ",
      "replies": [
        {
          "id": 630297,
          "postDate": "2019-09-20T03:45:55.143Z",
          "content": "<p><a href=\"/seshurajup\">@seshurajup</a>   Thank you for your investigation.</p>",
          "rawMarkdown": "@seshurajup   Thank you for your investigation."
        }
      ]
    },
    {
      "id": 632311,
      "postDate": "2019-09-23T13:02:25.953Z",
      "content": "<p>Thank you for posting it</p>",
      "rawMarkdown": "Thank you for posting it\n"
    }
  ],
  "comments": [
    {
      "id": 792768,
      "author_name": "Ishraq T. AlDagamseh",
      "author_url": "",
      "post_date": "2020-03-31T14:42:56.303000",
      "content": "<p>anyone know how to solve this problem or thier is any python code to solve it ?!</p>",
      "votes": 0,
      "replies": []
    },
    {
      "id": 630290,
      "author_name": "SeshuRaju 🧘‍♂️",
      "author_url": "",
      "post_date": "2019-09-20T03:31:01.920000",
      "content": "<p>DCM data file is not corrupted as we are getting meta data. pixel_array data is wrong in this file <a href=\"/tonyyy\">@tonyyy</a> </p>",
      "votes": 0,
      "replies": [
        {
          "id": 630297,
          "author_name": "Tony Y.",
          "author_url": "",
          "post_date": "2019-09-20T03:45:55.143000",
          "content": "<p><a href=\"/seshurajup\">@seshurajup</a>   Thank you for your investigation.</p>",
          "votes": 0,
          "replies": []
        }
      ]
    },
    {
      "id": 632311,
      "author_name": "Jayaram",
      "author_url": "",
      "post_date": "2019-09-23T13:02:25.953000",
      "content": "<p>Thank you for posting it</p>",
      "votes": 0,
      "replies": []
    }
  ],
  "raw_markdown_by_id": {
    "630230": "https://www.kaggle.com/tonyyy/corrupted-pixeldata-in-id-6431af929-dcm\n\n```python\nimport pydicom\nfilename = \"/kaggle/input/rsna-intracranial-hemorrhage-detection/stage_1_train_images/ID_6431af929.dcm\"\nwith pydicom.dcmread(filename) as ds:\n    im = ds.pixel_array\n```\n\n&gt; ValueError: The length of the pixel data in the dataset (153710 bytes) doesn't match the expected length (524288 bytes). The dataset may be corrupted or there may be an issue with the pixel data handler.",
    "792768": "anyone know how to solve this problem or thier is any python code to solve it ?!",
    "630290": "DCM data file is not corrupted as we are getting meta data. pixel_array data is wrong in this file @tonyyy ",
    "632311": "Thank you for posting it\n"
  }
}