i want a code for remove background from an image.
이전 댓글 표시

this is my image.
답변 (1개)
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).
댓글 수: 2
Ahmad AlZein
2020년 11월 20일
please, can you explain the code
카테고리
도움말 센터 및 File Exchange에서 Image Segmentation and Analysis에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!