I have been developing an algorithm which reads and imports 2 different images (.jpg files) and undertakes calculations to output and write a third different image file.
At first when reading in the images I just used double() and then I started to using rgb2gray and finally it seemed to work when using im2double instead of just double.
Why do I need to use this code:
object = mmreader('train.mpg')
Is this even correct what I have finally used?? Please help!