Public Types | |
| typedef QThinning::structPointValue | PointValueT |
| typedef Qset< PointValueT > | QT |
| typedef PointValueT | Neighbors |
| typedef FcvArray< Neighbors > | VecNeighbors |
| enum | ActionT { queueAction, removeAction, writeAction, stopAction } |
Public Methods | |
| QThinning (HxTagList &tags, unsigned x, unsigned y) | |
| ~QThinning () | |
| bool | globalPixelInit (PointValueT &, ArithT &arith, ImgT img, MaskT) |
| bool | wantFreshStartLocalPixelInit () |
| bool | localPixelInit (PointValueT &vp, ArithT &arith, ImgT img, MaskT mask, bool &continueloop) |
| void | first (const PointValueT &val, ArithT arith, ImgT img, MaskT mask) |
| void | calculate (VecNeighbors &vecneighbors) |
| ActionT | result3 () |
| void | getItemToQueue (PointValueT &vp) |
| void | getItemToRemove (PointValueT &, PointValueT &) |
| bool | killThisOne (const PointValueT &) |
| void | getItemToWrite (PointT &point, ArithT &arith) |
| bool | wantAnotherLoop () |
Static Public Methods | |
| HxString | className () |
As they are not rotation invariant, the structuring elements of have to be rotated
This is defined only for binary images 1 - pixels = object 0 - pixels = background
1.2.12 written by Dimitri van Heesch,
© 1997-2001