On 5 apr, 08:13, Magic.Z...@[EMAIL PROTECTED]
wrote:
> OK, I get that, seem I always some details in programming. thank you!
But you better use the WHERE function for problems like these:
locs = WHERE((Seg_Grey_Image LE 255) AND (Seg_Grey_Image GE 240))
Seg_Grey_Image[locs]=255
Do not forget to also look at the minimum and maximum operator < and
>, or the memory efficient variants <= and >= . They might give you
more ideas to solve your problems.
Cheers,
-Armand


|