Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

DC component sqrt is missing in magSpectrums() called in phaseCorrelate(). #20100

Closed
@yo1990

Description

@yo1990

In this source code/modules/imgproc/src/phasecorr.cpp,
I think std::sqrt should be applied to the below lines.

heredataDst[0] = dataSrc[0]*dataSrc[0];
heredataDst[(rows-1)*stepDst] = dataSrc[(rows-1)*stepSrc]*dataSrc[(rows-1)*stepSrc];
heredataDst[0] = dataSrc[0]*dataSrc[0];
heredataDst[j1] = dataSrc[j1]*dataSrc[j1];
heredataDst[0] = dataSrc[0]*dataSrc[0];
heredataDst[(rows-1)*stepDst] = dataSrc[(rows-1)*stepSrc]*dataSrc[(rows-1)*stepSrc];
heredataDst[0] = dataSrc[0]*dataSrc[0];
heredataDst[j1] = dataSrc[j1]*dataSrc[j1];

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


      [8]ページ先頭

      ©2009-2025 Movatter.jp