I’ve been trying to calculate the average color of a video frame and fill the frame with that color, for example if i have a blue sky with white clouds i would like the frame to be light blue.
photoshop has this under filters/blur/average, but processing a lot of frames with photoshop is going to be too much of a task for me.
Look at jit.3m for finding the average for each plane. Then send the message setcell or setall and the rgb values to a jitter matrix.
hi and thanks for the reply,
this might sound frustrating, but i don’t really know how to do that. I just got the program.
I managed to open an play a video in the jit.3m and i suppose the average value is calculated where the text ‘mean’ is. I just don’t have a clue where to find setcell or setail to send the message to jitter matrix, which i thought the jit.3m was on already.
Here is a patch.
To get to know Max, you will have to go the good old way. Tutorials (Max & Jitter), slowly, gently.
Help files, without moderation (the more advanced a user you are, the more you are using the help files and documentation).
----------begin_max5_patcher---------- 833.3ocyX1saaBCEG+5jmBKztXSJMBa9HIS6hsmi0pJW3zD2A1TvIMaU8ce9 Cnk1zjfSgndCV1Xr+e94iOGadb7HuaDagJOz2Q+FMZziiGMxzjtgQ00G4kS2 ljQqLcyKQjmCbo2D66jvVoo8ebAZIaCfjq.TFqRNAA2ulsglo5LRJP4PUEcI ftzqBjzrrK8ZFhLFGRDq4lwgT23sBtrh8OP2FlL0utYVpYxD2b2E3EMCPQIT olEpjI3WWBIRq8DrXl56P3495hlGnqp+J95bFOCjFyB+Rih0xlVal0BpLYEi u7UCdrcvCMEyLEAgsFesEvo4FKv6WkLZlm9EOMdr9wjONt+C.En6VWIMLmwk vRnDUPKet2c.hy6HDiwCHDi8aAQh+4Dh4.kiTdoqgJzWCQEYTNT8MG.3LudE EA1hH+ABEb3Akr2gDafsEknuvvneVkPynk4hT.gcfCgNvA794.gLusKQ37c3 fcbj+s.regmWOin6XxoEOv3ohG710PiNxFFRrMTPvIuggre5LiXwggJ13ZwG lMSL7o2ofKq1jitZWaPMK5jAxjpSAsiyeIPScvS2ew6Z7Dmc0mar5nXq+hMc x4zQee7nRJJbfGX+9gGAQs4A9yDObKmJF2S.gD1BHjyOPtMSnDqKVN4DhKHK Y5bNlw0e5hCrgoNzpgDuSFxc3gR+ToNdwMT9xCBm52nzLKWYwFkDcBDSJVtL C7dOzDzSIHwsbGHc.BL8Aqup+Npv84frTfB7cwuHrmBYZMd6Nh33ia7Gcgu+ 3hNg48xo4hMLPs73iHgNgn3dJkpEQXe6ESr4UNLjTJ+5bpZa315bqmKbYmTT HJYEszclEzqGBo4pbAK9DSr.GhF6Rr3vi6PYuYRbGh3XXxjmOoVmXioaleEv a9aDFEoa+0.qRrtLoYBat.B5EQkBURF2b37VcJ3U8YEKME3suXVNKsPnBXVq g8D1rqRRs.fvGQQuQ1CsjB5.jNuJxD36nZJxMMQHQSiz9rXcwb7yUNKhkblA HoCZxjBtk23vqpvNop3SZgcgMJzKU9vpEODpMPk8U6+MqkZ0U9vp0ePTa7rA Qs56KO.dBKFF0hC57toScOtpxSi+OjGbmwC -----------end_max5_patcher-----------
the patch doesn’t seem to work, does it make a difference if i have a mac? i’ve copied the patch you sent to the build collective window, but when i try to build it says error line.
and many thanks
Building collective window is for building standalone applications and collections of patches, that might be distributed to other people, so they can use but not edit your finished project.
To open the posted patch, highlight the text and copy it to your computer’s clipboard. (Edit>copy) In max, under the "file" tab, choose new from clipboard.
The answers to these kinds of questions can be found under the help tab, under the general heading of "max help."
thanks again, i am one more step ahead.
patch opened and i could play a film, but unfortunately the final window is black. It plays the video, shows it before it goes to the jit.3m, but in the window after that it is just blank (black).
Forums > Jitter