{
  "id": 369362,
  "title": "Are there unknown machine-ids in test data?",
  "url": "/competitions/rsna-breast-cancer-detection/discussion/369362",
  "author_name": "patriot",
  "post_date": "2022-11-30T00:22:49.430000",
  "votes": 6,
  "comment_count": 1,
  "views": 0,
  "content": "<p>It seems that the background color and the value in pixels can take differ depending on the machine-id.</p>\n<p>I'm worried if there are machines in the test data that don't exist in the train data.</p>",
  "messages": [
    {
      "id": 2049120,
      "postDate": "2022-11-30T00:22:49.430Z",
      "content": "<p>It seems that the background color and the value in pixels can take differ depending on the machine-id.</p>\n<p>I'm worried if there are machines in the test data that don't exist in the train data.</p>",
      "rawMarkdown": "It seems that the background color and the value in pixels can take differ depending on the machine-id.\n\nI'm worried if there are machines in the test data that don't exist in the train data.",
      "votes": 6
    },
    {
      "id": 2049411,
      "postDate": "2022-11-30T06:08:08.117Z",
      "content": "<p>On the background color issue, I am not sure if you are not referring to this, maybe this can be of help.</p>\n<p>Essentially, if <code>dicom.PhotometricInterpretation == \"MONOCHROME1\"</code> you want to do <code>data = np.amax(data) - data</code> to your <code>pixel_array</code>!</p>",
      "rawMarkdown": "On the background color issue, I am not sure if you are not referring to this, maybe this can be of help.\n\nEssentially, if `dicom.PhotometricInterpretation == \"MONOCHROME1\"` you want to do `data = np.amax(data) - data` to your `pixel_array`!",
      "votes": 2
    }
  ],
  "comments": [
    {
      "id": 2049411,
      "author_name": "Radek Osmulski",
      "author_url": "",
      "post_date": "2022-11-30T06:08:08.117000",
      "content": "<p>On the background color issue, I am not sure if you are not referring to this, maybe this can be of help.</p>\n<p>Essentially, if <code>dicom.PhotometricInterpretation == \"MONOCHROME1\"</code> you want to do <code>data = np.amax(data) - data</code> to your <code>pixel_array</code>!</p>",
      "votes": 2,
      "replies": []
    }
  ],
  "raw_markdown_by_id": {
    "2049120": "It seems that the background color and the value in pixels can take differ depending on the machine-id.\n\nI'm worried if there are machines in the test data that don't exist in the train data.",
    "2049411": "On the background color issue, I am not sure if you are not referring to this, maybe this can be of help.\n\nEssentially, if `dicom.PhotometricInterpretation == \"MONOCHROME1\"` you want to do `data = np.amax(data) - data` to your `pixel_array`!"
  }
}