3D Graph

Q&A for C, C++, and/or C# developers using DPlot

Moderator: DPlotAdmin

Post Reply
jake_711
Posts: 1
Joined: Sun Mar 19, 2006 10:23 pm

3D Graph

Post by jake_711 »

I'm trying to create and plot a 3D graph that will display pixel intensities in their corresponding location. I also need the graph to update in real time (10 frames/sec). I'm running my program on visualstudio.net .

For my graph, what I'm thinking is I will basically take in two parameters.

1) The coordinates of the edge detected (horizontal and vertical pixel
location). The graph will only be concerned with areas that edges were
detected.

2) The other parameter that needs to be taken in is the computed distance
from the cameras of the detected edge. This is the parameter that will
determine how far the graph protrudes out in the z direction.


Can anyone tell me if DPLOT is a useful program to use for this type of plot.

Thanks.
User avatar
DPlotAdmin
Posts: 2312
Joined: Tue Jun 24, 2003 9:34 pm
Location: Vicksburg, Mississippi
Contact:

Post by DPlotAdmin »

Jacob,
If I understand you correctly I'm not sure that DPlot is what you're looking for. It sounds like you want to overlay color-coded pixels on an existing picture. If so DPlot won't do that - at least not directly. You could have DPlot produce a 3D surface plot or 3D scatter plot, then have *your* application overlay your picture. But even with that it isn't clear to me that this is what you're looking for.

Whether you can achieve 10 frames per second or not will depend on how many points you are plotting. With a 3D scatter plot (symbols drawn at every data point) that speed should not be a problem. With a surface plot and 1000 or fewer points you can probably get that sort of speed. Many more points than that and the triangulation alone will take more that 0.1 seconds.

David Hyde
DPlot Graph Software
http://www.dplot.com
Visualize Your Data
support@dplot.com
Post Reply