René's URL Explorer Experiment


Title: homography() results depend on order of points · Issue #1264 · arrayfire/arrayfire · GitHub

Open Graph Title: homography() results depend on order of points · Issue #1264 · arrayfire/arrayfire

X Title: homography() results depend on order of points · Issue #1264 · arrayfire/arrayfire

Description: Below is my post from the Google groups page with details on this issue. It seems that the results of the homography() function depend on the order of the X and Y features passed in. This should not be the case. -Eric I'm trying to use h...

Open Graph Description: Below is my post from the Google groups page with details on this issue. It seems that the results of the homography() function depend on the order of the X and Y features passed in. This should no...

X Description: Below is my post from the Google groups page with details on this issue. It seems that the results of the homography() function depend on the order of the X and Y features passed in. This should no...

Opengraph URL: https://github.com/arrayfire/arrayfire/issues/1264

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"homography() results depend on order of points","articleBody":"Below is my post from the Google groups page with details on this issue.  It seems that the results of the homography() function depend on the order of the X and Y features passed in.  This should not be the case.\n\n-Eric\n\nI'm trying to use harris() and homography() to do image registration.  I start with an array called imgBase which is a 150x150 array of floats on the range [0,255].  I can plot this in ArrayFire and it looks correct (assuming I normalize it to the range [0,1]).  The image is a portion of a satellite image (part of Matlab's westconcordaerial.png) and has some nice corner features from buildings, roads, etc.\n\nTo try to understand what is going on, I've done the following:\n\naf::features featuresBase = af::harris(imgBase);\naf::features featuresReg = af::harris(imgBase);\naf::homography(H_ctr, inliers, featuresReg.getX(), featuresReg.getY(), featuresBase.getX(), featuresBase.getY(), AF_HOMOGRAPHY_RANSAC, 5.0f, 1000, f32);\n\nThe featuresBase and featuresReg objects each contain 434 features.  These features are identical except that they are ordered differently.  I do not know why they would be ordered differently as they are passed the same image.  I've checked this property of the features by exporting them to Matlab.  When plotted on a 2D plot they overlay exactly.  However, element-wise differences in X or Y coordinates are not identically zero and I can visually inspect that the vectors are not equal.\n\nThe homography() call then reports only 10 inliers.  It returns the homography\n\n```\n0.1973    0.0222    0.0010\n```\n\n   -0.0693   -0.0947    0.0009\n  -20.4484   -5.5688   -0.3293\n\nwhich makes little sense.  Does the ordering of the X, Y points affect the RANSAC result?  It seems like it should not.\n\nIf I change the homography() function call to:\n\naf::homography(H_ctr, inliers, featuresBase.getX(), featuresBase.getY(), featuresBase.getX(), featuresBase.getY(), AF_HOMOGRAPHY_RANSAC, 5.0f, 1000, f32);\n\nthe function behaves as expected.  It returns 434 inliers and a homography array of\n\n```\n0.1970   -0.0000   -0.0000\n0.0000    0.1970    0.0000\n```\n\n   -0.0000   -0.0000    0.1970\n\nI expected this to be the 3x3 identity matrix, but I assume I should normalize by the lower-right-most element.\n","author":{"url":"https://github.com/shie0041","@type":"Person","name":"shie0041"},"datePublished":"2016-02-04T18:16:45.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":4},"url":"https://github.com/1264/arrayfire/issues/1264"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:22e159cf-9aba-54ab-ae23-a4d5c20b2c6b
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idC54A:DC558:EB9E43:13A7F31:6969A078
html-safe-nonce61470e2721f29f572bc031c7df84706b62f50c9fd1359b482ba9f544c08213cf
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDNTRBOkRDNTU4OkVCOUU0MzoxM0E3RjMxOjY5NjlBMDc4IiwidmlzaXRvcl9pZCI6IjI3MTEyMzMzMjE4MDUzODk5NDQiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac2ce9ad1860c2f7d45def745e6776de23a58b04f625444bd7909b0b1540485307
hovercard-subject-tagissue:131430549
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/arrayfire/arrayfire/1264/issue_layout
twitter:imagehttps://opengraph.githubassets.com/6cbafc6f77362bcfa76c4437d36a3b6ee04734f036be9bb1ad6cd1969cd4ad56/arrayfire/arrayfire/issues/1264
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/6cbafc6f77362bcfa76c4437d36a3b6ee04734f036be9bb1ad6cd1969cd4ad56/arrayfire/arrayfire/issues/1264
og:image:altBelow is my post from the Google groups page with details on this issue. It seems that the results of the homography() function depend on the order of the X and Y features passed in. This should no...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameshie0041
hostnamegithub.com
expected-hostnamegithub.com
None24c4c97a2d520cb286b35e1a4c22d7a4df3c26a2fa28dd7cdf0e65db327b4de7
turbo-cache-controlno-preview
go-importgithub.com/arrayfire/arrayfire git https://github.com/arrayfire/arrayfire.git
octolytics-dimension-user_id5395442
octolytics-dimension-user_loginarrayfire
octolytics-dimension-repository_id25889802
octolytics-dimension-repository_nwoarrayfire/arrayfire
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id25889802
octolytics-dimension-repository_network_root_nwoarrayfire/arrayfire
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release124667f43168afb6c9c03b7c02eb5b1d2e1be3d9
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/arrayfire/arrayfire/issues/1264#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Farrayfire%2Farrayfire%2Fissues%2F1264
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Farrayfire%2Farrayfire%2Fissues%2F1264
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=arrayfire%2Farrayfire
Reloadhttps://github.com/arrayfire/arrayfire/issues/1264
Reloadhttps://github.com/arrayfire/arrayfire/issues/1264
Reloadhttps://github.com/arrayfire/arrayfire/issues/1264
arrayfire https://github.com/arrayfire
arrayfirehttps://github.com/arrayfire/arrayfire
Notifications https://github.com/login?return_to=%2Farrayfire%2Farrayfire
Fork 549 https://github.com/login?return_to=%2Farrayfire%2Farrayfire
Star 4.8k https://github.com/login?return_to=%2Farrayfire%2Farrayfire
Code https://github.com/arrayfire/arrayfire
Issues 285 https://github.com/arrayfire/arrayfire/issues
Pull requests 18 https://github.com/arrayfire/arrayfire/pulls
Actions https://github.com/arrayfire/arrayfire/actions
Projects 0 https://github.com/arrayfire/arrayfire/projects
Wiki https://github.com/arrayfire/arrayfire/wiki
Security Uh oh! There was an error while loading. Please reload this page. https://github.com/arrayfire/arrayfire/security
Please reload this pagehttps://github.com/arrayfire/arrayfire/issues/1264
Insights https://github.com/arrayfire/arrayfire/pulse
Code https://github.com/arrayfire/arrayfire
Issues https://github.com/arrayfire/arrayfire/issues
Pull requests https://github.com/arrayfire/arrayfire/pulls
Actions https://github.com/arrayfire/arrayfire/actions
Projects https://github.com/arrayfire/arrayfire/projects
Wiki https://github.com/arrayfire/arrayfire/wiki
Security https://github.com/arrayfire/arrayfire/security
Insights https://github.com/arrayfire/arrayfire/pulse
New issuehttps://github.com/login?return_to=https://github.com/arrayfire/arrayfire/issues/1264
New issuehttps://github.com/login?return_to=https://github.com/arrayfire/arrayfire/issues/1264
homography() results depend on order of pointshttps://github.com/arrayfire/arrayfire/issues/1264#top
bughttps://github.com/arrayfire/arrayfire/issues?q=state%3Aopen%20label%3A%22bug%22
v3.5.0https://github.com/arrayfire/arrayfire/milestone/16
https://github.com/shie0041
https://github.com/shie0041
shie0041https://github.com/shie0041
on Feb 4, 2016https://github.com/arrayfire/arrayfire/issues/1264#issue-131430549
bughttps://github.com/arrayfire/arrayfire/issues?q=state%3Aopen%20label%3A%22bug%22
v3.5.0https://github.com/arrayfire/arrayfire/milestone/16
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.