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

1 Ansicht (letzte 30 Tage)
Anas Alkahlout
Anas Alkahlout am 8 Sep. 2021
Beantwortet: Matt J am 8 Sep. 2021
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

Antworten (1)

Matt J
Matt J am 8 Sep. 2021
left=Image(:,1:round(end/2));
right=Image(:,round(end/2)+1:end );
save File.mat left right

Kategorien

Mehr zu Images finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by