MATLAB Answers

By tonight I'd like to create an image from RGB data in a file

4 views (last 30 days)
Maron El-Khouri
Maron El-Khouri on 29 Jun 2020
Answered: Image Analyst on 2 Jul 2020
I'm trying to use the RGB data in the attached text file to create an image. In full disclosure, this is for a challenge for a seminar happening this evening. I looked at tutorials/ info here and here but am quite lost. Thanks for any advice!
Also - you'll see that the RGB data is in three columns. The image is to be 315x560 pixels.

  6 Comments

Show 3 older comments
madhan ravi
madhan ravi on 29 Jun 2020
If you read my comment once again it will be clear that I wasn’t judging you in anyway! All I wanted was to make you clear of what issues are happening recently.
And Ofcourse you have a good point of locking the initial post which cannot be subject to any changes.
John D'Errico
John D'Errico on 29 Jun 2020
What motives? Your motives are you want someone to solve your problem, so you can answer the challenge.
Maron El-Khouri
Maron El-Khouri on 29 Jun 2020
Madhan, you clearly accused accused me preemptively.
John - I want to solve the problem. I just wanted some advice on how to accomplish this with MATLAB! Gee whiz, you guys are a bunch of jerks! Good luck, MATLAB community, I'm out. Hope your goal is to turn new users away, because that's exactly what you're doing!!

Sign in to comment.

Answers (2)


Image Analyst
Image Analyst on 2 Jul 2020
See my attached demo for scatteredInterpolant(). You could also change it to use griddedInterpolant().

  0 Comments

Sign in to comment.


Translated by