2020-12-30 22:12:25 -0600 | received badge | ● Famous Question (source) |
2018-10-16 02:30:40 -0600 | received badge | ● Notable Question (source) |
2017-11-02 12:02:17 -0600 | received badge | ● Nice Question (source) |
2017-08-30 02:29:33 -0600 | received badge | ● Popular Question (source) |
2015-06-08 06:53:18 -0600 | received badge | ● Enthusiast |
2015-06-07 01:15:18 -0600 | commented question | How to find largest axis aligned rectangle inside a contour @theodore It is good only for some usecases and not for all. Consider the case where an image has a black area in it's interior near one of the boundaries. In this case, the largest rectangle will be reduced unnecessarily. |
2015-06-05 23:59:42 -0600 | commented question | How to find largest axis aligned rectangle inside a contour @FooBar Thanks for the link. I updated the question. |
2015-06-05 16:31:16 -0600 | received badge | ● Student (source) |
2015-06-05 15:59:43 -0600 | received badge | ● Editor (source) |
2015-06-05 15:37:53 -0600 | asked a question | How to find largest axis aligned rectangle inside a contour Hello, I want to find largest axis aligned rectangle inside a contour? I've found the contour (findContours) and approximated it (approxPolyDP). Now I need to find biggest axis aligned rectangle that fits inside the contour's approximated polygon. UPDATE: The contour is approximately a rectangle. The problem I want to solve it to remove black areas around a stitched panoramic image. I tried: Approach #1 This approach fits my needs but I don't like the heuristic. Approach #2 This approach assumes that the image has no black areas to the top and to the left of the image which is not acceptable in my case. Any help will be appreciated. Thanks! |