lower dim inside matrix

Omri Blau's icon

Hey guys,
Im trying to find a way to reduce dim in order to make pixels bigger and the picture blurry, but only on specific areas of the matrix. kind of like censoring a face or an object.
The goal is to find the area with a color tracker and to pixelate it.
Thanks :)

Rob Ramirez's icon

you can use jit.submatrix to output only the area of the matrix you want to pixelate (e.g. the face), then to place back into the original matrix use usedstdim 1 dstdimstart and dstdimend attributes. search the forum and the jitter tutorials for examples. post a patch showing what you've tried for more help.

Omri Blau's icon

It took a while but I did it!
I used usesrcdim - > reduced the dimensions - > put it back on a 320/240 matrix in the right position (same XY but with usedstdim - > and project both the new matrix with the original one
Thanks a lot!