I have one gray selfie picture. I need to put a black square on my eyes, white square on the place where is mustache, white cube on place where is the chin and also on another picture I need two white circle (like glasses) at the place where are the eyes.

 Réponse acceptée

Stephen23
Stephen23 le 16 Sep 2014
Modifié(e) : Stephen23 le 16 Sep 2014

0 votes

Yes, you can do this in MATLAB! You should read about manipulating images . The Help pages include lots of examples, so you should be able to start working by copying and changing those.
And keep in mind that once imported, the image is just an array of numeric data, so you can locate and change any color values that you want to.
Once you start writing your own code, and something does not work as expected, come back and write a question giving the specific problem that you encountered.

Plus de réponses (0)

Catégories

En savoir plus sur Convert Image Type dans Centre d'aide et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by