Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
I'm looking for some Free (preferably LGPL'd) image analysis/comparison libraries.
The most important thing they should be able to do, is compare two different images and say if they're similar, with adjustable sensibility (i.e the higher the sensibility the more they have to look like each other to get a positive result)
I'm thinking either C/++/# or eventually Python.
So far the only solution I've come across is OpenCV, which is under the BSD license. I have yet to study how much of what I need is already implemented in the library, and what I may need to write myself, but I would really like to hear some other options before I start work on my project, so any opinions are welcome.
Comparing if two images are "similar" is an extremely hard, research-class problem. The approach you'd use will depend heavily on the types of similarities/differences that you are expecting between your images.
It will be hard to find something that works off-the-shelf, unless your comparison requirements are very specific.
Related questions that might be helpful:
Image comparison - fast algorithm
Image comparison algorithm
I know several people who have used or are using OpenCV. They seem to be very satisfied with what it can do and how easy it is to use. And from the problem you have described, OpenCV surely has that feature, and much more. I don't know of any library that compares to it. As for the BSD license, don't blame people who make source code available for free for not letting you make money off of it.
Related
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 5 years ago.
Improve this question
I've built a robust system that has many core functions that might actually get mess to use if I keep on expanding the code - therefore I decided to implement a scripting language and ability for program to read scripts from external files.
My first idea was to use C# by default, but then I've remembered how easy and readable Lua was, so I went with that - sadly, I can't find a simple yet effective library that would allow me to incorporate lua into my software.
tl;dr — is there a simple library one could use to implement lua and thus make usage of software built-in functions way easier? What are your thoughts and opinions on that?
First, there's MoonSharp.
I did experiments with it a while ago. Ultimately, I found it unsuitable for my needs, but it was straightforward to make use of.
Edit: dug up my GitHub repo where I tried this out.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
Im looking for a good Open Source or Free library in C# using GDI+ or DirectX. I would rather like using GDI+ than DirectX. The idea is to be able to graphicate nodes from a graph, so all I need is drawing circles, arrows and pointers.. nothing fancy, I don't want to use highly overloading libraries.
Thanks to all!
[EDIT]
I understand what you all say, but perhaps I didnt explain myself. I know how to work with GDI++ or WPF, but these is the deal:
Im looking for a library that provides some extended functions allowing not just to draw, but to control the shape (drag around, etc..)
Im not very pro-WPF in this particular case, because is not an application relying much on UI and I just want to show the graph and allow to rearrange nodes, nothing fancy. I'll take a look on the link given anyways.
I hope now that those who thought this was a lame question get the point.
Thanks again
You could just use WPF's Drawing support for shapes. This is an incredibly useful, easy, and powerful means of doing retained mode graphics.
Otherwise, GDI+ is exposed via the System.Drawing namespace in the Framework, and is fairly easy to use, as well.
Both of these options are nice in that they require no extra libraries - support for this exists direclty in the framework itself.
NShape- GPL. In BETA. Maybe a bit too sophisticated for your use, but sounds like it meets all your requirements. 199EUR for commercial use, which is cheap compared to the competition.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 3 years ago.
Improve this question
I'm starting a new project in .NET which will require some geometry algorithms, such as:
checking if a point is inside a polygon
bezier curves
line intersections, etc.
I've found some libraries, however, they are paid/expensive, these include:
G# - http://www.ceometric.com/store.html
DigitalRune Geometry - http://www.digitalrune.com/Products/Geometry/Overview.aspx
NLIB - http://www.smlib.com/nlib.html
sgCore - http://www.geometros.com/sgcore/index.htm
These do what I need and much more, which makes me spend too much money on something that won't get used so much.
I've found some open source projects:
MATH.NET
alglib
anti-grain (C# bindings/port)
But these do less than I need, however, they're easy to find when you look on google. After some time searching, I've found this library:
Tektosyne (http://www.kynosarges.de/Tektosyne.html)
Which does most of what I need. It is also free of charge and is provided "AS-IS". Which is good.
However, if you search google for "Tektosyne", you find very few results. So my question is (for those who have experience with some "advanced" usage of geometries in c# of StackOverflow):
Do you have another libraries to recommend or why is this library not "popular"?
Have you looked at this?
github.com/DotSpatial/DotSpatial
Or
NetTopologySuite https://github.com/NetTopologySuite/NetTopologySuite
I assume you're looking for something for WinForms. If you haven't looked into WPF yet, the functionality that you mentioned is all available there. Plus you could always host a WPF Control in a WinForms program.
We are using sgCore in our 3D programs. Beautiful library. We are purchased full sourcescodes - very clear code inside.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
I am looking to perform a polynomial least squares regression and am looking for a C# library to do the calculations for me.
I pass in the data points and the degree of polynomal (2nd order, 3rd order, etc) and it returns either the C0, C1, C2 etc. constant values or the calculated values "predictions".
Note: I am using Least Squares to create some forecasting reports for disk usage, database size and table size.
Here is a link for C# code on to do exactly this: http://www.trentfguidry.net/post/2009/08/01/Linear-Regression-of-Polynomial-Coefficients.aspx
Good luck!
Edit: Apparently the above link is broken. I made another solution awhile back: http://procbits.com/2011/05/02/linear-regression-in-c-sharp-least-squares/
In the general case you want an "optimizer" or "mimimizer". See http://en.wikipedia.org/wiki/Optimization_(mathematics)#Solvers for some exmples. I see that the first link (http://en.wikipedia.org/wiki/IMSL_Numerical_Libraries) claims to have c# support.
Edit: For the limited use that you propose (linear or quadratic polynomials), you could just go to any copy of Numerical Recipies, grab a straight ahead implementation, and translate to your language. A general minimizer is overkill.
But note, also, that polynomials may be poor predictors.
You can check library form ALGLIB under GPL licence 2.0. They have source code for C#, C++,...
http://www.alglib.net/interpolation/leastsquares.php
You may want to check out alglib. It is in C++ instead of C#, but you might be able to write a wrapper over it.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 3 years ago.
Improve this question
I need to minify some C# code in a handful of Silverlight .cs and .xmal files. What are your tips for maintaining one code base and running a "tool" to generate minified code for a project?
Are there any tools (like Resharper) that will do this? If not fully, partially or assist in some way...
EDIT: I realize that there is no need for C# minification. This is an exercise that I'm doing that does not make sense on the face of it. (This is not homework.)
How about a source-code obfuscator? They generally abbreviate names, etc - and certainly remove white space.
For example, here, with demo here (although you'd probably want to disable the string encoding if possible). Note that this isn't a direct recommendation: this is just the first hit I got for C# code obfuscator.
Is that necessary? It was my understanding that the compiled .Net assembly would be sent across the wire, not the C# (or whatever language) source code.
Here are two "Lessons Learned" posts from other 10k entrants:
Thoughts on the MIX 10K challenge
MIX09 10K Smart Coding Challenge