One of the module of my project requires me to divide a page into three parts, and then discard the middle one. Then I have to work with the 1st and the 3rd part? How do I segment my image into three parts?
% paper split img = imread('paper.jpg'); %imshow(img, []); [nrows ncols dim] = size(img); % Get the slices colums wise split equally img1 = img(:,1:ncols/3,:); img2 = img(:,(ncols/3)+1:2*ncols/3,:); img3 = img(:,(2*ncols/3)+1:ncols,:); figure, subplot(1,3,1), imshow(img1,[]); title('first part'); subplot(1,3,2), imshow(img2,[]); title('second part'); subplot(1,3,3), imshow(img3,[]); title('third part');
Matlabsolutions.com provides guaranteed satisfaction with a
commitment to complete the work within time. Combined with our meticulous work ethics and extensive domain
experience, We are the ideal partner for all your homework/assignment needs. We pledge to provide 24*7 support
to dissolve all your academic doubts. We are composed of 300+ esteemed Matlab and other experts who have been
empanelled after extensive research and quality check.
Matlabsolutions.com provides undivided attention to each Matlab
assignment order with a methodical approach to solution. Our network span is not restricted to US, UK and Australia rather extends to countries like Singapore, Canada and UAE. Our Matlab assignment help services
include Image Processing Assignments, Electrical Engineering Assignments, Matlab homework help, Matlab Research Paper help, Matlab Simulink help. Get your work
done at the best price in industry.