L
logpie
Unregistered / Unconfirmed
GUEST, unregistred user!
for y:=0 to image2.Height do
begin
x:=0;
repeat
x:=x+1 ;
r1:= getpixel(image1.Picture.Bitmap.Canvas.Handle,x,y);
r2:= getpixel(image2.Picture.Bitmap.Canvas.Handle,x,y);
if r1 and r2 <> 0 then
memo1.Lines.Add(inttostr(x)+','+inttostr);
until x>image2.Width ;
end;
end;
image1和image2图象一样
但为什么memo1显示所有点象素值都不一样?
begin
x:=0;
repeat
x:=x+1 ;
r1:= getpixel(image1.Picture.Bitmap.Canvas.Handle,x,y);
r2:= getpixel(image2.Picture.Bitmap.Canvas.Handle,x,y);
if r1 and r2 <> 0 then
memo1.Lines.Add(inttostr(x)+','+inttostr);
until x>image2.Width ;
end;
end;
image1和image2图象一样
但为什么memo1显示所有点象素值都不一样?