[논문 리뷰] Matte Anything: Interactive Natural Image Matting with Segment Anything Models
MatAny는 Segment Anything Model (SAM)과 오픈 어휘(detector)인 GroundingDINO을 사용하여 이미지 매팅을 위한 의사 트림맵을 생성하고, 최소한의 사용자 입력과 정제 단계로 상호작용적이고 훈련 없이도 고품질의 알파 매트를 가능하게 한다.
Natural image matting algorithms aim to predict the transparency map (alpha-matte) with the trimap guidance. However, the production of trimap often requires significant labor, which limits the widespread application of matting algorithms on a large scale. To address the issue, we propose Matte Anything (MatAny), an interactive natural image matting model that could produce high-quality alpha-matte with various simple hints. The key insight of MatAny is to generate pseudo trimap automatically with contour and transparency prediction. In our work, we leverage vision foundation models to enhance the performance of natural image matting. Specifically, we use the segment anything model to predict high-quality contour with user interaction and an open-vocabulary detector to predict the transparency of any object. Subsequently, a pre-trained image matting model generates alpha mattes with pseudo trimaps. MatAny is the interactive matting algorithm with the most supported interaction methods and the best performance to date. It consists of orthogonal vision models without any additional training. We evaluate the performance of MatAny against several current image matting algorithms. MatAny has 58.3% improvement on MSE and 40.6% improvement on SAD compared to the previous image matting methods with simple guidance, achieving new state-of-the-art (SOTA) performance. The source codes and pre-trained models are available at https://github.com/hustvl/Matte-Anything.
연구 동기 및 목표
- 자연 이미지 매팅에서 트림맵 작성의 수작업을 기반 비전 모델을 활용해 줄이기
- 세그먼트화 및 객체 인식에서 파생된 의사 트림맵이 추가 학습 없이도 고품질 매팅을 유도할 수 있음을 보여주기
- 간단한 사용자 입력(포인트, 상자, 낙서, 텍스트)을 통한 상호작용 정제를 통해 결과를 개선하기
- 합성 데이터 및 실제 데이터셋 전반에 걸친 일반화 및 선도 매팅 방법과의 비교 평가하기
제안 방법
- 사용자가 상호 작용하는 동안 고품질 인스턴스 마스크를 얻기 위해 Segment Anything Model(SAM) 사용
- Open-vocabulary 검출기로 GroundingDINO을 활용하여 잠재적 투명 객체를 식별하고 텍스트 프롬트를 적용
- SAM 마스크와 투명도 예측에서 의사 트림맵을 생성하고 기본 트림맵을 만들기 위해 침식/팽창을 적용한 후 투명도 보정 전략으로 정제
- 원본 이미지와 의사 트림맵을 사전 학습된 매팅 모델(ViTMatte)에 입력하여 추가 학습 없이 알파 매트를 예측
- 사용자가 간단한 클릭으로 투명도 예측을 보정할 수 있어 잘못 식별된 투명 영역의 매팅을 개선
실험 결과
연구 질문
- RQ1완전 상호작용형이고 훈련 없이도 기본 모델(SAM, OV 검출기)을 결합한 매팅 시스템이 경쟁력 있는 결과를 낳을 수 있는가?
- RQ2세그먼트화 및 투명도 탐지에서 생성된 의사 트림맵이 다양한 데이터셋에서 매팅을 안내하는 데 얼마나 효과적인가?
- RQ3표준 매팅 벤치마크에서 최첨단 성능에 도달하기 위해 필요한 사용자 상호 작용 수준은 어느 정도인가?
- RQ4전통적인 트림맵 기반 방법과 비교하여 실제 세계 및 클래스 특화 매팅 상황(사람, 동물, 투명 객체)에 대한 접근 방식의 일반화 성능은 어떠한가?
주요 결과
- MatAny는 Composition-1k에서 강력한 성능을 달성하며 다른 x-가이드 매팅 방법을 능가하고 정제 후 트림맵 기반 매팅과도 경쟁력을 유지합니다.
- GroundingDINO의 투명도 예측은 매우 영향력이 크지만 오류를 유발할 수 있으며, 한 번의 클릭 보정으로 상당한 개선이 가능합니다(MatAny vs. MatAny†에서 큰 SAD/MSE 이득이 나타남).
- 제안된 의사 트림맵 전략은 최소한의 사용자 입력과 추가 학습 없이도 고품질 매팅을 가능하게 합니다.
- MatAny는 AIM-500 및 실제 세계 클래스 특화 데이터셋(AM-2k, P3M-500)에서 트림맵 없는 방법과 트림맵 기반 최첨단 방법 모두와 비교해 경쟁력 있는 결과를 보여줍니다.
- 시스템은 포인트, 상자, 낙서, 텍스트를 포함한 광범위한 상호작용을 지원하며 빠르게 정제되어 x-가이드 방법 중에서도 최상위 성능을 달성합니다.
이 논문 읽기
누빈트 뷰어에서 원문을 열고, 읽으면서 궁금한 곳을 바로 물어보세요.
누빈트에서 이 논문 읽기이 리뷰는 AI가 논문 원문을 바탕으로 만들었습니다. 인용하기 전에 원문을 확인해 주세요.