separate regions of image in subplots

1 view (last 30 days)
lamis ke
lamis ke on 11 Jul 2020
Commented: Image Analyst on 11 Jul 2020

Answers (1)

Image Analyst
Image Analyst on 11 Jul 2020
Before that line, put this and see what it puts out to the command window:
whos P
[rows, columns, numberOfColorChannels] = size(P)
It looks like it thinks your P is not an RGB image. What is it? pso() is not a built-in function so I don't know what it returns. What does pso() return as the first argument?
  5 Comments
lamis ke
lamis ke on 11 Jul 2020
Edited: lamis ke on 11 Jul 2020
i want show this result c d e f
Image Analyst
Image Analyst on 11 Jul 2020
OK, so go ahead (no question was asked - just an announcement). Write code to create those images, and call subplot(2, 3, n) and display the proper image in the proper location.

Sign in to comment.

Products


Release

R2019b

Community Treasure Hunt

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

Start Hunting!