image manipulation library [closed] - c++

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 2 years ago.
Improve this question
I need a library for mostly color manipulation, I want to make a image become black and white, and augment the contrast, so that Tesseract (Google OCR library) can read better the images that I throw at it.
Or if someone has a better idea on how to improve Tesseract results, I am all for it.

Try OpenCV
http://sourceforge.net/projects/opencv/
Or imagemagick
http://www.imagemagick.org/script/magick++.php
or CImg, probably the easiest to use: no install it's just a header file.
If you do not want to use a big library you can code the algorithm yourself:
https://web.archive.org/web/20140825114946/http://bobpowell.net/image_contrast.aspx

Related

draw lines and text to an image file [closed]

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 2 years ago.
Improve this question
I want to draw lines and text to an image file in c++. I've already considered using the ppm image format, but there I would have to create functions for getting the pixels of a line etc.
I do NOT want any huge game library with ticks or drawing something in windows on the screen.
Is there anything that I could use for that?
thanks
You can give CImg a try https://cimg.eu/
It is a header-only library and it can do what you're asking for (plus more, you can also use X11 for plotting if you provide the link dependencies for example)

C++ multidimensional data visualization [closed]

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 6 years ago.
Improve this question
For a dataset of N records and M columns (features), I want to visualize it in 2d or 3d. Does anyone know if such a c++ library exists?
Thanks to #MatthewLueder's comment pointing out the PCA, I found libpca.
I assume you want online plotting. That is, animation plot at runtime, correct?
If so, then there are few libraries and one of which is gnuplot-iostream http://www.stahlke.org/dan/gnuplot-iostream/. I use it and recommend it. It requires the Boost library however.
Otherwise, you can write your data on files and use in a subsequent step a visualizer of your choice. Again, gnuplot is very powerful.

What's the easiest way to draw line segments in order to visualize the output of some algorithm? [closed]

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 6 years ago.
Improve this question
I want to draw (dashed) line segments in order to visualize the output of some algorithm. How can I do this?
I know that this question is a bit vague, but I'm open to any kind of visualization method which is easy to use.
I would go for writing an SVG file - it is just text - example here and then use ImageMagick to convert that to a PNG or GIF file with
convert dottedline.svg image.gif
ImageMagick is installed on most Linux distros and is available for free for OSX and Windows.
You could also use Magick++, the C++ library of ImageMagick, or gnuplot - see my answer here.

Where do I find ImageMagicK manipulation description more detail in vc++? [closed]

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 working on vc++ with ImageMagicK.
I'd like to apply scale and grey and something like another manipulation also too, not cli.
But, I can't find any regarding scale or grey or something like any description of manipulation ..in Magick++_tutorial.pdf.
I need any description of manipulation API functions not only above things but also another also too.
How can I find these descriptions?
You are looking for
image.quantizeColorSpace( GRAYColorspace );
and
image.resize("800x600");
See here for more details.

Looking for an open source C/C++ image / video thumbnail generation libraries [closed]

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 8 years ago.
Improve this question
I am looking for an open source C/C++ image/video thumbnail generation libraries.
(other than ffmpeg or DevIL)
Will Image Magick work? It is quite a capable library with C++ (and C) bindings. It does support grabbing still frames from some video formats, see here. It's a command-line example, but should work from the API as well.
Try ffmpegthumbnailer:
This thumbnailer was designed to be as fast and lightweight as possible. The only dependencies are ffmpeg, libpng and libjpeg.