Adding function to transform frame stack data.