2017-05-31 08:09:53 -0600 | received badge | ● Necromancer (source) |
2017-05-25 15:25:20 -0600 | received badge | ● Editor (source) |
2017-05-25 15:22:51 -0600 | answered a question | How haar like tilted features are represented in xml cascade? To reflect tilted haar features horizontally:
The (x,y) are the coordinates of the upper 'corner' of the rectangle (the shape actually includes two adjacent pixels on that row, and the x coordinate is that of the rightmost one). The 'width' is measured diagonally down from that point (increasing x and y) and the height is measured diagonally the other way (decreasing x, and increasing y) from (x-1,y). For instance, the min ''x" corner pixel included within a tilted feature rectangle is at (x-height, y+height-1) and the max x is (x+width-1, y + width-1). The total number of pixels included in a tilted rectangle is height * width*2 - since both sides are measured in diagonal pixel units ( sqrt(2) pixels). |