M***@gmail.com
2008-04-04 12:08:00 UTC
i just code a for function
for i=0, ArraySize do begin
if (Seg_Grey_Image[i] le 255) and (Seg_Grey_Image[i] ge 240) then
begin
Seg_Grey_Image[i]=255
endif
endfor
however, the error is :Loop limit expression too large for loop
variable type.
it seems this 'ArraySize' is too big. how can I deal with this
problem?
Thank you!
for i=0, ArraySize do begin
if (Seg_Grey_Image[i] le 255) and (Seg_Grey_Image[i] ge 240) then
begin
Seg_Grey_Image[i]=255
endif
endfor
however, the error is :Loop limit expression too large for loop
variable type.
it seems this 'ArraySize' is too big. how can I deal with this
problem?
Thank you!