how can i extract symbols in leftbottom and rightbottom panals to separate images
조회 수: 3 (최근 30일)
이전 댓글 표시
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/848605/image.jpeg)
댓글 수: 2
Image Analyst
2021년 12월 31일
편집: Image Analyst
2021년 12월 31일
Same as your earlier post which I already answered (and it's attached again here). Benjamin is using fixed coordinates like I asked you about (but you didn't answer). In your original/earlier post I have posted an answer that doesn't depend on knowing the rows and columns of the 3 panels because it finds them automatically.
답변 (1개)
Voss
2021년 12월 31일
im = imread('image.jpeg');
im_top = im(1:30,:,:);
im_bottom_left = im(31:end,1:69,:);
im_bottom_right = im(31:end,70:end,:);
imwrite(im_top,'image_top.jpeg');
imwrite(im_bottom_left,'image_bottom_left.jpeg');
imwrite(im_bottom_right,'image_bottom_right.jpeg');
figure();
subplot(2,2,1);
imshow(im);
subplot(2,2,2);
imshow(imread('image_top.jpeg'));
subplot(2,2,3);
imshow(imread('image_bottom_left.jpeg'));
subplot(2,2,4);
imshow(imread('image_bottom_right.jpeg'));
댓글 수: 4
Voss
2021년 12월 31일
I think you'll most likely need to use some image processing techniques like Image Analyst uses in his answer over there. I'm not really familiar with those techniques, sorry.
참고 항목
카테고리
Help Center 및 File Exchange에서 Convert Image Type에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!