Tesi Robotica Algoritmi ed architetture per la risoluzione di... | Page 87
87
84
89
94
99
104
109
114
119
while(1)
{
homogeneous:
{
x++;
if(x>xsizeB)
break;
else
{
register const unsigned char* const p = im + y*width + x;
register const int cb = *p + b;
register const int c_b = *p - b;
if(p[offset0] > cb)
if(p[offset2] > cb)
if(p[offset3] > cb)
if(p[offset5] > cb)
if(p[offset1] > cb)
if(p[offset4] > cb)
goto success_structured;
else
if(p[offset7] > cb)
goto success_structured;
else
goto homogeneous;
else
if(p[offset4] > cb)
if(p[offset6] > cb)
goto success_structured;
else
goto homogeneous;
else
goto homogeneous;
else
if(p[offset1] > cb)
if(p[offset4] > cb)
goto success_homogeneous;
else
if(p[offset7] > cb)
goto success_homogeneous;
else
goto homogeneous;
else