Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

Thread Subject:
surface approximation based on surface normals

Subject: surface approximation based on surface normals

From: Peter Schreiber

Date: 15 Feb, 2013 06:35:14

Message: 1 of 3

Hi everyone,
For a rectangularly spaced grid I know at every grid point the surface normal. Additionally, I know the function value at one grid point. What would be a good strategy if I want to find the actual surface that has the specific surface normals.

Since this seems to be a common problem in computer graphics I hope someone can guide me in the right direction. Are there any algorithms know to work well for this kind of problem?

Best Regards,
Peter

Subject: surface approximation based on surface normals

From: Bruno Luong

Date: 15 Feb, 2013 07:48:18

Message: 2 of 3

If you rotate the surface normal "n" by pi/2 in (n,z) plane, you will get the surface gradient.

The problem becomes: find the surface that matches a given gradient field. Put it in a least-square form, you'll find you have a Laplace equation of a rectangular domain to solve.

There is a lot of quick method to solve this kind of problem.

Bruno

Subject: surface approximation based on surface normals

From: Torsten

Date: 15 Feb, 2013 09:34:06

Message: 3 of 3

"Peter Schreiber" <schreiber.peter15@gmail.com> wrote in message <kfkkv2$nfm$1@newscl01ah.mathworks.com>...
> Hi everyone,
> For a rectangularly spaced grid I know at every grid point the surface normal. Additionally, I know the function value at one grid point. What would be a good strategy if I want to find the actual surface that has the specific surface normals.
>
> Since this seems to be a common problem in computer graphics I hope someone can guide me in the right direction. Are there any algorithms know to work well for this kind of problem?
>
> Best Regards,
> Peter

This article should give you a starting point:
http://www.google.de/url?sa=t&rct=j&q=&esrc=s&frm=1&source=web&cd=5&ved=0CFoQFjAE&url=http%3A%2F%2Fvision.ucsd.edu%2Fkriegman-grp%2Fpapers%2Feccv06c.pdf&ei=WwAeUbXrCs_mtQbijYCwAQ&usg=AFQjCNHjHiO2drHyTwWwfl344qGy3LSk2w&sig2=HSvy3ijf07pbVnelMxf7fw

Best wishes
Torsten.

Tags for this Thread

No tags are associated with this thread.

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

Contact us