i just want to count the neighbourhood of it->col_pos value and count them.how can i do it???i know its very easy stuff for u.but help me.............
count=0;
for(UList::const_iterator it=l.begin(),;it!=l.end();it++)
{
if(it->col_pos==(it++)->col_pos)count++;
else if(count>=10){
t=((it->col_pos-count)+it->col_pos)/2;
for(k=it->row_pos_start;k<it->row_pos_end;k++)
img->imageData[k*step1+t]=0;
count=0;
}
}
[Non-text portions of this message have been removed]
