tshirt color change

Questions and postings pertaining to the development of ImageMagick, feature enhancements, and ImageMagick internals. ImageMagick source code and algorithms are discussed here. Usage questions which are too arcane for the normal user list should also be posted here.
Post Reply
ratneshsoni
Posts: 38
Joined: 2010-12-14T03:56:10-07:00
Authentication code: 8675308

tshirt color change

Post by ratneshsoni »

with this post i send video link. In this there is two color tshirt and i changing the color of the tshirt. Is this is possible using image magick.
http://www.screencast.com/users/Ratnesh ... 07f3976e8e
User avatar
anthony
Posts: 8883
Joined: 2004-05-31T19:27:03-07:00
Authentication code: 8675308
Location: Brisbane, Australia

Re: tshirt color change

Post by anthony »

Yes simply by generating a separate mask for each area of the t-shirt, and the doing appropriate color adjustments.

It is generating the right mask that is the trick, and jenerally done with some image processing and then a little hand correction.

For an example (without hand correction of the mask) see..
http://www.imagemagick.org/Usage/photos/#chroma_key

That came out of another discussion on the forum..
viewtopic.php?t=18094
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
Post Reply