I'm working on a native android application targeting arm v7 devices. I'm using cv::initUndistortRectifyMap with an output map type of CV_16SC2 to create my lookup tables, and cv::remap with cv::INTER_NEAREST and cv::BORDER_CONSTANT to undistort the images. It's currently the slowest part of my application, where cv::remap has an average execution time of 37.6 milliseconds for 960x720 resolution images.
Is anyone aware of a faster method of undistorting images? I looked around the opencv source for a NEON optimized version of remap, but wasn't able to find anything.