{"action":"created","issue":{"url":"https://api.github.com/repos/danielepanozzo/gp/issues/4","repository_url":"https://api.github.com/repos/danielepanozzo/gp","labels_url":"https://api.github.com/repos/danielepanozzo/gp/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/danielepanozzo/gp/issues/4/comments","events_url":"https://api.github.com/repos/danielepanozzo/gp/issues/4/events","html_url":"https://github.com/danielepanozzo/gp/issues/4","id":212007655,"number":4,"title":"Recommendation for regular grid resolution","user":{"login":"oveddan","id":891755,"avatar_url":"https://avatars0.githubusercontent.com/u/891755?v=3","gravatar_id":"","url":"https://api.github.com/users/oveddan","html_url":"https://github.com/oveddan","followers_url":"https://api.github.com/users/oveddan/followers","following_url":"https://api.github.com/users/oveddan/following{/other_user}","gists_url":"https://api.github.com/users/oveddan/gists{/gist_id}","starred_url":"https://api.github.com/users/oveddan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oveddan/subscriptions","organizations_url":"https://api.github.com/users/oveddan/orgs","repos_url":"https://api.github.com/users/oveddan/repos","events_url":"https://api.github.com/users/oveddan/events{/privacy}","received_events_url":"https://api.github.com/users/oveddan/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-03-06T02:13:58Z","updated_at":"2017-03-06T02:28:49Z","closed_at":null,"body":"Is there a recommended formula for calculating what an optimal resolution for a regular grid is?  I'm noticing that for the large .off files, having a higher resolution regular grid performs much better.  I'm wondering if there is a best practice for deciding this resolution based on number of points."},"comment":{"url":"https://api.github.com/repos/danielepanozzo/gp/issues/comments/284287912","html_url":"https://github.com/danielepanozzo/gp/issues/4#issuecomment-284287912","issue_url":"https://api.github.com/repos/danielepanozzo/gp/issues/4","id":284287912,"user":{"login":"danielepanozzo","id":6785134,"avatar_url":"https://avatars0.githubusercontent.com/u/6785134?v=3","gravatar_id":"","url":"https://api.github.com/users/danielepanozzo","html_url":"https://github.com/danielepanozzo","followers_url":"https://api.github.com/users/danielepanozzo/followers","following_url":"https://api.github.com/users/danielepanozzo/following{/other_user}","gists_url":"https://api.github.com/users/danielepanozzo/gists{/gist_id}","starred_url":"https://api.github.com/users/danielepanozzo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danielepanozzo/subscriptions","organizations_url":"https://api.github.com/users/danielepanozzo/orgs","repos_url":"https://api.github.com/users/danielepanozzo/repos","events_url":"https://api.github.com/users/danielepanozzo/events{/privacy}","received_events_url":"https://api.github.com/users/danielepanozzo/received_events","type":"User","site_admin":false},"created_at":"2017-03-06T02:28:49Z","updated_at":"2017-03-06T02:28:49Z","body":"It depends on many factors (processor type/speed, cache size, optimization flag, compiler, ...). The best way to do it is to find it experimentally for your specific setup. If you assume to have a uniform sampling (which is reasonable in practice), the most important parameter is how many points land in a cell on average. You could write a for loop that tries for many different possibilities until you find the optimal one for your system. After that, you can estimate the point density of a new point cloud and select the cell size accordingly. Of course all of this is not required in the assignment :)"}}
{"actor":{"display_login":"danielepanozzo"}}