#include"matrix.h"
#include"iostream.h"
voidmain(void)
{
grayimag A, G;
A.GetGray("D:\\grayimag_test\\原图\\击中击不中.bmp");
A.ViewImag();
int x,y,u,v;
G.GetGray("D:\\grayimag_test\\原图\\击中正方子图.bmp");
if(G.HitMiss01(A,x,y,u,v))
{
grayimag B=A;
B.Clip(x,y,u,v);
grayi