Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8812579
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T03:38:09+00:00 2026-06-14T03:38:09+00:00

On the image above there is some geometrical pattern. Model a distance is known.

  • 0

On the image above there is some geometrical pattern. Model a distance is known. Points are not in model distance strictly.

I want to:

  • calculate each point quality (real distance between points is not a) the better point fits to pattern better quality coeficient it should have (I’ve tried to take distance and 45deg angle)
  • eliminate wrong points (I’ve marked it with red) – it’s connected with pattern quality computing

What I’ve tried so far:

  1. Take each point with each other
  2. Calculate distance and angle between them
  3. Take only points neighbour to current point (which distance is between a - delta and a + delta
  4. Quality is realDistance/modelDistance * realAngle/modelAngle

Why it failed:

  • Good points quality was strongly decreased with bad points in neighbourhood
  • If bad point has only one neighbour and the distance and angle was ok its quality was ok.

So the question is: what is the best algorithm to calculate points quality in this case, and fill pattern. Pattern should be filled by averaging position of element taking in account neighbours positions. The best answer will be pseudocode or code or reference to some known algorithm which can be helpful in this case.

Question is a little bit related with my previous question Filling rectangle with points pattern but the filling could not be done with wrong quality points.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-14T03:38:10+00:00Added an answer on June 14, 2026 at 3:38 am

    If the error/distortion of the points does not get bigger when you go from left to right or top to bottom (i.e. the average distance a between neighbouring good points is known exactly enough), you can try the following:

    • bring each point Pi into the square [0,a[ x [0,a[ by taking the remainder of x and y coordinates when dividing through a (generating Qi). Thus the good points will more or less be mapped onto one point.
    • Among these generated points Qi choose one point R with the closest neighbours (e.g. sum up 1/distance for all distances to other points Qj, j≠ i, and choose the one with maximal sum).
    • Now you can distinguish between good and bad points Pi by looing at the distances Qi to R. (Points Pi whose corresponding Qi is close to R will be good points.)

    If the point R (with the closest neighbours) has a coordinate close to 0 or a (i.e. R is close to the border of the square [0,a[ x [0,a[), you better start from the beginning and add a/2 to the corresponding coordinate (of each Pi) before computing the remainder, in order to bring the point R more to the center of the square. (Or you manage to compute the minimal distance of the different possibilities of leaving the square [0,a[ x [0,a[ on one side and come back into it on the opposite side.)

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

My question is I wanna apply strategy pattern to save log from Image above
I want to do exactly like the above image via code (android). But I'm
Any idea why my image does not horizontally line up with the text above
I'm struggling with a widget layout. Essentially I have an image above some text,
When I use <br/> , there is some space between two lines. I want
I have an image above a div, and IE (7, and presumably 6) insists
Image describing the problem http://img215.imageshack.us/img215/3725/20100314235127schedule2.jpg I hope the image above can explain what I
what i am trying to achive is as follows: in the image above you
The above image is just adding two values and displaying the result on the
http://i44.tinypic.com/b69h1h.jpg Take a look at the above image, especially the Firebug window. Now have

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.