A theoretical framework for quantum image representation and data loading scheme