AnsweredAssumed Answered

Doubt about values returned by read_imagef

Question asked by shreedhar_pawar on Mar 27, 2013
Latest reply on Apr 4, 2013 by himanshu.gautam

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...?

Outcomes