필터 지우기
필터 지우기

how to get the background of an image?

조회 수: 2 (최근 30일)
Sivakumaran Chandrasekaran
Sivakumaran Chandrasekaran 2012년 8월 22일
From the given input image, how to separate the frontground image and the background image?

채택된 답변

Matt Kindig
Matt Kindig 2012년 8월 22일
This question is almost impossible to answer without a) the image in question, and b) your definition of what the "background" is. Please upload your image (see the "Image" icon in the editor where you post your question) and provide some details as to your criteria for distinguishing foreground from background. Also, do you have the Image Processing Toolbox?
  댓글 수: 3
Matt Kindig
Matt Kindig 2012년 8월 22일
Looking at the image, how do you want to define the "foreground"? There are three polar bears in the image you supplied. Do you want to identify only the one closest to the camera? If so, this is potentially quite difficult, as standard thresholding techniques based on color matching would likely not work. I guess you would need some way to identify the "sharpness" or "in focus" portion of the image (edge detection?). Perhaps someone on this forum with more experience in this area can assist.
Sivakumaran Chandrasekaran
Sivakumaran Chandrasekaran 2012년 8월 23일
Hi Matt, I should get only 3 polar bears as the output.. Nothing others should be visible.

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Image Processing Toolbox에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by