Non-linear Data-driven Transforms for Visual Data Compression