implemented HSV wrap-around and saving dynamic params and the jpgs at each frame on ramdisk at /dev/shm