how can i extract symbols in leftbottom and rightbottom panals to separate images
2 次查看(过去 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!