Questions tagged [cimg]

The CImg Library is a small, open source, C++ toolkit for image processing.

The CImg Library is a small, open source, C++ toolkit for image processing.

CImg stands for Cool Image: It is easy to use, efficient and is intended to be a very pleasant toolbox to design image processing algorithms in C++. Due to its generic conception, it can cover a wide range of image processing applications.

297 questions
-1
votes
1 answer

QTcreator + Cimg.h = Error opening .jpg .png

I'm stating to use QTcreator and for my application I'm having to use CImg.h to 'play' with some images, but when I try to load some image this error appear: "[CImg] *** CImgIOException *** [instance(0,0,0,0,(nil),non-shared)] CImg
-1
votes
1 answer

CIMG Image substitution

I have got a small problem. I need to use a few images, but I don't want to declare new 'image' for each of them. I declare image as: CImg image("1.bmp"); And after that, i would like sign for image other picture for example 2.bmp. Not sure, if I…
Thamiar
  • 600
  • 7
  • 22
-1
votes
1 answer

How to start CImg drawing from bottom-left corner rather than top-left corner?

In CImg the co-ordinate system is considered to be started at top,left corner . But , I am normally used to see the co-ordinate system started from bottom,left corner . So whenever i am trying to draw a triangle with co-ordinates…
web2dev
  • 557
  • 10
  • 28
-1
votes
1 answer

How to display histogram of image on CimgDisplay window

I am using Cimg library I have a image: CImg image; And CImgDisplay main_disp; I want to display histogram of image on main_disp
shang12
  • 423
  • 5
  • 18
-2
votes
1 answer

Can't get color smoothness to work with mandelbrot set using CImg

So in a step to learn C++ i decided to try to implement the mandelbrot set using CImg. Here is my program: #include #include #include #define cimg_use_png #include "CImg.h" using namespace cimg_library; const int…
Toerktumlare
  • 12,548
  • 3
  • 35
  • 54
-2
votes
2 answers

How are HSV color values used?

I've just read about HSV and what I found out is that the Hue, actually specifies that in what color range (like pink, orange,etc.) the color is, the Saturation specifies its tendency to white (the lower the value is, the whiter the color is) , and…
mitrafrz
  • 51
  • 6
-2
votes
1 answer

How can I convert a CImg image to an itkImage?

I have a CImg image (with double values) with the following form in c++: CImg image(512,512); Tcyl.fill(1); I would like to use ITK functionality to transform this image. So I need to transform this CImg image into itkImage object. How can…
user7938219
-2
votes
1 answer

cimg wont load lenna image

I'm using vs2015, created a win32 c++ console app This gives a pure native c++ app, while i got some other examples working. This demo code doesn't work, the problem seams to the loading of the lenna.png or lenna.jpg Each time i get errors that the…
Peter
  • 2,043
  • 1
  • 21
  • 45
-2
votes
1 answer

Cimg and itk image

I have a Cimg image and I want to use it with ITK (for registration). How can I create a ITK image from this Cimg image. Also can I want to create an OpenCV image from a ITK image? So can I use these libraries together? Thanks for helping.
-2
votes
1 answer

Point operator C++

I have the following piece of code for image processing, using the library CImg. for (int y = 0; y < height; y++) for (int x = 0; x < width; x++) { width = in. float weight = strength*x*(xmax-x)*y*(ymax-y)/(xmax*xmax)/(ymax*ymax); …
charles
  • 713
  • 1
  • 6
  • 16
-3
votes
2 answers

Overlaying an image on another image using coordinates in C++

I'm trying to put first image on a certain area of the second image. I tried to use imagemagick. I installed it to Visual Studio 2017. I didn't find how to use. I tried to use CImg ("draw_image" function). I couldn't install properly. Because I…
-6
votes
1 answer

furthest right black pixel

I have a black and white image, and I'm only interested in finding the x-position of the furthest right black pixel, but I'm not sure how to proceed. Any help would be appreciated. Oh, and I'm using CImg and VC2008. Alright, I feel pretty dumb since…
user3241316
  • 167
  • 2
  • 11
1 2 3
19
20