MATLAB: How can divide image in vertically in to exact two part

binary image dividingdivide imageImage Processing Toolbox

I wanted to divide image in vertically in to exact two part. Then take the first half part of the image and find the maximum axis length and minimum axis length

Best Answer

left = YourImage(:, 1:end/2, :);
right = YourImage(:, end/2+1:end, :);
Related Question