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

New odometry Pipeline#3055

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
alalek merged 19 commits intoopencv:5.xfromDumDereDum:new_odometry
Dec 2, 2021
Merged

New odometry Pipeline#3055

alalek merged 19 commits intoopencv:5.xfromDumDereDum:new_odometry
Dec 2, 2021

Conversation

@DumDereDum
Copy link
Member

@DumDereDumDumDereDum commentedOct 6, 2021
edited by alalek
Loading

Pull Request Readiness Checklist

See details athttps://github.com/opencv/opencv/wiki/How_to_contribute#making-a-good-pull-request

  • I agree to contribute to the project under Apache 2 License.
  • To the best of my knowledge, the proposed patch is not based on a code under GPL or other license that is incompatible with OpenCV
  • The PR is proposed to proper branch
  • There is reference to original bug report and related work
  • There is accuracy test, performance test and test data in opencv_extra repository, if applicable
    Patch to opencv_extra has the same branch name.
  • The feature is well documented and sample code can be built with the project CMake
force_builders_only=linux,docs

@asmorkalovasmorkalov added this to the5.0 milestoneOct 13, 2021
Copy link
Contributor

@savuorsavuor left a comment

Choose a reason for hiding this comment

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

Changes I mentioned + what was the problem inwechat_qrcode module?

UMat cvt8;
float depthFactor = params->depthFactor;
convertScaleAbs(frame, cvt8,0.25*256. / depthFactor);
//convertScaleAbs(frame, cvt8, 16. / depthFactor);
Copy link
Contributor

Choose a reason for hiding this comment

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

Commented code

DumDereDum reacted with thumbs up emoji
ds->updateParams(*params);

cv::setUseOptimized(true);
cv::setUseOptimized(false);
Copy link
Contributor

Choose a reason for hiding this comment

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

This will be enabled as soon as OCL implementation works, right?

Copy link
MemberAuthor

Choose a reason for hiding this comment

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

yes

icp =FastICPOdometry::create(Mat(params.intr), params.icpDistThresh, params.icpAngleThresh,
params.bilateral_sigma_depth, params.bilateral_sigma_spatial, params.bilateral_kernel_size,
params.icpIterations, params.depthFactor, params.truncateThreshold);
OdometrySettings ods;
Copy link
Contributor

Choose a reason for hiding this comment

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

What about other settings passed inFastICP constructor? Are they already set by default?

Copy link
MemberAuthor

Choose a reason for hiding this comment

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

yes


if(frameCounter ==0)
{
icp.prepareFrames(newFrame, newFrame);
Copy link
Contributor

Choose a reason for hiding this comment

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

Please use 1-argument call instead

DumDereDum reacted with thumbs up emoji
Copy link
Contributor

Choose a reason for hiding this comment

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

(here and in other places too)

DumDereDum reacted with thumbs up emoji
// use depth instead of distance
volume->integrate(depth, rgb, params.depthFactor, pose, params.intr, params.rgb_intr);
newFrame->setPyramidAt(rgb, OdometryFrame::PYR_IMAGE,0);
newFrame.setPyramidLevel(params.icpIterations.size(), OdometryFramePyramidType::PYR_IMAGE);
Copy link
Contributor

Choose a reason for hiding this comment

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

I guesssetPyramidLevel is called because all pyramid vectors are empty by default.
I left a comment in main repo's PR on that.


prevFrame = icp.createOdometryFrame();
newFrame.setImage(rgb);
prevFrame.setDepth(depth);
Copy link
Contributor

Choose a reason for hiding this comment

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

Why not to doprevFrame = newFrame?

DumDereDum reacted with thumbs up emoji
Copy link
Contributor

Choose a reason for hiding this comment

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

Oh, looks like colored KinFu code differs from other KinFu pipelines, this should have its reason or be aligned to them.

DumDereDum reacted with thumbs up emoji
@alalekalalek merged commit5ab9997 intoopencv:5.xDec 2, 2021
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@savuorsavuorsavuor approved these changes

Assignees

@savuorsavuor

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

5 participants

@DumDereDum@savuor@asmorkalov@alalek@Channingss

[8]ページ先頭

©2009-2025 Movatter.jp