Chuyển đến nội dung

Tách nền và xóa phông nền

Tách chủ thể khỏi nền một cách gọn gàng

đầu vàoHình ảnhHình ảnh

Toàn văn của trang này được trình bày bằng tiếng Anh; tiêu đề và phần dẫn đã được bản địa hóa.

Năng lực này nghĩa là gì

Takes an image, sometimes with a hint point or box naming the subject, and outputs an image with an alpha channel — foreground kept, background transparent. Unlike segmentation it outputs a soft alpha matte rather than a hard class mask, and the semi-transparent transition at the edges is exactly what it must get right.

Làm ra sao về mặt kỹ thuật

A segmentation network first proposes the subject region, then a dedicated matting model estimates per-pixel opacity and foreground colour in the boundary band. Training data comes from compositing known subjects onto random backgrounds plus finely annotated alpha ground truth. Promptable segmentation models have made one-click cutouts easy, and video matting adds a requirement for temporal consistency across frames.

Sản phẩm tiêu biểu

4

Adobe

Firefly

Công cụ tạo và chỉnh sửa ảnh cho người sáng tạo

2Năng lực
Ứng dụng Đóng
Hình ảnhVăn bảnHình ảnh
2023

Stability AI

Stable Diffusion

Mở công khai trọng số tạo ảnh từ văn bản, đủ nhẹ để chạy trên GPU phổ thông

2Năng lực
Mô hình Trọng số mở
Văn bảnHình ảnhHình ảnh
2022

SenseTime

SenseAvatar

Tạo video người kỹ thuật số khớp khẩu hình từ ảnh chân dung và một đoạn âm thanh

1Năng lực
API Đóng
Hình ảnhÂm thanhVideo
2022

Hugging Face

Diffusers

Cách triển khai và bộ lập lịch thống nhất cho mô hình khuếch tán

2Liên kết
Công cụ Mã nguồn mở
2022

Tổ chức liên quan

Cách dùng tiêu biểu

  • Re-backgrounding and layout of product photos
  • ID-photo and portrait cutouts
  • Virtual backgrounds for short video and live streaming
  • Asset extraction for design and compositing

Đánh giá nó tốt hay không thế nào

IoU
Intersection over union of the foreground region
SAD / MSE
Absolute or squared error of the alpha channel against truth
Gradient error
Whether edge transitions look like a real matte

Ranh giới và điểm khó

  • Hair, fur and mesh produce ragged or grey fringes instead of clean semi-transparent edges
  • When subject and background colours are close, or the background is busy, the boundary decision fails
  • Frame-by-frame video matting flickers at the edges and needs extra temporal handling

Các khái niệm đằng sau

Học sâu

Mạng nơ-ron tích chậpTrung cấp

Thay kết nối đầy đủ bằng “nhìn cục bộ, dùng lại cùng một thước ở mọi nơi” — ý tưởng đưa nhận dạng ảnh thành khả thi

5Liên kết
Hình minh họa 2 · Dữ liệu 1