{
  "id": 335575,
  "title": "Good resource on how to deal with .tif format",
  "url": "/competitions/mayo-clinic-strip-ai/discussion/335575",
  "author_name": "Med Ali Bouchhioua",
  "post_date": "2022-07-06T22:14:42.539000",
  "votes": 16,
  "comment_count": 8,
  "views": 0,
  "content": "<p>Here is a <a href=\"https://www.kaggle.com/competitions/geolifeclef-2022-lifeclef-2022-fgvc9/discussion/311983\" target=\"_blank\">discussion</a> I found that explains what .tif format are and how to deal with them.</p>\n<p>Question: should we use .tif format or convert them to .jpg knowing of the risk of deterioration of the quality of the image.<br>\nFeel free to give me your feedback it would be very helpful.</p>",
  "messages": [
    {
      "id": 1846165,
      "postDate": "2022-07-06T22:14:42.540Z",
      "content": "<p>Here is a <a href=\"https://www.kaggle.com/competitions/geolifeclef-2022-lifeclef-2022-fgvc9/discussion/311983\" target=\"_blank\">discussion</a> I found that explains what .tif format are and how to deal with them.</p>\n<p>Question: should we use .tif format or convert them to .jpg knowing of the risk of deterioration of the quality of the image.<br>\nFeel free to give me your feedback it would be very helpful.</p>",
      "rawMarkdown": "Here is a [discussion](https://www.kaggle.com/competitions/geolifeclef-2022-lifeclef-2022-fgvc9/discussion/311983) I found that explains what .tif format are and how to deal with them.\n\nQuestion: should we use .tif format or convert them to .jpg knowing of the risk of deterioration of the quality of the image.\nFeel free to give me your feedback it would be very helpful.",
      "votes": 16
    },
    {
      "id": 1846201,
      "postDate": "2022-07-06T23:17:24.823Z",
      "content": "<p>Great pointer!</p>\n<p>I just posted a <a href=\"https://www.kaggle.com/code/naotous/mayo-eda-whole-slide-images/notebook\" target=\"_blank\">quick notebook</a> to open WSI images using the OpenSlide library. cuCIM library is another option for directly loading WSI images.</p>",
      "rawMarkdown": "Great pointer!\n\nI just posted a [quick notebook](https://www.kaggle.com/code/naotous/mayo-eda-whole-slide-images/notebook) to open WSI images using the OpenSlide library. cuCIM library is another option for directly loading WSI images.",
      "votes": 3,
      "replies": [
        {
          "id": 1846203,
          "postDate": "2022-07-06T23:20:48.967Z",
          "content": "<p>Saw your notebook very helpful thank you for sharing.</p>",
          "rawMarkdown": "Saw your notebook very helpful thank you for sharing.",
          "votes": 1
        }
      ]
    },
    {
      "id": 1850862,
      "postDate": "2022-07-10T20:42:20.767Z",
      "content": "<p>I would say this thread takes it very far: <a href=\"https://www.kaggle.com/competitions/mayo-clinic-strip-ai/discussion/335976\" target=\"_blank\">https://www.kaggle.com/competitions/mayo-clinic-strip-ai/discussion/335976</a><br>\nalso, you may check my conversion kernel: <a href=\"https://www.kaggle.com/code/jirkaborovec/bloodclots-classif-eda-load-crop-images\" target=\"_blank\">https://www.kaggle.com/code/jirkaborovec/bloodclots-classif-eda-load-crop-images</a></p>",
      "rawMarkdown": "I would say this thread takes it very far: https://www.kaggle.com/competitions/mayo-clinic-strip-ai/discussion/335976\nalso, you may check my conversion kernel: https://www.kaggle.com/code/jirkaborovec/bloodclots-classif-eda-load-crop-images",
      "votes": 4
    },
    {
      "id": 1847225,
      "postDate": "2022-07-07T18:14:36.217Z",
      "content": "<p>You can use this docker image to read the images <br>\ndocker pull vikash112/pathology</p>",
      "rawMarkdown": "You can use this docker image to read the images \ndocker pull vikash112/pathology",
      "votes": 1,
      "replies": [
        {
          "id": 1847260,
          "postDate": "2022-07-07T18:41:56.717Z",
          "content": "<p>I will try it out. </p>",
          "rawMarkdown": "I will try it out. "
        }
      ]
    },
    {
      "id": 1846231,
      "postDate": "2022-07-07T01:10:03.427Z",
      "content": "<p>Thank you for tread, in my opinion convertation to jpeg is useless, if we can read tiff format in general this is everything some tensors of numbers and mostly we are reduce image size to 512x512, so if we lost some information from convertation it not be so important after reduce to 512x512</p>\n<p>Upd but may be to reduce memory 🤔</p>",
      "rawMarkdown": "Thank you for tread, in my opinion convertation to jpeg is useless, if we can read tiff format in general this is everything some tensors of numbers and mostly we are reduce image size to 512x512, so if we lost some information from convertation it not be so important after reduce to 512x512\n\nUpd but may be to reduce memory 🤔",
      "votes": 1,
      "replies": [
        {
          "id": 1846233,
          "postDate": "2022-07-07T01:12:54.760Z",
          "content": "<p>yeah you're right I will try both approaches just in case.</p>",
          "rawMarkdown": "yeah you're right I will try both approaches just in case.",
          "votes": 1
        },
        {
          "id": 1846234,
          "postDate": "2022-07-07T01:14:44.320Z",
          "content": "<p>Give me know if I wrong</p>",
          "rawMarkdown": "Give me know if I wrong",
          "votes": 1
        }
      ]
    }
  ],
  "comments": [
    {
      "id": 1846201,
      "author_name": "Naoto Usuyama",
      "author_url": "",
      "post_date": "2022-07-06T23:17:24.823000",
      "content": "<p>Great pointer!</p>\n<p>I just posted a <a href=\"https://www.kaggle.com/code/naotous/mayo-eda-whole-slide-images/notebook\" target=\"_blank\">quick notebook</a> to open WSI images using the OpenSlide library. cuCIM library is another option for directly loading WSI images.</p>",
      "votes": 3,
      "replies": [
        {
          "id": 1846203,
          "author_name": "Med Ali Bouchhioua",
          "author_url": "",
          "post_date": "2022-07-06T23:20:48.967000",
          "content": "<p>Saw your notebook very helpful thank you for sharing.</p>",
          "votes": 1,
          "replies": []
        }
      ]
    },
    {
      "id": 1850862,
      "author_name": "Jirka",
      "author_url": "",
      "post_date": "2022-07-10T20:42:20.767000",
      "content": "<p>I would say this thread takes it very far: <a href=\"https://www.kaggle.com/competitions/mayo-clinic-strip-ai/discussion/335976\" target=\"_blank\">https://www.kaggle.com/competitions/mayo-clinic-strip-ai/discussion/335976</a><br>\nalso, you may check my conversion kernel: <a href=\"https://www.kaggle.com/code/jirkaborovec/bloodclots-classif-eda-load-crop-images\" target=\"_blank\">https://www.kaggle.com/code/jirkaborovec/bloodclots-classif-eda-load-crop-images</a></p>",
      "votes": 4,
      "replies": []
    },
    {
      "id": 1847225,
      "author_name": "VikashGupta",
      "author_url": "",
      "post_date": "2022-07-07T18:14:36.217000",
      "content": "<p>You can use this docker image to read the images <br>\ndocker pull vikash112/pathology</p>",
      "votes": 1,
      "replies": [
        {
          "id": 1847260,
          "author_name": "Med Ali Bouchhioua",
          "author_url": "",
          "post_date": "2022-07-07T18:41:56.717000",
          "content": "<p>I will try it out. </p>",
          "votes": 0,
          "replies": []
        }
      ]
    },
    {
      "id": 1846231,
      "author_name": "Kartushov Danil",
      "author_url": "",
      "post_date": "2022-07-07T01:10:03.427000",
      "content": "<p>Thank you for tread, in my opinion convertation to jpeg is useless, if we can read tiff format in general this is everything some tensors of numbers and mostly we are reduce image size to 512x512, so if we lost some information from convertation it not be so important after reduce to 512x512</p>\n<p>Upd but may be to reduce memory 🤔</p>",
      "votes": 1,
      "replies": [
        {
          "id": 1846233,
          "author_name": "Med Ali Bouchhioua",
          "author_url": "",
          "post_date": "2022-07-07T01:12:54.760000",
          "content": "<p>yeah you're right I will try both approaches just in case.</p>",
          "votes": 1,
          "replies": []
        },
        {
          "id": 1846234,
          "author_name": "Kartushov Danil",
          "author_url": "",
          "post_date": "2022-07-07T01:14:44.320000",
          "content": "<p>Give me know if I wrong</p>",
          "votes": 1,
          "replies": []
        }
      ]
    }
  ],
  "raw_markdown_by_id": {
    "1846165": "Here is a [discussion](https://www.kaggle.com/competitions/geolifeclef-2022-lifeclef-2022-fgvc9/discussion/311983) I found that explains what .tif format are and how to deal with them.\n\nQuestion: should we use .tif format or convert them to .jpg knowing of the risk of deterioration of the quality of the image.\nFeel free to give me your feedback it would be very helpful.",
    "1846201": "Great pointer!\n\nI just posted a [quick notebook](https://www.kaggle.com/code/naotous/mayo-eda-whole-slide-images/notebook) to open WSI images using the OpenSlide library. cuCIM library is another option for directly loading WSI images.",
    "1850862": "I would say this thread takes it very far: https://www.kaggle.com/competitions/mayo-clinic-strip-ai/discussion/335976\nalso, you may check my conversion kernel: https://www.kaggle.com/code/jirkaborovec/bloodclots-classif-eda-load-crop-images",
    "1847225": "You can use this docker image to read the images \ndocker pull vikash112/pathology",
    "1846231": "Thank you for tread, in my opinion convertation to jpeg is useless, if we can read tiff format in general this is everything some tensors of numbers and mostly we are reduce image size to 512x512, so if we lost some information from convertation it not be so important after reduce to 512x512\n\nUpd but may be to reduce memory 🤔"
  }
}