Skip to contentScholarGate
LibraryBookshelfDeskReview StudioAssistant
Sign in
On this page
IntuitionHow it worksWhen to use itStrengths & limitationsCommon pitfallsApplicationsFrequently asked🔒 Read the full methodSourcesRelated methods
Cite this pageSpotted an issue on this page? Report or suggest a fix →
Home›Deep learning›Mask R-CNN: Instance Segmentation with Pixel-Level Masks
Machine learningObject detection / segmentation

Mask R-CNN: Instance Segmentation with Pixel-Level Masks

Mask R-CNN (Instance Segmentation) · Also known as: Mask Region-based Convolutional Neural Network, Instance Segmentation R-CNN, He et al. 2017 Segmentation Model, Maske R-CNN

Mask R-CNN is a deep learning framework for instance segmentation introduced by Kaiming He, Georgia Gkioxari, Piotr Dollár, and Ross Girshick at Facebook AI Research (FAIR) in 2017. It extends Faster R-CNN by adding a parallel branch that predicts a binary pixel-level mask for each detected object instance, enabling simultaneous object detection, classification, and fine-grained segmentation in a single forward pass.

ScholarGate
  1. Machine learning
  2. v1
  3. 1 Sources
  4. PUBLISHED
Cite this page →
Tools & resources
Download slides
Learn & explore

Read the full method

Members only

Sign in with a free account to read this section.

Sign in

Method map

The neighbourhood of related methods — select a node to explore.

Mask R-CNN
Faster R-CNNU-Net

When to use it

Use Mask R-CNN when you need to distinguish individual object instances at the pixel level, not merely bounding boxes or semantic labels. It is appropriate for medical image analysis (cell counting, tumor delineation), autonomous driving (pedestrian silhouettes), satellite imagery (building footprints), and industrial inspection. Assumes sufficient labeled mask training data. Not ideal when only bounding boxes are needed (use Faster R-CNN) or when semantic segmentation without instance distinction suffices (use FCN or DeepLab). Computationally demanding; lighter alternatives include YOLOv8-seg or SOLO.

Strengths & limitations

Strengths
  • Cleanly decouples mask prediction from classification, enabling each branch to be optimized for its own objective
  • RoIAlign eliminates quantization errors, yielding significantly more accurate masks than RoIPool-based predecessors
  • Easily extended to additional tasks such as keypoint estimation by adding parallel heads with minimal architectural change
  • Strong generalization across domains (medical, satellite, robotics) with transfer learning from ImageNet/COCO pretrained backbones
Limitations
  • High computational cost at inference: multiple forward passes through the backbone plus three separate heads per proposal
  • Requires large amounts of pixel-level annotated training data, which is expensive and time-consuming to produce
  • Fixed grid mask resolution (typically 28×28) limits fine detail recovery for very small or highly elongated objects
  • Two-stage design has higher latency than single-stage instance segmentation methods, making real-time deployment challenging without specialized hardware

Frequently asked

How does Mask R-CNN differ from semantic segmentation models like FCN or DeepLab?

Semantic segmentation assigns a class label to every pixel but does not distinguish between separate instances of the same class. Mask R-CNN performs instance segmentation: it detects each individual object, assigns a class and bounding box, and predicts a separate binary mask for each instance. Two overlapping pedestrians get two distinct masks rather than a merged semantic region.

Why is RoIAlign critical, and what exactly does it fix?

RoIPool rounds floating-point region coordinates to the nearest integer before pooling, introducing misalignments of up to half a cell. For bounding-box detection this error is acceptable, but for pixel-level masks even one-pixel misalignment degrades quality visibly. RoIAlign avoids rounding entirely by using bilinear interpolation at exact sub-pixel sample points within each pooling bin, preserving spatial correspondence between features and image pixels.

Can Mask R-CNN be used for video instance segmentation?

Mask R-CNN operates on individual frames and has no built-in temporal reasoning. For video, its per-frame masks are typically paired with an external tracker (e.g., SORT, DeepSORT) or used as the detection backbone inside dedicated video instance segmentation frameworks such as MaskTrack R-CNN or VisTR. This requires additional engineering beyond the base model.

Sources

  1. He, K., Gkioxari, G., Dollár, P., & Girshick, R. (2017). Mask R-CNN. IEEE International Conference on Computer Vision (ICCV), 2980–2988. DOI: 10.1109/ICCV.2017.322 ↗

How to cite this page

ScholarGate. (2026, June 2). Mask R-CNN (Instance Segmentation). ScholarGate. https://scholargate.app/en/deep-learning/mask-rcnn

Related methods

Faster R-CNNU-Net

Which method?

Set this method beside its closest kin and read them side by side — the library lays the books on the table; the choice is yours.

  • Faster R-CNNDeep learning↔ compare
  • U-NetDeep learning↔ compare
Compare side by side →

Referenced by

U-Net

Similar methods

Instance SegmentationTransfer Learning with Instance SegmentationExplainable Instance SegmentationMultimodal Instance SegmentationFaster R-CNNSemi-supervised Instance SegmentationWeakly Supervised Instance SegmentationDomain-adaptive Instance Segmentation

Related reference concepts

Image SegmentationObject Recognition and DetectionComputer VisionEdge and Contour DetectionMachine LearningConvolutional and Sequence Models

Spotted an issue on this page? Report or suggest a fix →

ScholarGate — Mask R-CNN (Mask R-CNN (Instance Segmentation)). Retrieved 2026-07-21 from https://scholargate.app/en/deep-learning/mask-rcnn · Dataset: https://doi.org/10.5281/zenodo.20539026
Quick facts
Originator
Kaiming He et al. (FAIR)
Year
2017
Type
Instance segmentation deep neural network
Subfamily
Object detection / segmentation
Backbone
ResNet / FPN (Feature Pyramid Network)
Output
Bounding box + class label + pixel-level binary mask per instance
Related methods
Faster R-CNNU-Net
ScholarGate

A content-first reference library for research methods — what each one is, how it works, and where it comes from.

Open data (CC-BY)

Explore

  • Library
  • Search the library…
  • Browse by field
  • Fields
  • Journey
  • Compare
  • Which method?

Reference

  • Subjects
  • Atlas
  • Glossary
  • Methodology
  • Philosophy

Your tools

  • Bookshelf
  • Desk
  • Chat

Company

  • About
  • Pricing
  • Contact
  • Suggest a method

Entries are compiled from published sources for reference. Verifying the accuracy and suitability of any information for your own use remains your responsibility.

© 2026 ScholarGate · A research-method reference library
  • Privacy
  • Cookies
  • Terms
  • Delete account