Clear Filters
Clear Filters

Info

This question is closed. Reopen it to edit or answer.

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

1 view (last 30 days)
find the size of the object and find the center then drow ablack line in the center.
  1 Comment
Walter Roberson
Walter Roberson on 17 May 2016
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?

Answers (1)

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

This question is closed.

Community Treasure Hunt

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

Start Hunting!