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
0
votes
0 answers

Clang/gcc use different c++ standard for header and main

I was using CImg for picture processing, which don't compile for C++11 or above: CImg.h:48902:22: error: there are no arguments to 'pclose' that depend on a template parameter, so a declaration of 'pclose' must be available [-fpermissive] But my…
ZisIsNotZis
  • 1,570
  • 1
  • 13
  • 30
0
votes
1 answer

Problems installing/understanding c++ libraries( novice programmer)

I have just started learning programming, and I am facing troubles adding libraries ( Other than STD libraries) in my programs. I use codeblocks IDE and I wanted to add a library CImg from the internet. After reading many threads I have done the…
0
votes
1 answer

How to get the CImg library working for Qt

I'm currently learning how to use Qt. I want to try out some simple image processing applications using Qt, and since I'm already familiar with CImg I want to use that. I guess it should be possible to do so, if not mark my question for deletion or…
Á. Márton
  • 497
  • 1
  • 3
  • 21
0
votes
1 answer

How can I show a temporary image with CImg library

I was wondering if someone can help me with this... I need to display my image for 15 seconds and i also have to use the draw_text function to display on the image some details with int value, and it asks for const char*const text value. I am not…
iNeo51
  • 1
  • 3
0
votes
0 answers

How to link a library for Eclipse

I am trying to use the CImg.h library in Eclipse. I have tried to use MinGW C++ Linker -- Library Search Path -- and set it to "C:\CImg\CImg-1.7.5". However, my line #include gives me a fatal error "CImg.h no such file or directory". I get…
Aaron Kreider
  • 1,705
  • 5
  • 22
  • 44
0
votes
1 answer

CImg Image is Colorless

Currently I am in the process of refining a function in my basic level editor program that allows me to save the maps I create. It spits out a .bmp image of the map produced. It does this through a library I've just discovered called CImg, which I…
0
votes
0 answers

Error using CImg library in Code::Blocks, fseeki64 undeclared

I don't know how to get around this issue, every time I run my code it stops compiling and jumps to the CImg.h header file. In function int cimg_library::cimg::fseek(), fseeki64 is undeclared. A similar error appears for the ftelli64 function. I did…
bluefog21
  • 11
  • 4
0
votes
1 answer

libgdi32.a library while using CImg

I'm trying to run this short code that I found in another SO post. However, I keep on getting this error: C:\Users\ndeangelis\AppData\Local\Temp\ccK7X4dd.o …
bluefog21
  • 11
  • 4
0
votes
0 answers

Undefined symbol references in boost and CImg

I am new to using CImg and boost. I am getting undefined symbol references as mentioned below, in the code also shared below. I am using this command line to build it: g++ -lboost_filesystem -lboost_system -L/usr/X11R6/lib -lm -lpthread -lX11…
here_to_learn
  • 477
  • 2
  • 6
  • 10
0
votes
1 answer

How to correct RGB color taken with camera?

I had this question in my mind lately: I have taken a photo of a picture in my computer's display using my phone's camera (2MP) then transferred the picture to my computer. What i have noticed is that the individual pixel (RGB) values of the…
Rockr90
  • 35
  • 2
  • 5
0
votes
1 answer

CImg library not compiling in Dev c++

I have set up dev c++ on my computer and am trying to compile the simple C++ hello world code with it but it does not compile and gives these error codes C:\Users\Ignatius\Documents\testing.o …
user6031759
  • 118
  • 1
  • 15
0
votes
1 answer

CImg get_crop() returns wrong pixels / getting a subimage of CImg

I am trying to get a subimage of a CImg. As I understand the method get_crop() does what I need, but the subimages that I get do not contain the pixel values I expected them to have. unsigned char* StringTextureGenerator::GetTexture(int &width, int…
Jhonny007
  • 1,698
  • 1
  • 13
  • 33
0
votes
1 answer

Cimg link eclipse error

in ubuntu eclipse I would like to use theCImg lib: My g++ opt: -I"/home/lukas/Desktop/ressss/resolution_F/re_fol/CImgLib" -I"/home/lukas/Desktop/ressss/resolution_F/re_fol/Eigen" -O0 -g3 -Wall -c -fmessage-length=0 -L/usr/X11R6/lib -lm…
user2165656
  • 445
  • 1
  • 3
  • 11
0
votes
2 answers

Immediate mode texturing weird output

I'm trying to simply draw an image with OpenGL's immediate mode functions. However, my output is kinda weird. I tried a few Texture parameters - but i get the same result, sometimes with different colors. I kinda can't figure out the problem, but i…
tubberd
  • 540
  • 5
  • 15
0
votes
1 answer

How does the CImg hough implementation work?

Here is the example Hough Transform from the CImg library I'm trying to figure out how this implementation works, since it is so much different from the other ones you might find online. As I understand it, for a Hough transform you need to loop…
Mknsri
  • 87
  • 9