Definition at line 122 of file BasicTypes.h. References bottom, left, right, and top. 00123 { 00124 //in case of an even number of pixels width or height there is no 00125 //'middle pixel' so in that case a choice has to be made... we take 00126 //the pixel left and below the mathematical mid to be the middle pixel 00127 //because this works well with convolutions 00128 return Point((left+right+1)/2, (top+bottom+1)/2); 00129 }
|