X
PrevPrev Go to previous topic
NextNext Go to next topic
Last Post 08 Sep 2011 02:13 AM by  anon
read_jpeg and imread difference
 2 Replies
Sort:
You are not authorized to post a reply.
Author Messages

anon



New Member


Posts:
New Member


--
08 Sep 2011 02:13 AM
    i am reading same images with imread (matlab) and read_jpeg .When i compare R G B pixel values they are different. What can be reason for that. Thanks in advance

    Deleted User



    New Member


    Posts:
    New Member


    --
    15 Sep 2011 09:38 AM
    My guess would be the IDL file is upside down in the Y direction, but it would be hard to say without knowing how you are comparing the RGB values. If you reverse the IDL image in Y (image = reverse(image,2)) does that help the comparison? IDL is the only software in the world (AFAIK) that thinks the (0,0) pixel is in the lower-left corner. Everyone else believes it is in the upper-left corner.

    Deleted User



    New Member


    Posts:
    New Member


    --
    15 Sep 2011 02:02 PM
    Hi David, Yes, I think that's the case. Also, he has tried already that, if I understood correctly, on a previous post (this post was a duplicate from another one, see a few post below). Thanks!, Fernando
    You are not authorized to post a reply.