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
2 answers

How to Display Image of a 2D RGB Matrix at C++

Firstly, I should say that I am not familiar with C++. My purpose is that. There is a function at Matlab imagesc. With a given input of 2d matrix that has double values of RGB it shows a RGB image. I want same at C++ and found that: Imagesc…
kamaci
  • 72,915
  • 69
  • 228
  • 366
0
votes
2 answers

Linker errors in Qt Creator 2.4.1 associated with CImg library

I wrote a small image processing algorithm using the CImg library and bundled it in a command line application using Visual C++ Express. Everything compiled error free and ran well, until the engineer in charge of the project decided he wanted a…
Matt Young
  • 360
  • 1
  • 3
  • 11
0
votes
2 answers

jpeg and tiff Pixel value extraction

I want to able to compare 2 images (same format) and perform bit level comparison on those images. 1)create structs for headers.2) open the files and read the contents starting at the image data offset from the SOI marker.3) Store the respective…
0
votes
2 answers

Cimg compilation error

i get this error when i add CIMG library to Xcode: 'cstdio' file not found this is the library link: http://cimg.sourceforge.net/ help please
Ayman Melhem
  • 493
  • 3
  • 13
0
votes
1 answer

Find out the page count of a multipage tiff using the CImg Library

Has one of you ever tried to find out the page count of a multi-page TIFF file usign the CImg library? I'm trying to calculte the histograms for every single page in the file. This is my code to load the TIFF file and create an Image…
fourcube
  • 762
  • 3
  • 10
0
votes
1 answer

how add object cimg in Qwidget

I am creating an application in qt and use cimg to handle the graphics. My question is how I put an item CImg within a QWidget?
jackajack
  • 153
  • 1
  • 1
  • 11
0
votes
1 answer

How do I display a right click menu in a cimg display window?

I am writing a C++ raytracer and using the CImg library to display the final image. I want to be able to right click on particular pixels in the final rendered image and display a menu with pixel-specific content. CImg makes it pretty easy to detect…
Tneuktippa
  • 1,645
  • 3
  • 15
  • 25
-1
votes
1 answer

How do i create a node in OpenVX Framework to find the FFT(Fast fourier transform) of an image?

Does anyone know how to create a user-node to calculate the FFT of an image or videoframe using the OpenVXFramework. I want find the FFT values form video frames to calculate the vibration in video frames.
SVJ
  • 51
  • 5
-1
votes
1 answer

How to open an image with CImg?

I know this topic is answered in different places, but I can't get it to work. First I tried to use the jpeglib library, the most complete tutorial for the installation, it had about 15 steps, the third I couldn't go any further. After installing…
-1
votes
1 answer

Linker errors with CImg and libtiff on Xcode

I can't get libtiff to successfully link for an application that uses CImg. I've installed libtiff with brew, nothing, compiled libtiff from sources and installed still nothing (where's the libtiff.a after compilation btw?) I've added the path in…
-1
votes
1 answer

How Do I Pass a CImg Image Object from C++/CLI to C#

I have some C++/CLI code that creates a simple CImg image and draws a circle on it. I want to pass it to C#, but I'm not sure how. I thought of using a byte array to pass it to C#, but I can't get the length of the array, which is needed for any…
Byte11
  • 204
  • 4
  • 12
-1
votes
1 answer

CImg save_jpeg() does not work

I have a problem with CImg. I want to convert .bmp file to .jpg one. #include "CImg.h" using namespace cimg_library; (...) CImg image("image.bmp"); image.save_jpeg("image.jpg", 60); When I want to run this program, sometimes it…
newblack
  • 73
  • 2
  • 11
-1
votes
1 answer

RGB2GRAY with CUDA and CImg library

I need to do a RGB2GRAY image processing algorithm. I just need some help in completing the global function or how I can access the * d_src pointer. This is my code, your help will be greatly appreciated. #include "cuda_runtime.h" #include…
JA7
  • 11
-1
votes
1 answer

Trouble with rendering a heightmap using opengl and cimg

I have an assignment that I have to link 2 images; one grayscale image and its colored version. I have to transfer all the colored pixels from the colored image to display the image in my window as a 3D object, and use the grayscale image to…
Jonathan
  • 55
  • 8
-1
votes
1 answer

Extract ROI of soccer field

I need to calibrate a camera according to soccer field white lines. In order to do so I used Canny for edge detection and HoughLinesP to get the white lines vectors. The location of the camera is not fixed and the picture may contain also the…
1 2 3
19
20