Submatrixs and Masking

Mar 16, 2012 at 6:54pm

Submatrixs and Masking

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?

#62422
Mar 17, 2012 at 12:58am

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

– Pasted Max Patch, click to expand. –
Attachments:
  1. mask.pict
#225477
Mar 17, 2012 at 1:11am

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

– Pasted Max Patch, click to expand. –
#225478

You must be logged in to reply to this topic.