[00:30:31] <wiredfool> sure thing. I'm here all week
[02:20:33] <basichash> Does pillow have edge-detection functionality? I'm trying to change the color of a T-Shirt (image), leaving surroundings the same
[03:50:09] <basichash> wiredfool: as in a base image?
[03:50:49] <wiredfool> no, I guess that's what you're looking for
[03:53:34] <basichash> but because it's the same image, I could reduce the search plane to a rectangle around the shirt, then from there I could search for all pixels in range(darker shade of white, lighter shade of white) and once I've got those values, I should easily be able to change shading etc
[03:53:50] <wiredfool> If you can get the mask, a grayscale image which defines shirt vs not shirt, you should be able to manipulate just those pixels.
[03:54:12] <basichash> wiredfool: ah ok I see what you mean
[03:54:18] <wiredfool> the mask might be really easy to get in one of the color channels, cmyk or lab
[03:54:42] <wiredfool> but that's the sort of thing that I tend to do in PS, since it's so much easier to visualize
[03:55:31] <wiredfool> no. but if you've got one shirt mask, you can apply the colors repeatedly
[03:56:05] <wiredfool> what's the current tshirt/bg/design colors?
[03:56:27] <basichash> wiredfool: yeah that's true. So all i'd need is the original image and the mask image, and from there I could use PIL to do the rest?