convert RGB to YIQ and HSV values without function rgb2ntsc and rgb2hsv ([30,80,30]) search with matlab coding

4 visualizaciones (últimos 30 días)
convert RGB to YIQ and HSV values without function
rgb2ntsc and rgb2hsv ([30,80,30]) search with matlab coding

Respuestas (1)

DGM
DGM el 8 de En. de 2024
Editada: DGM el 8 de En. de 2024
First off, you're asking for something you can't get.
... because you're not asking for what you actually need. If you have a legitimate technical reason that rgb2ntsc() or rgb2hsv() can't work, then you haven't told anyone what it is. Consequently, nobody can give you anything that satisfies those strange requirements.
In all likelihood, you're asking because it's your homework, and if that's the case, then you should know well enough that not only is it your obligation to do the work, it's also your obligation at least make some effort when asking for help. I don't just mean that you apparently haven't bothered to look for existing material.
I mean that as before, you haven't actually said what you need. I'm sure your instructor didn't just say "come up with any way to represent RGB information and then turn it into HSV using any assumed conventions you want" If I gave you a version I wrote, it's a good chance that it wouldn't produce HSV in a numeric representation that your instructor wanted, because I'd have to guess what you were told to do. Certainly, if I gave you a conversion tool that handled this input, it would be wrong.
rgb2hsv([30,80,30]) % this isn't a valid input
... or is this example the actual reason you can't use rgb2hsv() and rgb2ntsc()?

Categorías

Más información sobre Structures en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by