{
  "id": 613707,
  "title": "Some masks do not seem correct",
  "url": "/competitions/recodai-luc-scientific-image-forgery-detection/discussion/613707",
  "author_name": "",
  "post_date": "2025-10-29T03:56:03.528835300Z",
  "votes": 3,
  "comment_count": 4,
  "views": 0,
  "content": "<p>The forged directory contains 374 images that have no corresponding images in the authentic directory.  I looked at the masks for these images, many of them do not seem correct. They don't overlap duplicated regions. Some of the examples are listed here.  The ids are 90, 9822, 1070, 13734, 1661, from top to bottom.</p>\n<p><img src=\"https://www.googleapis.com/download/storage/v1/b/kaggle-forum-message-attachments/o/inbox%2F24375367%2F6549a833598da60a2324ea2e2789ce34%2F90.contour_result.png?generation=1761710014802615&amp;alt=media\" alt=\"\"></p>\n<p><img src=\"https://www.googleapis.com/download/storage/v1/b/kaggle-forum-message-attachments/o/inbox%2F24375367%2Fb372a48da8e631b9faf9fcc9225a09b1%2F9822.contour_result.png?generation=1761710060629232&amp;alt=media\" alt=\"\"></p>\n<p><img src=\"https://www.googleapis.com/download/storage/v1/b/kaggle-forum-message-attachments/o/inbox%2F24375367%2Fdf07cbd62dddba6bf73d1ebde03303d1%2F1070.contour_result.png?generation=1761710105693063&amp;alt=media\" alt=\"\"></p>\n<p><img src=\"https://www.googleapis.com/download/storage/v1/b/kaggle-forum-message-attachments/o/inbox%2F24375367%2Fbd1433e52f22d685ea4297f4ed4f9616%2F13734.contour_result.png?generation=1761710141022883&amp;alt=media\" alt=\"\"></p>\n<p><img src=\"https://www.googleapis.com/download/storage/v1/b/kaggle-forum-message-attachments/o/inbox%2F24375367%2Fb86abb0c11ebc9ac2374661a2c74a3b8%2F1661.contour_result.png?generation=1761710454418200&amp;alt=media\" alt=\"\"></p>",
  "messages": [
    {
      "id": "3308306",
      "postDate": "10/29/2025 03:56:03",
      "content": "<p>The forged directory contains 374 images that have no corresponding images in the authentic directory.  I looked at the masks for these images, many of them do not seem correct. They don't overlap duplicated regions. Some of the examples are listed here.  The ids are 90, 9822, 1070, 13734, 1661, from top to bottom.</p>\n<p><img src=\"https://www.googleapis.com/download/storage/v1/b/kaggle-forum-message-attachments/o/inbox%2F24375367%2F6549a833598da60a2324ea2e2789ce34%2F90.contour_result.png?generation=1761710014802615&amp;alt=media\" alt=\"\"></p>\n<p><img src=\"https://www.googleapis.com/download/storage/v1/b/kaggle-forum-message-attachments/o/inbox%2F24375367%2Fb372a48da8e631b9faf9fcc9225a09b1%2F9822.contour_result.png?generation=1761710060629232&amp;alt=media\" alt=\"\"></p>\n<p><img src=\"https://www.googleapis.com/download/storage/v1/b/kaggle-forum-message-attachments/o/inbox%2F24375367%2Fdf07cbd62dddba6bf73d1ebde03303d1%2F1070.contour_result.png?generation=1761710105693063&amp;alt=media\" alt=\"\"></p>\n<p><img src=\"https://www.googleapis.com/download/storage/v1/b/kaggle-forum-message-attachments/o/inbox%2F24375367%2Fbd1433e52f22d685ea4297f4ed4f9616%2F13734.contour_result.png?generation=1761710141022883&amp;alt=media\" alt=\"\"></p>\n<p><img src=\"https://www.googleapis.com/download/storage/v1/b/kaggle-forum-message-attachments/o/inbox%2F24375367%2Fb86abb0c11ebc9ac2374661a2c74a3b8%2F1661.contour_result.png?generation=1761710454418200&amp;alt=media\" alt=\"\"></p>",
      "rawMarkdown": "The forged directory contains 374 images that have no corresponding images in the authentic directory.  I looked at the masks for these images, many of them do not seem correct. They don't overlap duplicated regions. Some of the examples are listed here.  The ids are 90, 9822, 1070, 13734, 1661, from top to bottom.\n\n![](https://www.googleapis.com/download/storage/v1/b/kaggle-forum-message-attachments/o/inbox%2F24375367%2F6549a833598da60a2324ea2e2789ce34%2F90.contour_result.png?generation=1761710014802615&alt=media)\n\n![](https://www.googleapis.com/download/storage/v1/b/kaggle-forum-message-attachments/o/inbox%2F24375367%2Fb372a48da8e631b9faf9fcc9225a09b1%2F9822.contour_result.png?generation=1761710060629232&alt=media)\n\n![](https://www.googleapis.com/download/storage/v1/b/kaggle-forum-message-attachments/o/inbox%2F24375367%2Fdf07cbd62dddba6bf73d1ebde03303d1%2F1070.contour_result.png?generation=1761710105693063&alt=media)\n\n![](https://www.googleapis.com/download/storage/v1/b/kaggle-forum-message-attachments/o/inbox%2F24375367%2Fbd1433e52f22d685ea4297f4ed4f9616%2F13734.contour_result.png?generation=1761710141022883&alt=media)\n\n![](https://www.googleapis.com/download/storage/v1/b/kaggle-forum-message-attachments/o/inbox%2F24375367%2Fb86abb0c11ebc9ac2374661a2c74a3b8%2F1661.contour_result.png?generation=1761710454418200&alt=media)",
      "votes": null
    },
    {
      "id": "3308347",
      "postDate": "10/29/2025 07:07:38",
      "content": "<p>nice catch !</p>",
      "rawMarkdown": "nice catch !",
      "votes": null
    },
    {
      "id": "3308439",
      "postDate": "10/29/2025 12:33:36",
      "content": "<p>Thanks for your comment!</p>\n<p>These masks are correct. Note that in scientific images, forgeries can occur to duplicate an object, or (as in these cases) <strong>to hide an object by pasting a piece of the background over it</strong>. That is what is occurring in the examples you presented.</p>\n<p>Check the difference between the authentic and forged images to understand what is happening.\n<img src=\"https://www.googleapis.com/download/storage/v1/b/kaggle-forum-message-attachments/o/inbox%2F11373480%2F151df79a678026afe02902ece04bd009%2Fbackground-forgery.png?generation=1761741184566797&amp;alt=media\" alt=\"\"></p>",
      "rawMarkdown": "Thanks for your comment!\n\nThese masks are correct. Note that in scientific images, forgeries can occur to duplicate an object, or (as in these cases) **to hide an object by pasting a piece of the background over it**. That is what is occurring in the examples you presented.\n\nCheck the difference between the authentic and forged images to understand what is happening.\n![](https://www.googleapis.com/download/storage/v1/b/kaggle-forum-message-attachments/o/inbox%2F11373480%2F151df79a678026afe02902ece04bd009%2Fbackground-forgery.png?generation=1761741184566797&alt=media)",
      "votes": null
    },
    {
      "id": "3313160",
      "postDate": "11/08/2025 19:36:19",
      "content": "<p>Here, the part of the image that is copied seems to have a lot of different possible origins. Am I wrong?</p>\n<p>here's an example of what I mean</p>\n<p>Since there can be many different possibilities, how are we (and the AI model we're building) supposed to know that the one you attached is the correct mask and what I have here is not correct?</p>\n<p><img src=\"https://www.googleapis.com/download/storage/v1/b/kaggle-forum-message-attachments/o/inbox%2F5956875%2F3206426043abdb5f663ad91ef250d941%2Finbox_11373480_151df79a678026afe02902ece04bd009_background-forgery.png?generation=1762630371314141&amp;alt=media\" alt=\"\"></p>",
      "rawMarkdown": "Here, the part of the image that is copied seems to have a lot of different possible origins. Am I wrong?\n\nhere's an example of what I mean\n\nSince there can be many different possibilities, how are we (and the AI model we're building) supposed to know that the one you attached is the correct mask and what I have here is not correct?\n\n![](https://www.googleapis.com/download/storage/v1/b/kaggle-forum-message-attachments/o/inbox%2F5956875%2F3206426043abdb5f663ad91ef250d941%2Finbox_11373480_151df79a678026afe02902ece04bd009_background-forgery.png?generation=1762630371314141&alt=media)",
      "votes": null
    },
    {
      "id": "3315075",
      "postDate": "11/10/2025 13:27:56",
      "content": "<p>Thanks for the question.</p>\n<p>In forensics, we use the Locard's exchange principle, which states: \"Every contact leaves a trace.\" So, there is almost always a way to catch the forgery.</p>\n<p>In this type of forgery, you should also consider the image noise surrounding the forged regions, which might not be easily noticeable without processing the image.</p>\n<p>For example, if you modify the color curves, you will often see that the same noise patterns occur in the source region and the copied regions. This allows us to verify that a region has been copied from one location to another.</p>\n<p><img src=\"https://www.googleapis.com/download/storage/v1/b/kaggle-forum-message-attachments/o/inbox%2F11373480%2F34c9647262711972cd65240743dcdcd8%2Finbox_11373480_151df79a678026afe02902ece04bd009_background-forgery.png?generation=1762781159315144&amp;alt=media\" alt=\"\"></p>\n<p>This is just one example of how to detect this, and there are surely many other methods that are more robust to the problem :)</p>",
      "rawMarkdown": "Thanks for the question.\n\nIn forensics, we use the Locard's exchange principle, which states: \"Every contact leaves a trace.\" So, there is almost always a way to catch the forgery.\n\nIn this type of forgery, you should also consider the image noise surrounding the forged regions, which might not be easily noticeable without processing the image.\n\nFor example, if you modify the color curves, you will often see that the same noise patterns occur in the source region and the copied regions. This allows us to verify that a region has been copied from one location to another.\n\n![](https://www.googleapis.com/download/storage/v1/b/kaggle-forum-message-attachments/o/inbox%2F11373480%2F34c9647262711972cd65240743dcdcd8%2Finbox_11373480_151df79a678026afe02902ece04bd009_background-forgery.png?generation=1762781159315144&alt=media)\n\nThis is just one example of how to detect this, and there are surely many other methods that are more robust to the problem :)",
      "votes": null
    }
  ],
  "comments": [
    {
      "id": 3308347,
      "author_name": "steubk",
      "author_url": "",
      "post_date": "10/29/2025 07:07:38",
      "content": "<p>nice catch !</p>",
      "votes": null,
      "replies": []
    },
    {
      "id": 3308439,
      "author_name": "joophillipecardenuto",
      "author_url": "",
      "post_date": "10/29/2025 12:33:36",
      "content": "<p>Thanks for your comment!</p>\n<p>These masks are correct. Note that in scientific images, forgeries can occur to duplicate an object, or (as in these cases) <strong>to hide an object by pasting a piece of the background over it</strong>. That is what is occurring in the examples you presented.</p>\n<p>Check the difference between the authentic and forged images to understand what is happening.\n<img src=\"https://www.googleapis.com/download/storage/v1/b/kaggle-forum-message-attachments/o/inbox%2F11373480%2F151df79a678026afe02902ece04bd009%2Fbackground-forgery.png?generation=1761741184566797&amp;alt=media\" alt=\"\"></p>",
      "votes": null,
      "replies": [
        {
          "id": 3313160,
          "author_name": "mushfirat",
          "author_url": "",
          "post_date": "11/08/2025 19:36:19",
          "content": "<p>Here, the part of the image that is copied seems to have a lot of different possible origins. Am I wrong?</p>\n<p>here's an example of what I mean</p>\n<p>Since there can be many different possibilities, how are we (and the AI model we're building) supposed to know that the one you attached is the correct mask and what I have here is not correct?</p>\n<p><img src=\"https://www.googleapis.com/download/storage/v1/b/kaggle-forum-message-attachments/o/inbox%2F5956875%2F3206426043abdb5f663ad91ef250d941%2Finbox_11373480_151df79a678026afe02902ece04bd009_background-forgery.png?generation=1762630371314141&amp;alt=media\" alt=\"\"></p>",
          "votes": null,
          "replies": [
            {
              "id": 3315075,
              "author_name": "joophillipecardenuto",
              "author_url": "",
              "post_date": "11/10/2025 13:27:56",
              "content": "<p>Thanks for the question.</p>\n<p>In forensics, we use the Locard's exchange principle, which states: \"Every contact leaves a trace.\" So, there is almost always a way to catch the forgery.</p>\n<p>In this type of forgery, you should also consider the image noise surrounding the forged regions, which might not be easily noticeable without processing the image.</p>\n<p>For example, if you modify the color curves, you will often see that the same noise patterns occur in the source region and the copied regions. This allows us to verify that a region has been copied from one location to another.</p>\n<p><img src=\"https://www.googleapis.com/download/storage/v1/b/kaggle-forum-message-attachments/o/inbox%2F11373480%2F34c9647262711972cd65240743dcdcd8%2Finbox_11373480_151df79a678026afe02902ece04bd009_background-forgery.png?generation=1762781159315144&amp;alt=media\" alt=\"\"></p>\n<p>This is just one example of how to detect this, and there are surely many other methods that are more robust to the problem :)</p>",
              "votes": null,
              "replies": []
            }
          ]
        }
      ]
    }
  ],
  "raw_markdown_by_id": {
    "3308306": "The forged directory contains 374 images that have no corresponding images in the authentic directory.  I looked at the masks for these images, many of them do not seem correct. They don't overlap duplicated regions. Some of the examples are listed here.  The ids are 90, 9822, 1070, 13734, 1661, from top to bottom.\n\n![](https://www.googleapis.com/download/storage/v1/b/kaggle-forum-message-attachments/o/inbox%2F24375367%2F6549a833598da60a2324ea2e2789ce34%2F90.contour_result.png?generation=1761710014802615&alt=media)\n\n![](https://www.googleapis.com/download/storage/v1/b/kaggle-forum-message-attachments/o/inbox%2F24375367%2Fb372a48da8e631b9faf9fcc9225a09b1%2F9822.contour_result.png?generation=1761710060629232&alt=media)\n\n![](https://www.googleapis.com/download/storage/v1/b/kaggle-forum-message-attachments/o/inbox%2F24375367%2Fdf07cbd62dddba6bf73d1ebde03303d1%2F1070.contour_result.png?generation=1761710105693063&alt=media)\n\n![](https://www.googleapis.com/download/storage/v1/b/kaggle-forum-message-attachments/o/inbox%2F24375367%2Fbd1433e52f22d685ea4297f4ed4f9616%2F13734.contour_result.png?generation=1761710141022883&alt=media)\n\n![](https://www.googleapis.com/download/storage/v1/b/kaggle-forum-message-attachments/o/inbox%2F24375367%2Fb86abb0c11ebc9ac2374661a2c74a3b8%2F1661.contour_result.png?generation=1761710454418200&alt=media)",
    "3308347": "nice catch !",
    "3308439": "Thanks for your comment!\n\nThese masks are correct. Note that in scientific images, forgeries can occur to duplicate an object, or (as in these cases) **to hide an object by pasting a piece of the background over it**. That is what is occurring in the examples you presented.\n\nCheck the difference between the authentic and forged images to understand what is happening.\n![](https://www.googleapis.com/download/storage/v1/b/kaggle-forum-message-attachments/o/inbox%2F11373480%2F151df79a678026afe02902ece04bd009%2Fbackground-forgery.png?generation=1761741184566797&alt=media)",
    "3313160": "Here, the part of the image that is copied seems to have a lot of different possible origins. Am I wrong?\n\nhere's an example of what I mean\n\nSince there can be many different possibilities, how are we (and the AI model we're building) supposed to know that the one you attached is the correct mask and what I have here is not correct?\n\n![](https://www.googleapis.com/download/storage/v1/b/kaggle-forum-message-attachments/o/inbox%2F5956875%2F3206426043abdb5f663ad91ef250d941%2Finbox_11373480_151df79a678026afe02902ece04bd009_background-forgery.png?generation=1762630371314141&alt=media)",
    "3315075": "Thanks for the question.\n\nIn forensics, we use the Locard's exchange principle, which states: \"Every contact leaves a trace.\" So, there is almost always a way to catch the forgery.\n\nIn this type of forgery, you should also consider the image noise surrounding the forged regions, which might not be easily noticeable without processing the image.\n\nFor example, if you modify the color curves, you will often see that the same noise patterns occur in the source region and the copied regions. This allows us to verify that a region has been copied from one location to another.\n\n![](https://www.googleapis.com/download/storage/v1/b/kaggle-forum-message-attachments/o/inbox%2F11373480%2F34c9647262711972cd65240743dcdcd8%2Finbox_11373480_151df79a678026afe02902ece04bd009_background-forgery.png?generation=1762781159315144&alt=media)\n\nThis is just one example of how to detect this, and there are surely many other methods that are more robust to the problem :)"
  },
  "source": "meta"
}