transformImageToList: Transforms the image in the object need it to run the analysis.
Description
transformImageToList transforms the image into a list with two variables, data and varOfInterest, which are the identificators needed to execute the rectification.