Added photo filters based on color curve map.
Try to fix "out of memory"