Commit 45998ba0603fde14d1abc54e39f5c5885eb083d6
1 parent
5865a6c1
InterestRegionTransform already existed as ROITransform
Showing
1 changed file
with
0 additions
and
19 deletions
openbr/plugins/regions.cpp
| @@ -58,25 +58,6 @@ BR_REGISTER(Transform, RectRegionsTransform) | @@ -58,25 +58,6 @@ BR_REGISTER(Transform, RectRegionsTransform) | ||
| 58 | 58 | ||
| 59 | /*! | 59 | /*! |
| 60 | * \ingroup transforms | 60 | * \ingroup transforms |
| 61 | - * \brief Subdivide matrix into rectangular subregions based on interest points. | ||
| 62 | - * \author Austin Blanton \cite imaus10 | ||
| 63 | - */ | ||
| 64 | -class InterestRegionsTransform : public UntrainableTransform | ||
| 65 | -{ | ||
| 66 | - Q_OBJECT | ||
| 67 | - | ||
| 68 | - void project(const Template &src, Template &dst) const | ||
| 69 | - { | ||
| 70 | - const Mat &m = src; | ||
| 71 | - foreach (const Rect &rect, OpenCVUtils::toRects(src.file.rects())) | ||
| 72 | - dst += m(rect); | ||
| 73 | - } | ||
| 74 | -}; | ||
| 75 | - | ||
| 76 | -BR_REGISTER(Transform, InterestRegionsTransform) | ||
| 77 | - | ||
| 78 | -/*! | ||
| 79 | - * \ingroup transforms | ||
| 80 | * \brief Turns each row into its own matrix. | 61 | * \brief Turns each row into its own matrix. |
| 81 | * \author Josh Klontz \cite jklontz | 62 | * \author Josh Klontz \cite jklontz |
| 82 | */ | 63 | */ |