Forums > Jitter

Submatrixs and Masking

March 16, 2012 | 6:54 pm

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?


March 17, 2012 | 12:58 am

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

– Pasted Max Patch, click to expand. –
Attachments:
  1. mask.pict

March 17, 2012 | 1:11 am

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

– Pasted Max Patch, click to expand. –

Viewing 3 posts - 1 through 3 (of 3 total)