2019-09-03 23:34:22 -0600 | received badge | ● Enthusiast |
2015-09-03 01:16:55 -0600 | received badge | ● Nice Answer (source) |
2015-09-02 13:54:19 -0600 | received badge | ● Teacher (source) |
2015-09-02 00:34:53 -0600 | received badge | ● Student (source) |
2015-09-01 18:55:40 -0600 | asked a question | cvGetSubRect( ) taking an integer not rectangle I'm fixing some source code using old OpenCV, converting it to use the current cv::Mat and all the good things in 3.0. The deprecated CvMat is all over the place. I know what cvGetSubRect() does, and how to rewrite it using the overloaded operator () in cv::Mat. But the following has me stumped: What the heck does cvGetSubRect() taking an image and an integer do? Browsing the OpenCV documentation, and Googling, turned up nothing like this. This is from code which compiles and runs. |
2015-09-01 18:47:33 -0600 | answered a question | std::pow Problem If all you're doing is just squaring a variable, there's no need to haul in a fancy math function. I'd just replace std::pow(radius, 2) with radius*radius. This is done all the time in real-world code. The compiler will handle this faster, not having to look up "pow()". You may even be able to ditch use of <cmath> if there's no other math functions or constants in use, reducing dependencies |
2015-08-05 23:19:56 -0600 | commented question | Real-time Image Stitching This looks like a question relevant to something I'm researching today, but is it really? The links to your photobucket images are dead. Could you upload the images directly to your post? |
2015-03-04 11:34:13 -0600 | received badge | ● Supporter (source) |