hello every i want to ask that is there any way through which i can pick values from the plotted graph and statistically analyze them using c++ programming and also the graph is moving graph (realtime graph)
thank u kindly help me
i am using c++ and linux and graph is plotted by using qwt and qt
Analyzing doesn't look necessary for what you describe (if I got it well) and would be too costly. You simply need to create an observer system ; when a node value is changed, send a message with the new value. You'll only need to see if the value is zero. Add special events for the extreme nodes and check when their value is changed if they match.
Related
My goal is to be able to create AudioGraph with multiple input nodes that are connected to single AudioSubmixNode and be able to adjust timings between them.
Is it possible to delay input for single IAudioInputNode2 or add some "delay" node after input node to achieve this goal?
If it is possible may it support negative delay?
I am currently working in c++ (winrt) but documentation or samples may be in any .net language as I did not found anything on the subject that could push me in correct direction.
I want to extract one leaf from bunch of leaves to detect its features using OpenCV (C++). So first I tried to find edges of the image and extract one object. See my question here., but it seems that this way is not going to work. What I want to do is just extract one leaf from an image taken in real environment of the plant (See the following example image this is only an example. The image that is going to process is not known previously user has to take an image and to upload to the system)
As an example consider I want to cut off the leaf marked with red line.
Then I can proceed to identify features of that leaf. Can any one please suggest a step by step method to do this. I'm using OpenCV and C++ as the language.
Thank you in advance.
I am working on a huge graph.
I'm interested to focus on a small part of the graph and make some optimization on it.
All other "not interesting" nodes will be packed to one "supernode".
I am going to make number of iterations, each iteration will focus on another part of a graph. Then, I need to unpack existing supernode and pack another supernode.
I am looking for existing packages/algorithms which can do for me the packing/unpacking jobs.
I am working on C++ and using boost BGL.
I implemented and AVL tree using C++, at the moment I print the AVL tree to the console but I need to represent the tree using GUI as part of an application the user can use to interact with the tree. what libraries etc. should I look into in order to achieve this?
Note: I'm using OS X
The point here seems to be that some kind of user interaction is expected.
What kind of operations shall the user be able to invoke? Moving nodes, inserting, deleting?
You can go for the graphviz approach, but if you want to have user interaction, then for graphviz you should go for html output. That way you can e.g. associate nodes with clickable links where you can put some operation logic behind.
If that is not sufficient, then you will need to go for a generic GUI framework, and see what kind of libraries are available.
In case of C++, Qt is one thing to look into. There is something called a treeview that might fit to your problem (see e.g. here: http://doc.qt.digia.com/qt/qtreeview.html).
However, be prepared that it will take you some time to get into Qt.
graphviz is a graph visualization toolkit. Writing graphviz files is really simple and using one of the back-ends to spew out an image, too. You can then display those images with whatever toolkit you like.
graphviz could do the work.
And here is the document.
I am new to graph theory and graph concept.
I am workign on something, that requires me to create a mesh(Undirected graphs) with n number of nodes.
Once the structure is created, I would be running various algorithms on the structure, to find a shortest path from a node to other.
No for this I have decided to use Boost graph librabry.
I read through the online documentation. The online documentation is good but at the same time not sufficient.
I went through various examples online and everywhere, they import the graph from Graphviz.
If i am not wrong, we have to manually draw or write a dot program to get a graph in Graphviz and import in .dot format(Please correct me if i am wrong)
But is there a way in Boost where I could create a graph, instead of importing it from GraphViz?
And I would let user to decide the number of vertices in it, instead of pre-defining it.
Any help would be very much appreciated.
Thanks a ton in advance.
It's maybe not very correct, but I am giving a response a gave before.
https://stackoverflow.com/a/3100220/202083
You can see how to programmaticaly add nodes and edges.
I hope this is enough for you to get started.