필터 지우기
필터 지우기

How to split an image into two and save it to a file

조회 수: 1 (최근 30일)
Anas Alkahlout
Anas Alkahlout 2021년 9월 8일
답변: Matt J 2021년 9월 8일
Hello everyone: I have a project that I am working on and I am currently stuck at the point of dividing the image into two and saving them in a file. Note that I will apply the code to a group of images and I need to divide them into right and left and save them in the same file

답변 (1개)

Matt J
Matt J 2021년 9월 8일
left=Image(:,1:round(end/2));
right=Image(:,round(end/2)+1:end );
save File.mat left right

카테고리

Help CenterFile Exchange에서 Images에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by