Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

3D contour plot of an image

Solved!
Go to solution

Hi,

I want to plot a 3D contour plot of intensity in an image. I've attached a sample image. Awaiting for suggestions.

Thanks.

0 Kudos
Message 1 of 6
(4,669 Views)
Solution
Accepted by topic author aveo

Hello aveo,

 

how about using the "IMAQ 3D View". Please see the attached code saved for LV2010.

 

Does this suit your application?

 

Best regards,

K


https://decibel.ni.com/content/blogs/kl3m3n



"Kudos: Users may give one another Kudos on the forums for posts that they found particularly helpful or insightful."
0 Kudos
Message 2 of 6
(4,596 Views)

... or perhaps something like this with 3d plot (see the attachment). I suggest using "render window" since there is no data reduction.

 

Best regards,

K


https://decibel.ni.com/content/blogs/kl3m3n



"Kudos: Users may give one another Kudos on the forums for posts that they found particularly helpful or insightful."
0 Kudos
Message 3 of 6
(4,590 Views)

Hi Klemen

It works fine! Thanks a lot for the reply.

The contours on the surface of the apple are coming out significantly.

Is it possible to rotate ,the IMAQ3D view output, in different directions like in 3D plot?

Regards

Aveo

 

0 Kudos
Message 4 of 6
(4,582 Views)

Hello,

 

yes there is limited rotation, though you can't use your mouse directly. Take a look at the "direction", "alpha" and "beta" parameters in the help section.

 

Best regards,

K


https://decibel.ni.com/content/blogs/kl3m3n



"Kudos: Users may give one another Kudos on the forums for posts that they found particularly helpful or insightful."
0 Kudos
Message 5 of 6
(4,579 Views)

Hi,

Yeah i tried it out. This'll serve my purpose.

Thanks K.

Regards

Aveo

0 Kudos
Message 6 of 6
(4,572 Views)