{
  "id": 450641,
  "title": "What does 40x magnification exactly means?",
  "url": "/competitions/UBC-OCEAN/discussion/450641",
  "author_name": "Sihan Lv",
  "post_date": "2023-10-25T06:55:49.930000",
  "votes": 6,
  "comment_count": 2,
  "views": 0,
  "content": "<p>I've been thinking lately about issues related to image scaling.</p>\n<p>\"Whole slide images are at 20x magnification and can be quite large. The TMAs are smaller (roughly 4,000x4,000 pixels) but at 40x magnification.\" - what exactly does this magnification refer to?</p>\n<p>For example, for the same cell, if TMA and WSI have the same resolution, I can easily figure out that the radius of this cell in TMA is twice that of WSI. But now that the two images have different resolutions, how should I convert their ratio?</p>",
  "messages": [
    {
      "id": 2498140,
      "postDate": "2023-10-25T06:55:49.930Z",
      "content": "<p>I've been thinking lately about issues related to image scaling.</p>\n<p>\"Whole slide images are at 20x magnification and can be quite large. The TMAs are smaller (roughly 4,000x4,000 pixels) but at 40x magnification.\" - what exactly does this magnification refer to?</p>\n<p>For example, for the same cell, if TMA and WSI have the same resolution, I can easily figure out that the radius of this cell in TMA is twice that of WSI. But now that the two images have different resolutions, how should I convert their ratio?</p>",
      "rawMarkdown": "I've been thinking lately about issues related to image scaling.\n\n\"Whole slide images are at 20x magnification and can be quite large. The TMAs are smaller (roughly 4,000x4,000 pixels) but at 40x magnification.\" - what exactly does this magnification refer to?\n\nFor example, for the same cell, if TMA and WSI have the same resolution, I can easily figure out that the radius of this cell in TMA is twice that of WSI. But now that the two images have different resolutions, how should I convert their ratio?",
      "votes": 6
    },
    {
      "id": 2498373,
      "postDate": "2023-10-25T09:12:34.050Z",
      "content": "<p>We start with assuming all objects on the images have same sizes in real world.</p>\n<ul>\n<li>20x magnification applied to tissues and WSIs are saved</li>\n<li>40x magnification applied to tissues and TMAs are saved</li>\n</ul>\n<p><code>desired_magnification / current_magnification</code> is your resample ratio. If you have a WSI and make the objects in it have the same size as TMAs, your resample ratio is <code>40 / 20 = 2</code>.</p>\n<p>If the WSI is 10000x20000 then you have resize it to 20000x40000 in order to make the objects in it have the same as TMAs. </p>",
      "rawMarkdown": "We start with assuming all objects on the images have same sizes in real world.\n\n* 20x magnification applied to tissues and WSIs are saved\n* 40x magnification applied to tissues and TMAs are saved\n\n`desired_magnification / current_magnification` is your resample ratio. If you have a WSI and make the objects in it have the same size as TMAs, your resample ratio is `40 / 20 = 2`.\n\nIf the WSI is 10000x20000 then you have resize it to 20000x40000 in order to make the objects in it have the same as TMAs. ",
      "votes": 3,
      "replies": [
        {
          "id": 2498441,
          "postDate": "2023-10-25T10:05:30.017Z",
          "content": "<p>Thank you very much! I get it!</p>",
          "rawMarkdown": "Thank you very much! I get it!"
        }
      ]
    }
  ],
  "comments": [
    {
      "id": 2498373,
      "author_name": "Gunes Evitan",
      "author_url": "",
      "post_date": "2023-10-25T09:12:34.050000",
      "content": "<p>We start with assuming all objects on the images have same sizes in real world.</p>\n<ul>\n<li>20x magnification applied to tissues and WSIs are saved</li>\n<li>40x magnification applied to tissues and TMAs are saved</li>\n</ul>\n<p><code>desired_magnification / current_magnification</code> is your resample ratio. If you have a WSI and make the objects in it have the same size as TMAs, your resample ratio is <code>40 / 20 = 2</code>.</p>\n<p>If the WSI is 10000x20000 then you have resize it to 20000x40000 in order to make the objects in it have the same as TMAs. </p>",
      "votes": 3,
      "replies": [
        {
          "id": 2498441,
          "author_name": "Sihan Lv",
          "author_url": "",
          "post_date": "2023-10-25T10:05:30.017000",
          "content": "<p>Thank you very much! I get it!</p>",
          "votes": 0,
          "replies": []
        }
      ]
    }
  ],
  "raw_markdown_by_id": {
    "2498140": "I've been thinking lately about issues related to image scaling.\n\n\"Whole slide images are at 20x magnification and can be quite large. The TMAs are smaller (roughly 4,000x4,000 pixels) but at 40x magnification.\" - what exactly does this magnification refer to?\n\nFor example, for the same cell, if TMA and WSI have the same resolution, I can easily figure out that the radius of this cell in TMA is twice that of WSI. But now that the two images have different resolutions, how should I convert their ratio?",
    "2498373": "We start with assuming all objects on the images have same sizes in real world.\n\n* 20x magnification applied to tissues and WSIs are saved\n* 40x magnification applied to tissues and TMAs are saved\n\n`desired_magnification / current_magnification` is your resample ratio. If you have a WSI and make the objects in it have the same size as TMAs, your resample ratio is `40 / 20 = 2`.\n\nIf the WSI is 10000x20000 then you have resize it to 20000x40000 in order to make the objects in it have the same as TMAs. "
  }
}