Definition at line 130 of file BasicTypes.h. References bottom, left, right, and top. 00131 { 00132 //in case of an even number of pixels width or height there is no 00133 //'middle pixel' so in that case a choice has to be made... we take 00134 //the pixel left and below the mathematical mid to be the middle pixel 00135 //because this works well with convolutions 00136 return Point((left+right+1)/2, (top+bottom+1)/2); 00137 }
|