15 Replies Latest reply on Apr 4, 2013 1:20 AM by himanshu.gautam

    Doubt about values returned by read_imagef

    shreedhar_pawar

      The values returned by read_imagef are in the range 0 to 1 whereas the pixel intensity range is from 0 to 255... i want to do further processing on the intensity values to do Image Segmentation which is based only on the intensity values (Operations carried out would be like finding difference between two intensity values, sorting, finding minimum, shuffling etc). How to get these values in the range 0 to 255 in an integer form(for convenience)...? Can I just multiply every value with 255 or is there something else I need to do...?