Forums > Jitter

cv.facedetect + exportimage + jit.tiffany

December 7, 2008 | 2:26 am

hello,

the effect i’m after is similar to a photo mosaic. but i’m interested in calculating the average rgb of a downsampled pixel from a qt object and replacing the pixel with an image. i’m generating images in a directory based on facedetect and attaching average rgb metadata to each image. i want to replace the pixels of a downsampled jit.grab with the closest image from the directory.

thanks in advance!
peter


December 7, 2008 | 6:37 am

i found [jit.eclipse] to be useful and is actually doing mostly what i need.

the issue now is creating a matrix of images from a directory based on the rgb value of each pixel from the qt.grab. i have the rgb metadata for each file, but the part where i’m stuck is perhaps at a [jit.op] operation to stitch together the images based on the live qt.grab.

cheers!


December 7, 2008 | 7:43 am

btw here is my patch for reference

– Pasted Max Patch, click to expand. –

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