the third parameters of cv::pyrup contains "destination size" :
void cv::pyrup( inputarray _src, outputarray _dst, const size& _dsz, int bordertype ) unfortunately, cuda version not contain parameter :
void cv::cuda::pyrup(inputarray _src, outputarray _dst, stream& stream) this parameter important creating image pyramids non-power of 2 image sizes. example, if "pyramid down" (via pyrdown) 90x90 image following sizes:
90x90 45x45 23x23 12x12 6x6 3x3 2x2 it necessary specify size on pyrup odd sizes. how folks using pyrup odd size under cuda?
Comments
Post a Comment