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

1 visualización (últimos 30 días)
Maron El-Khouri
Maron El-Khouri el 29 de Jun. de 2020
Respondida: Image Analyst el 2 de Jul. de 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 comentarios
John D'Errico
John D'Errico el 29 de Jun. de 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 el 29 de Jun. de 2020
Editada: Maron El-Khouri el 1 de Jul. de 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!!

Iniciar sesión para comentar.

Respuestas (2)

darova
darova el 2 de Jul. de 2020
I think you are looking for griddata

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

Community Treasure Hunt

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

Start Hunting!

Translated by