separate regions of image in subplots

3 次查看(过去 30 天)

回答(1 个)

Image Analyst
Image Analyst 2020-7-11
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 个评论
lamis ke
lamis ke 2020-7-11
编辑:lamis ke 2020-7-11
i want show this result c d e f
Image Analyst
Image Analyst 2020-7-11
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.

请先登录,再进行评论。

产品


版本

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by