semantic_human_matting
Semantic Human Matting predicts an alpha matte for people in an image without a user-supplied trimap.
Segmentation · 112 operations Checked
Click or tap a spot to read it up close. Scroll or drag inside the diagram to move through it. Zoom with + and − or Ctrl and scroll. Press 0 for the whole graph. Swipe inside the diagram to move through it. Use + and − to zoom.
At a glance
- Task
- Segmentation
- Parameters
- 967.3K
- Operations
- 112
- Framework
- PyTorch
- Recurrent
- No
- Published
- ACM International Conference on Multimedia (ACM MM) (arXiv 2018)
- Paper
- Semantic Human Matting
- Cited by
- 156 (as of 9 October 2026)
- Authors
- Quan Chen, Tiezheng Ge, Yanyu Xu and others
- Checked
- Passed: the trace was replayed operation by operation and matched the model's own output for this input.
Files
The file opened in a new tab. Use your browser's Save command there to keep it.
The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.
Details
- Stable ID
- m12125
- Graph hash
- a7c4c983e6c885626b49afc82911cc7e00da292b192f308b0e9f753c8a1c68b7
- Skeleton hash
- 4f484fcac5d50d41fe3ee565e8895a5e55ab1487460190737b16a740ac823f02
- Architecture hash
- a962c1261986cfae067c98e3c2addf149963ca911c757db57b38301749482097
- Diagram SHA-256
- d4b022c7e768a50cfd54747920880c32308f6ee6d2b77515b6cd0ee7fffec7ca
- TorchLens version
- 2.35.3
- Renderer
- graphviz 2.43.0+pyvips 3.2.0+libvips 8.18.7+render-opts@06c1f0d3
- Check
- Forward pass replayed in PyTorch
How this diagram was made
menagerie.classics.semantic_human_matting:build_semantic_human_matting: build({}) What it is
Semantic Human Matting (SHM) is an automatic human matting algorithm: it extracts people from natural images as an alpha matte. According to the paper, most previous methods required a user to supply trimaps or scribbles as constraints, which made them difficult to apply to large scale data or time-sensitive scenarios. SHM takes an image and directly outputs a 1-channel alpha matte of the same size.
The network has two subnetworks and a fusion step. T-Net classifies each pixel as foreground, background or unknown region. The paper implements it as PSPNet-50. M-Net takes the 3-channel image concatenated with the 3-channel output of T-Net as a 6-channel input. It is a deep convolutional encoder-decoder network that generates the raw alpha matte, and its encoder uses the same hyper-parameters as the convolutional layers of VGG16. The Fusion Module then refines the coarse segmentation with the matting result, with the refinement controlled by the probability of the unknown region. The whole network is trained jointly, end to end.
The authors also constructed a dataset with 35,513 unique foregrounds for learning and evaluating human matting.
Key idea. SHM learns semantic segmentation and matting details jointly, fusing a predicted trimap with a raw alpha matte so that human matting needs no user-supplied trimap.
- semantic human matting
- shm
- human matting
- image matting
- alpha matte
- automatic matting
- trimap-free matting
- portrait matting
AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.
Cite the paper
@misc{chen2018semantichumanmatting,
title={Semantic Human Matting},
author={Quan Chen and Tiezheng Ge and Yanyu Xu and Zhiqiang Zhang and Xinxin Yang and Kun Gai},
year={2018},
eprint={1809.01354},
archivePrefix={arXiv},
primaryClass={cs.CV},
url={https://arxiv.org/abs/1809.01354},
}