Concatenate Images different kind

2 views (last 30 days)
Nhat Tran
Nhat Tran on 11 Sep 2019
Commented: Walter Roberson on 11 Sep 2019
I have 3 images.
1.RGB image 360x640
2.S image( splited from HSV of RGB)360x640
3.V image( splited from HSV of RGB)360x640
How can I concatenate 3 images to 1 images 360x1920? Thanks
  1 Comment
Walter Roberson
Walter Roberson on 11 Sep 2019
Your RGB image is not 360 x 640: it is 360 x 640 x 3.
Your S and your V images are 360 x 640, not 360 x 640 x 3.
If you want to put all three together into a single image, it would end up 360 x 1920 x 3
Do you want the S and V components to show up as grayscale?
[RGB, S(:,:,[1 1 1]), V(:,:,[1 1 1])]

Sign in to comment.

Answers (0)

Community Treasure Hunt

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

Start Hunting!