{
  "fetched_at": "2026-10-19T09:00:56Z",
  "source_url": "https://www.kaggle.com/competitions/bkai-igh-neopolyp/data",
  "pages": [
    {
      "name": "data-description",
      "content": "##  File description:  \n- **test**: test images  \n- **train**: training images  \n- **train_gt**: ground-truths of training images  \n- **sample_submission.csv**: sample submission  \n\n## Ground-truth explanation  \n- Red color: neoplastic polyps  \n- Green color: non-neoplastic polyps  \n- Black color: background  ",
      "isPublished": false,
      "hasIsPublished": false,
      "postTitle": "",
      "hasPostTitle": false,
      "mimeType": "",
      "hasMimeType": false
    },
    {
      "name": "Description",
      "content": "<p>BKAI-IGH <strong>NeoPolyp-Small</strong> is a public dataset released by <a href=\"https://bkai.ai\">BKAI Research Center</a>, <a href=\"https://hust.edu.vn\">Hanoi University of Science and Technology</a> incorporation with <a href=\"http://igh.ac.vn/vi/\">Institute of Gastroenterology and Hepatology (IGH), Vietnam</a>. </p>\n<p>This dataset contains 1200 images (1000 WLI and 200 FICE images). The training set consists of 1000 images, and the test set consists of 200 images. All polyps are classified into neoplastic or non-neoplastic classes denoted by red and green colors, respectively.</p>\n\n<p> A larger dataset called <strong>NeoPolyp-Large</strong> contains about 7500 images of four different color modes (WLI, BLI, LCI, FICE) with fire-grained annotations. Please check the information  <a href=\"https://bkai.ai/research/bkai-igh-neopolyp-small-a-dataset-for-fine-grained-polyp-segmentation/\">HERE</a> for more details.</p>\n\nAll the images were collected in <a href=\"http://igh.ac.vn/vi/\">IGH</a>. Annotations (including segmentation and classification) are added and verified by two experienced endoscopists from <a href=\"http://igh.ac.vn/vi/\">IGH</a>.\n\n<h2>Acknowledgments</h2>\n<p>This dataset is collected thanks to <a href=\"https://bkai.ai/research/development-of-a-real-time-ai-assisted-system-to-detect-colon-polyps-and-identify-lesions-at-high-risk-of-malignancy-during-endoscopy/\">the project VINIF.2020.DA17</a> \n funded by Vingroup Innovation Foundation. We thank <a href=\"http://igh.ac.vn/vi/\">IGH</a> for collecting and annotating the data.</p>\n\n<h2>References</h2>\nIf you use this dataset in your work, please consider to cite the following papers: <br>\n1. Lan, P.N., An, N.S., Hang, D.V., Long, D.V., Trung, T.Q., Thuy, N.T., Sang, D.V.: <a href=\"https://link.springer.com/chapter/10.1007/978-3-030-90436-4_2\">NeoUnet: Towards accurate colon polyp segmentation and neoplasm detection</a>. In: Proceedings of the 16th International Symposium on Visual Computing (2021) <br>\n2. Nguyen Thanh Duc, Nguyen Thi Oanh, Nguyen Thi Thuy, Tran Minh Triet, Dinh Viet Sang. <a href=\"https://ieeexplore.ieee.org/document/9845389\">ColonFormer: An Efficient Transformer Based Method for Colon Polyp Segmentation</a>. IEEE Access, vol. 10, pp. 80575-80586, 2022 <br>\n3. Nguyen Hoang Thuan, Nguyen Thi Oanh, Nguyen Thi Thuy, Perry Stuart, Dinh Viet Sang (2023). <a href=\"https://arxiv.org/abs/2307.06420\">RaBiT: An Efficient Transformer using Bidirectional Feature Pyramid Network with Reverse Attention for Colon Polyp Segmentation</a>. arXiv preprint arXiv:2307.06420. <br>\n4. Nguyen Sy An, Phan Ngoc Lan, Dao Viet Hang, Dao Van Long, Tran Quang Trung, Nguyen Thi Thuy, Dinh Viet Sang. <a href=\"https://ieeexplore.ieee.org/document/9759450\">BlazeNeo: Blazing fast polyp segmentation and neoplasm detection</a>. IEEE Access, Vol. 10, 2022.\n\n",
      "isPublished": false,
      "hasIsPublished": false,
      "postTitle": "",
      "hasPostTitle": false,
      "mimeType": "",
      "hasMimeType": false
    },
    {
      "name": "Evaluation",
      "content": "This competition is evaluated on the mean Dice coefficient. The Dice coefficient can be used to compare the pixel-wise agreement between a predicted segmentation and its corresponding ground truth. The formula is given by:\n$$ \\frac{2* |X \\cap Y|}{|X|+|Y|} $$\nwhere X is the predicted set of pixels and Y is the ground truth. The Dice coefficient is defined to be 1 when both X and Y are empty. The leaderboard score is the mean of the Dice coefficients for each *<ImageId, ClassId>* pair in the test set. ClassId = 0 means neoplastic polyp, while ClassId = 1 means non-neoplastic polyp.\n\n**Expected results**\nIn order to reduce the submission file size, our metric uses run-length encoding on the pixel values. Instead of submitting an exhaustive list of indices for your segmentation, you will submit pairs of values that contain a start position and a run length. For example, '1 3' implies starting at pixel 1 and running a total of 3 pixels 1,2,3.\n\nThe competition format requires a space-delimited list of pairs. For example, '1 3 10 5' implies pixels 1,2,3,10,11,12,13,14 are to be included in the mask. The metric checks that the pairs are sorted, positive, and the decoded pixel values are not duplicated. The pixels are numbered from top to bottom, then left to right: 1 is pixel 1,1, 2 is pixel 2,1, etc.\n\n**File Format**\nYour submission file should be in csv format, with a header and columns names: Id, Expected.\nEach row in your submission represents a single predicted polyp segmentation for the given ImageId and predicted ClassId, and you should have the same number of rows as num_images * 2, i.e., 400 rows. The segment for each polyp class will be encoded into a single row, even if there are several non-contiguous polyp regions on an image.\n\n```\nId,Expected  \n633a8d5b2b2b55157b7781e2c706c75c_0, 200 10    \n633a8d5b2b2b55157b7781e2c706c75c_1, 500 11    \n60a633a8d5b2b2b55157b7781e2c706c_0, 650 15    \n60a633a8d5b2b2b55157b7781e2c706c_1, 1 50    \netc...\n```\nYou can use the [sample code here](https://github.com/sangdv/rle_encode/blob/main/mask2csv.py) to convert segmentation masks into a csv file.\n\n**Important Note**\nIt should be emphasized that the predicted segmentation results must match the size of the original image. Therefore, if you resize the input image to fit your models, you must also <strong>resize the prediction output back to the original size</strong> of the input image before converting it to the required format.",
      "isPublished": false,
      "hasIsPublished": false,
      "postTitle": "",
      "hasPostTitle": false,
      "mimeType": "",
      "hasMimeType": false
    },
    {
      "name": "rules",
      "content": "",
      "isPublished": false,
      "hasIsPublished": false,
      "postTitle": "",
      "hasPostTitle": false,
      "mimeType": "",
      "hasMimeType": false
    }
  ]
}