Info

此问题已关闭。 请重新打开它进行编辑或回答。

Apply the image processing technique that can divided it to two equal areas.

1 次查看(过去 30 天)
find the size of the object and find the center then drow ablack line in the center.
  1 个评论
Walter Roberson
Walter Roberson 2016-5-17
Is it necessary to detect the object in the image, or should the entire image be divided into two? If the object needs to be detected, then what are the properties that set it apart from the rest of the image?

回答(1 个)

Stalin Samuel
Stalin Samuel 2016-5-17
[r c] = size(i1);% i1 is the input image
i1(:,round(c/2):round(c/2)+1)=0;
imshow(i1)

此问题已关闭。

Community Treasure Hunt

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

Start Hunting!

Translated by