Skip to content

Implementing AVX512 support for 3 channel cv::integral for CV_64F - #13593

Merged
opencv-pushbot merged 1 commit into
opencv:3.4from
brad-kelly:integral_avx512_ver34
Jan 15, 2019
Merged

opencv-pushbot merged 1 commit into
opencv:3.4from
brad-kelly:integral_avx512_ver34

Conversation

@brad-kelly

@brad-kelly brad-kelly commented Jan 7, 2019 •

Copy link
Copy Markdown
Contributor

Merge with extra: opencv/opencv_extra#569

Resubmitting #13578 (failed because opencv_extras repo naming constraint on CI system)

Implementing AVX512 support using universal intrinsics for the cv::integral method when operating on 3 channel and the result is CV_64F.
Will be following up with other channels and types in later updates.

From opencv_perf_imgproc run results:

Name of Test perfdata no avx512 perfdata avx512 perfdata avx512 vs perfdata no avx512 (x-factor)
integral::Size_MatType_OutMatDepth::(127x61, 8UC3, CV_64F) 0.037 0.009 4.19
integral::Size_MatType_OutMatDepth::(640x480, 8UC3, CV_64F) 1.504 0.374 4.02
integral::Size_MatType_OutMatDepth::(1280x720, 8UC3, CV_64F) 4.710 1.449 3.25
integral::Size_MatType_OutMatDepth::(1920x1080, 8UC3, CV_64F) 10.981 4.030 2.73
buildworker:Custom=linux-5
force_builders=Custom
docker_image:Custom=ubuntu:18.04

Comment thread modules/imgproc/src/sumpixels.hpp Resolved
Comment thread modules/imgproc/src/sumpixels.hpp Outdated
void calculate_integral_avx512(
const uchar *src, size_t _srcstep,
double *sum, size_t _sumstep,
double *sqsum, size_t _sqsumstep,

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please remove unnecessary indentation.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done and pushed.

@opencv-pushbot
opencv-pushbot merged commit 0165ffa into opencv:3.4 Jan 15, 2019
@alalek alalek mentioned this pull request Jan 22, 2019
SavyaSanchi-Sharma pushed a commit to SavyaSanchi-Sharma/opencv that referenced this pull request Jul 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants