Submatrixs and Masking

katherinemgr's icon

I'm unpacking a matrix and trying to change the alpha channel, like by substituting a different mask. I'm really having a hard time doing packing the new alpha channel into a new matrix. What's the deal? Any recommendations?

Also, I need help tracking and isolating a face from the jit.cv. face library and then putting it into a sub matrix so that it can be indepently manipulated before it gets repacked into the matrix. Do you think jit.change is good for this?

Christopher Dobrian's icon
Max Patch
Copy patch and select New From Clipboard in Max.

Here's an example patch. I'm also attaching an example mask file.

3555.mask.pict
pict
Christopher Dobrian's icon
Max Patch
Copy patch and select New From Clipboard in Max.

And here's a patch to calculate such a mask image.