user2154328
user2154328

Reputation: 53

Matlab Divide Image

I have a single image which contains 3 images 1 underneath the other.

Is there a way I can divide the image into three equal parts?

Upvotes: 0

Views: 848

Answers (2)

Serg
Serg

Reputation: 14098

rgb = imread('ngc6543a.jpg');
r = rgb(:, :, 1);
g = rgb(:, :, 2);
b = rgb(:, :, 3);

Upvotes: 0

Zeeshan
Zeeshan

Reputation: 3024

you can use imcrop. reffer to this article: how to segment an image in matlab

and this on stackoverflow: how to divide an image in matlab

Upvotes: 1

Related Questions