{
  "id": 388791,
  "title": "[Prime time] Cutting-edge enhancement methods that could further improve your LB Score (Augmentations)",
  "url": "/competitions/rsna-breast-cancer-detection/discussion/388791",
  "author_name": "Dheeraj Pandey",
  "post_date": "2023-02-19T14:33:23.906000",
  "votes": 6,
  "comment_count": 6,
  "views": 0,
  "content": "<p>These methods were borrowed from Notebook, which is located at: <a href=\"https://www.kaggle.com/code/kyleberdy/advanced-image-preprocessing-with-clahe\" target=\"_blank\">here</a> . Thank you <a href=\"https://www.kaggle.com/kyleberdy\" target=\"_blank\">@kyleberdy</a> for sharing cutting-edge augmentation methods.</p>\n<p>These augmentation methods helped my experiments and increased the score on my Public LB. </p>\n<p>This one describes a model of <strong>CLAHE</strong>, and some of the limits of traditional models: <a href=\"https://towardsdatascience.com/increase-your-face-recognition-models-accuracy-by-improving-face-contrast-a3e71bb6b9fb\" target=\"_blank\">https://towardsdatascience.com/increase-your-face-recognition-models-accuracy-by-improving-face-contrast-a3e71bb6b9fb</a></p>\n<p>This one describes the opencv application of <strong>adaptive Histogram equalization on grayscale images</strong>: <a href=\"https://opencv-python-tutroals.readthedocs.io/en/latest/py_tutorials/py_imgproc/py_histograms/py_histogram_equalization/py_histogram_equalization.html\" target=\"_blank\">https://opencv-python-tutroals.readthedocs.io/en/latest/py_tutorials/py_imgproc/py_histograms/py_histogram_equalization/py_histogram_equalization.html</a></p>\n<p>Same as above, but in \"layman's terms\" (is anything AI ever in layman's terms): <a href=\"https://www.geeksforgeeks.org/clahe-histogram-eqalization-opencv/\" target=\"_blank\">https://www.geeksforgeeks.org/clahe-histogram-eqalization-opencv/</a></p>",
  "messages": [
    {
      "id": 2150733,
      "postDate": "2023-02-19T14:33:23.907Z",
      "content": "<p>These methods were borrowed from Notebook, which is located at: <a href=\"https://www.kaggle.com/code/kyleberdy/advanced-image-preprocessing-with-clahe\" target=\"_blank\">here</a> . Thank you <a href=\"https://www.kaggle.com/kyleberdy\" target=\"_blank\">@kyleberdy</a> for sharing cutting-edge augmentation methods.</p>\n<p>These augmentation methods helped my experiments and increased the score on my Public LB. </p>\n<p>This one describes a model of <strong>CLAHE</strong>, and some of the limits of traditional models: <a href=\"https://towardsdatascience.com/increase-your-face-recognition-models-accuracy-by-improving-face-contrast-a3e71bb6b9fb\" target=\"_blank\">https://towardsdatascience.com/increase-your-face-recognition-models-accuracy-by-improving-face-contrast-a3e71bb6b9fb</a></p>\n<p>This one describes the opencv application of <strong>adaptive Histogram equalization on grayscale images</strong>: <a href=\"https://opencv-python-tutroals.readthedocs.io/en/latest/py_tutorials/py_imgproc/py_histograms/py_histogram_equalization/py_histogram_equalization.html\" target=\"_blank\">https://opencv-python-tutroals.readthedocs.io/en/latest/py_tutorials/py_imgproc/py_histograms/py_histogram_equalization/py_histogram_equalization.html</a></p>\n<p>Same as above, but in \"layman's terms\" (is anything AI ever in layman's terms): <a href=\"https://www.geeksforgeeks.org/clahe-histogram-eqalization-opencv/\" target=\"_blank\">https://www.geeksforgeeks.org/clahe-histogram-eqalization-opencv/</a></p>",
      "rawMarkdown": "These methods were borrowed from Notebook, which is located at: [here](https://www.kaggle.com/code/kyleberdy/advanced-image-preprocessing-with-clahe) . Thank you @kyleberdy for sharing cutting-edge augmentation methods.\n\nThese augmentation methods helped my experiments and increased the score on my Public LB. \n\nThis one describes a model of **CLAHE**, and some of the limits of traditional models: https://towardsdatascience.com/increase-your-face-recognition-models-accuracy-by-improving-face-contrast-a3e71bb6b9fb\n\nThis one describes the opencv application of **adaptive Histogram equalization on grayscale images**: https://opencv-python-tutroals.readthedocs.io/en/latest/py_tutorials/py_imgproc/py_histograms/py_histogram_equalization/py_histogram_equalization.html\n\nSame as above, but in \"layman's terms\" (is anything AI ever in layman's terms): https://www.geeksforgeeks.org/clahe-histogram-eqalization-opencv/\n\n",
      "votes": 6
    },
    {
      "id": 2151239,
      "postDate": "2023-02-20T00:25:29.807Z",
      "content": "<p>Hey Eco,</p>\n<p>At first, I tried a few simple augmentations, but at later stage , I discovered that CLAHE works best for this type of problems.<br>\n(it worked for me)</p>\n<p>For me, it raised my LB from 0.53 to 0.55. (~0.02)</p>\n<p>I hope that this answered your query. </p>\n<p>Thank you!</p>",
      "rawMarkdown": "Hey Eco,\n\nAt first, I tried a few simple augmentations, but at later stage , I discovered that CLAHE works best for this type of problems.\n(it worked for me)\n\nFor me, it raised my LB from 0.53 to 0.55. (~0.02)\n\nI hope that this answered your query. \n\nThank you!",
      "votes": 4,
      "replies": [
        {
          "id": 2153751,
          "postDate": "2023-02-21T16:06:52.897Z",
          "content": "<p>Thank you for sharing your experience!</p>\n<p>LB 0.02 is quite big improvement!</p>",
          "rawMarkdown": "Thank you for sharing your experience!\n\nLB 0.02 is quite big improvement!",
          "votes": 2,
          "replies": [
            {
              "id": 2158542,
              "postDate": "2023-02-25T00:10:39.117Z",
              "content": "<p>Thank you! </p>",
              "rawMarkdown": "Thank you! "
            }
          ]
        },
        {
          "id": 2158174,
          "postDate": "2023-02-24T17:08:34.793Z",
          "content": "<p>Hi Dheeraj could you please tell us how long it will take more time with the CLAHE method?</p>",
          "rawMarkdown": "Hi Dheeraj could you please tell us how long it will take more time with the CLAHE method?",
          "votes": 1,
          "replies": [
            {
              "id": 2158540,
              "postDate": "2023-02-25T00:09:08.013Z",
              "content": "<p>Hi Hong, </p>\n<p>For me the impact on inference time is minimal. It took same time as simple augmentations.</p>\n<p>If you wish to speed up, you may utilize <strong>CLAHE</strong> with the most recent newest DALI nightly which is discussed: <a href=\"https://www.kaggle.com/competitions/rsna-breast-cancer-detection/discussion/384231\" target=\"_blank\">here</a> </p>\n<p>Thank you!</p>",
              "rawMarkdown": "Hi Hong, \n\nFor me the impact on inference time is minimal. It took same time as simple augmentations.\n\nIf you wish to speed up, you may utilize **CLAHE** with the most recent newest DALI nightly which is discussed: [here](https://www.kaggle.com/competitions/rsna-breast-cancer-detection/discussion/384231) \n\nThank you!",
              "votes": 1
            }
          ]
        }
      ]
    },
    {
      "id": 2150904,
      "postDate": "2023-02-19T17:27:46.477Z",
      "content": "<p>Could you tell me how much the method improved LB? <br>\nBased on my experience, CLAHE usually does not improve the final performance.</p>",
      "rawMarkdown": "Could you tell me how much the method improved LB? \nBased on my experience, CLAHE usually does not improve the final performance.",
      "votes": 1
    }
  ],
  "comments": [
    {
      "id": 2151239,
      "author_name": "Dheeraj Pandey",
      "author_url": "",
      "post_date": "2023-02-20T00:25:29.807000",
      "content": "<p>Hey Eco,</p>\n<p>At first, I tried a few simple augmentations, but at later stage , I discovered that CLAHE works best for this type of problems.<br>\n(it worked for me)</p>\n<p>For me, it raised my LB from 0.53 to 0.55. (~0.02)</p>\n<p>I hope that this answered your query. </p>\n<p>Thank you!</p>",
      "votes": 4,
      "replies": [
        {
          "id": 2153751,
          "author_name": "ECO",
          "author_url": "",
          "post_date": "2023-02-21T16:06:52.897000",
          "content": "<p>Thank you for sharing your experience!</p>\n<p>LB 0.02 is quite big improvement!</p>",
          "votes": 2,
          "replies": [
            {
              "id": 2158542,
              "author_name": "Dheeraj Pandey",
              "author_url": "",
              "post_date": "2023-02-25T00:10:39.117000",
              "content": "<p>Thank you! </p>",
              "votes": 0,
              "replies": []
            }
          ]
        },
        {
          "id": 2158174,
          "author_name": "HongCheng",
          "author_url": "",
          "post_date": "2023-02-24T17:08:34.793000",
          "content": "<p>Hi Dheeraj could you please tell us how long it will take more time with the CLAHE method?</p>",
          "votes": 1,
          "replies": [
            {
              "id": 2158540,
              "author_name": "Dheeraj Pandey",
              "author_url": "",
              "post_date": "2023-02-25T00:09:08.013000",
              "content": "<p>Hi Hong, </p>\n<p>For me the impact on inference time is minimal. It took same time as simple augmentations.</p>\n<p>If you wish to speed up, you may utilize <strong>CLAHE</strong> with the most recent newest DALI nightly which is discussed: <a href=\"https://www.kaggle.com/competitions/rsna-breast-cancer-detection/discussion/384231\" target=\"_blank\">here</a> </p>\n<p>Thank you!</p>",
              "votes": 1,
              "replies": []
            }
          ]
        }
      ]
    },
    {
      "id": 2150904,
      "author_name": "ECO",
      "author_url": "",
      "post_date": "2023-02-19T17:27:46.477000",
      "content": "<p>Could you tell me how much the method improved LB? <br>\nBased on my experience, CLAHE usually does not improve the final performance.</p>",
      "votes": 1,
      "replies": []
    }
  ],
  "raw_markdown_by_id": {
    "2150733": "These methods were borrowed from Notebook, which is located at: [here](https://www.kaggle.com/code/kyleberdy/advanced-image-preprocessing-with-clahe) . Thank you @kyleberdy for sharing cutting-edge augmentation methods.\n\nThese augmentation methods helped my experiments and increased the score on my Public LB. \n\nThis one describes a model of **CLAHE**, and some of the limits of traditional models: https://towardsdatascience.com/increase-your-face-recognition-models-accuracy-by-improving-face-contrast-a3e71bb6b9fb\n\nThis one describes the opencv application of **adaptive Histogram equalization on grayscale images**: https://opencv-python-tutroals.readthedocs.io/en/latest/py_tutorials/py_imgproc/py_histograms/py_histogram_equalization/py_histogram_equalization.html\n\nSame as above, but in \"layman's terms\" (is anything AI ever in layman's terms): https://www.geeksforgeeks.org/clahe-histogram-eqalization-opencv/\n\n",
    "2151239": "Hey Eco,\n\nAt first, I tried a few simple augmentations, but at later stage , I discovered that CLAHE works best for this type of problems.\n(it worked for me)\n\nFor me, it raised my LB from 0.53 to 0.55. (~0.02)\n\nI hope that this answered your query. \n\nThank you!",
    "2150904": "Could you tell me how much the method improved LB? \nBased on my experience, CLAHE usually does not improve the final performance."
  }
}