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


    --
    08 Sep 2011 05:00 PM
    Hi Baslar, Are you sure you are comparing apples with apples?. For example, READ_JPEG has a keyword called TRUE: TRUE Use this keyword to specify the index of the dimension for color interleaving when reading a TrueColor image. The default is 1, for pixel interleaving, (3, m, n). A value of 2 indicates line interleaving (m, 3, n), and 3 indicates band interleaving, (m, n, 3). As you can see the color interleaving can be a difference. Cheers, fernando

    Deleted User



    New Member


    Posts:
    New Member


    --
    09 Sep 2011 01:42 AM
    Hi fernando now i understood that it is a different kind of comparing apples and apples problem. idl 0,0 is left bottom for matlab 0,0(matlab starts from 1 not zero also) is left top. Thanks for helping
    You are not authorized to post a reply.