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
Posts: 38
Joined: 2010-12-14T03:56:10-07:00
Authentication code: 8675308

tshirt color change

Post by ratneshsoni » 2011-04-02T04:43:34-07:00

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
Posts: 8883
Joined: 2004-05-31T19:27:03-07:00
Authentication code: 8675308
Location: Brisbane, Australia

Re: tshirt color change

Post by anthony » 2011-04-02T06:28:13-07:00

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..

That came out of another discussion on the forum..
Anthony Thyssen -- Webmaster for ImageMagick Example Pages

Post Reply