graphs for image pixels

1 view (last 30 days)
mohammed abdul wadood
mohammed abdul wadood on 6 Mar 2018
hi, if i have no. of images and i want to display the relationship between them by plots, i wrote code for this task, is this code right for this task?
clc close all clear all
x=imread('10.bmp'); y=imread('20.bmp'); z=imread('30.bmp'); x=x(:); y=y(:); z=z(:); plot3(x,y,z)
if the code right how can i use it with 6 image, and if it's wrong, what is the right code for this task. thank you.
  4 Comments
Pawel Jastrzebski
Pawel Jastrzebski on 7 Mar 2018
Again, probably not the answer you're looking for but:
  • It's up to you to decide whether this method is useful for you or not - you haven't provided any information about your work so how the community can decide whether what you're doing is right or wrong?
  • So maybe start by providing more information about: what is your task? What does it aim to achieve?
  • Also you mentioned that you want to 'display relationship between pictures' - this is a very broad term, you really need to be more specific than that - otherwise no-one will be able to help you.
mohammed abdul wadood
mohammed abdul wadood on 7 Mar 2018
Actually you help me a lot by your Points highlighted above so thank you sir, I was thinking about if I use the plot or meshgrid or surface or ... etc. I will discover whether the pixels are linear or non-linear data.

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!