i want a code for remove background from an image.

답변 (1개)

Image Analyst
Image Analyst 2017년 11월 22일
What do you mean by remove? You can't remove it, but you can set it to something else, like zero or something. Just threshold:
background = grayImage < 50; % or whatever number works
grayImage(background) = 0; % Set background to 0 (black).

카테고리

도움말 센터File Exchange에서 Image Segmentation and Analysis에 대해 자세히 알아보기

태그

질문:

2017년 11월 22일

댓글:

2020년 11월 20일

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by