|
|
How to implement a gray field within an image MATLAB |
|
Soabon |
Gast
|
|
Beiträge: ---
|
|
|
|
Anmeldedatum: ---
|
|
|
|
Wohnort: ---
|
|
|
|
Version: ---
|
|
|
|
|
|
Verfasst am: 25.03.2015, 14:44
Titel: How to implement a gray field within an image MATLAB
|
|
Hey everyone,
I am trying for a while to implement a gray patch: background
onto an image at central position
This is working BUT the picture is shown in blue NOT in grey as it is created. Is there anyone how understands why that is? Hoping for your input!
[EDITED, Jan, Please use the code environment - Thanks]
|
|
|
|
|
Jan S |
Moderator
|
|
Beiträge: 11.057
|
|
|
|
Anmeldedatum: 08.07.10
|
|
|
|
Wohnort: Heidelberg
|
|
|
|
Version: 2009a, 2016b
|
|
|
|
|
|
Verfasst am: 25.03.2015, 15:55
Titel: Re: How to implement a gray field within an image MATLAB
|
|
Hi Soabon,
Where do you think is specified that the color is grey?
You need a 3D-RGB array to define a color.
Kind regards, Jan
|
|
|
Soabon |
Gast
|
|
Beiträge: ---
|
|
|
|
Anmeldedatum: ---
|
|
|
|
Wohnort: ---
|
|
|
|
Version: ---
|
|
|
|
|
|
Verfasst am: 26.03.2015, 10:29
Titel: How to implement a gray field within an image MATLAB
|
|
Hi Jan!
It's a good thought to define background as a 3D RGB. Your command
has too many input arguments. What exactly is the formate of a 3D RGB?
Nevertheless, thank you!
I assumed that my background definition works well, this way it is gray (but not with imscale(background):
[EDITED, Jan, please use the code environment - thanks]
|
|
|
Soabon |
Gast
|
|
Beiträge: ---
|
|
|
|
Anmeldedatum: ---
|
|
|
|
Wohnort: ---
|
|
|
|
Version: ---
|
|
|
|
|
|
Verfasst am: 26.03.2015, 10:34
Titel:
|
|
This way it works! Thanks
[EDITED, Jan, please use the code environment - thanks]
|
|
|
|
|
Einstellungen und Berechtigungen
|
|
Du kannst Beiträge in dieses Forum schreiben. Du kannst auf Beiträge in diesem Forum antworten. Du kannst deine Beiträge in diesem Forum nicht bearbeiten. Du kannst deine Beiträge in diesem Forum nicht löschen. Du kannst an Umfragen in diesem Forum nicht mitmachen. Du kannst Dateien in diesem Forum posten Du kannst Dateien in diesem Forum herunterladen
|
|
Impressum
| Nutzungsbedingungen
| Datenschutz
| FAQ
| RSS
Hosted by:
Copyright © 2007 - 2025
goMatlab.de | Dies ist keine offizielle Website der Firma The Mathworks
MATLAB, Simulink, Stateflow, Handle Graphics, Real-Time Workshop, SimBiology, SimHydraulics, SimEvents, and xPC TargetBox are registered trademarks and The MathWorks, the L-shaped membrane logo, and Embedded MATLAB are trademarks of The MathWorks, Inc.
|
|