From: Ilan Alpert on 25 Feb 2010 00:01 I have a matrix that in gray scale goes from 0 to 255 to represent an equation. The image is found here: http://drop.io/sqr5ooo What I need to do is instead of making it a full range from 0 to 255 like in the image, I need to make all values between 0 and 63 63, 64 to 127 to 127, 128 to 191 to 191 and 192 to 255 to 255. This will create 4 distinct circles instead of a 0 to 255 gradient. Thanks for the help. Ilan
From: Bruno Luong on 25 Feb 2010 03:07 "Ilan Alpert" <cooldaddysa(a)yahoo.com> wrote in message <hm507d$6gj$1(a)fred.mathworks.com>... > I have a matrix that in gray scale goes from 0 to 255 to represent an equation. The image is found here: http://drop.io/sqr5ooo > What I need to do is instead of making it a full range from 0 to 255 like in the image, I need to make all values between 0 and 63 63, 64 to 127 to 127, 128 to 191 to 191 and 192 to 255 to 255. This will create 4 distinct circles instead of a 0 to 255 gradient. > Thanks for the help. > Ilan [trash img]=histc(img,[0 64 128 256]); Bruno
|
Pages: 1 Prev: Maximum Likelihood Classification for Next: Noise variance |