{
  "id": 380969,
  "title": "Newbie asking for tips",
  "url": "/competitions/rsna-breast-cancer-detection/discussion/380969",
  "author_name": "Alex Luna",
  "post_date": "2023-01-24T17:18:03.482000",
  "votes": 0,
  "comment_count": 4,
  "views": 0,
  "content": "<p>Hi everyone im new in Kaggle, Im wondering if there is a way optimal to convert the dicom images to png without losing important data, I was reading about crop but i would like some suggestion or tips to the preprocess part. If there is someone that want to help me i would be so grateful.</p>",
  "messages": [
    {
      "id": 2116438,
      "postDate": "2023-01-26T13:47:13.743Z",
      "content": "<p>Hi <a href=\"https://www.kaggle.com/alejandrolunamtz\" target=\"_blank\">@alejandrolunamtz</a><br>\nAll the scans do not have the same pixel size or pixel interpretation so you will need to make a preprocessing pipeline that convert everything. Also they have a lot of useless data (background pixels) so cropping is very important. You can check out my own pipeline <a href=\"https://www.kaggle.com/code/paulbacher/custom-preprocessor-rsna-breast-cancer\" target=\"_blank\">here</a>, use it or get some inspiration to make your own steps.</p>\n<p>Good luck!</p>",
      "rawMarkdown": "Hi @alejandrolunamtz\nAll the scans do not have the same pixel size or pixel interpretation so you will need to make a preprocessing pipeline that convert everything. Also they have a lot of useless data (background pixels) so cropping is very important. You can check out my own pipeline [here](https://www.kaggle.com/code/paulbacher/custom-preprocessor-rsna-breast-cancer), use it or get some inspiration to make your own steps.\n\nGood luck!",
      "votes": 3,
      "replies": [
        {
          "id": 2116596,
          "postDate": "2023-01-26T15:37:09.597Z",
          "content": "<p>Thank uuu, that helps me a lot.</p>",
          "rawMarkdown": "Thank uuu, that helps me a lot.",
          "votes": 1
        }
      ]
    },
    {
      "id": 2114293,
      "postDate": "2023-01-24T20:50:38.450Z",
      "content": "<p>Hey, </p>\n<p>I did not start yet, but I wanted to give you a fast answer (did not test it myself). <br>\nI found this, it might help you: <a href=\"https://www.tensorflow.org/io/tutorials/dicom\" target=\"_blank\">https://www.tensorflow.org/io/tutorials/dicom</a></p>",
      "rawMarkdown": "Hey, \n\nI did not start yet, but I wanted to give you a fast answer (did not test it myself). \nI found this, it might help you: https://www.tensorflow.org/io/tutorials/dicom",
      "votes": 1,
      "replies": [
        {
          "id": 2115215,
          "postDate": "2023-01-25T15:26:14.320Z",
          "content": "<p>I will check it out, thanks for your time.</p>",
          "rawMarkdown": "I will check it out, thanks for your time."
        }
      ]
    },
    {
      "id": 2114049,
      "postDate": "2023-01-24T17:18:03.483Z",
      "content": "<p>Hi everyone im new in Kaggle, Im wondering if there is a way optimal to convert the dicom images to png without losing important data, I was reading about crop but i would like some suggestion or tips to the preprocess part. If there is someone that want to help me i would be so grateful.</p>",
      "rawMarkdown": "Hi everyone im new in Kaggle, Im wondering if there is a way optimal to convert the dicom images to png without losing important data, I was reading about crop but i would like some suggestion or tips to the preprocess part. If there is someone that want to help me i would be so grateful."
    }
  ],
  "comments": [
    {
      "id": 2116438,
      "author_name": "Paul Bacher",
      "author_url": "",
      "post_date": "2023-01-26T13:47:13.743000",
      "content": "<p>Hi <a href=\"https://www.kaggle.com/alejandrolunamtz\" target=\"_blank\">@alejandrolunamtz</a><br>\nAll the scans do not have the same pixel size or pixel interpretation so you will need to make a preprocessing pipeline that convert everything. Also they have a lot of useless data (background pixels) so cropping is very important. You can check out my own pipeline <a href=\"https://www.kaggle.com/code/paulbacher/custom-preprocessor-rsna-breast-cancer\" target=\"_blank\">here</a>, use it or get some inspiration to make your own steps.</p>\n<p>Good luck!</p>",
      "votes": 3,
      "replies": [
        {
          "id": 2116596,
          "author_name": "Alex Luna",
          "author_url": "",
          "post_date": "2023-01-26T15:37:09.597000",
          "content": "<p>Thank uuu, that helps me a lot.</p>",
          "votes": 1,
          "replies": []
        }
      ]
    },
    {
      "id": 2114293,
      "author_name": "P-W-T",
      "author_url": "",
      "post_date": "2023-01-24T20:50:38.450000",
      "content": "<p>Hey, </p>\n<p>I did not start yet, but I wanted to give you a fast answer (did not test it myself). <br>\nI found this, it might help you: <a href=\"https://www.tensorflow.org/io/tutorials/dicom\" target=\"_blank\">https://www.tensorflow.org/io/tutorials/dicom</a></p>",
      "votes": 1,
      "replies": [
        {
          "id": 2115215,
          "author_name": "Alex Luna",
          "author_url": "",
          "post_date": "2023-01-25T15:26:14.320000",
          "content": "<p>I will check it out, thanks for your time.</p>",
          "votes": 0,
          "replies": []
        }
      ]
    }
  ],
  "raw_markdown_by_id": {
    "2116438": "Hi @alejandrolunamtz\nAll the scans do not have the same pixel size or pixel interpretation so you will need to make a preprocessing pipeline that convert everything. Also they have a lot of useless data (background pixels) so cropping is very important. You can check out my own pipeline [here](https://www.kaggle.com/code/paulbacher/custom-preprocessor-rsna-breast-cancer), use it or get some inspiration to make your own steps.\n\nGood luck!",
    "2114293": "Hey, \n\nI did not start yet, but I wanted to give you a fast answer (did not test it myself). \nI found this, it might help you: https://www.tensorflow.org/io/tutorials/dicom",
    "2114049": "Hi everyone im new in Kaggle, Im wondering if there is a way optimal to convert the dicom images to png without losing important data, I was reading about crop but i would like some suggestion or tips to the preprocess part. If there is someone that want to help me i would be so grateful."
  }
}