Questions tagged [image-processing]

Anything related to digital image processing, i.e. the theory and the techniques used to extract or manipulate information from digital images.

Image Processing involves any kind of signal processing in which the input is an image. The output can also be an image, or it can be information relative to the input image. Most image processing techniques involve treating the image as a two-dimensional array and applying standard signal processing techniques to it. Though optical and analog image processing are both well defined in the space of image processing, the tag image-processing in SO solely refers to digital image processing.

A good start on the field is having a look at the next links:

For an in-depth collection of explanations of a number of image processing topics, have a look at CVonline.

41963 questions
10
votes
5 answers

How to resize an image in C# to a certain hard-disk size?

How to resize an image an image in C# to a certain hard-disk size, like 2MiB? Is there a better way than trial and error (even if it's approximate, of course). Any particular keywords to search for when trying to find the solution on the web?
Pablo Fernandez
  • 279,434
  • 135
  • 377
  • 622
10
votes
5 answers

Making a video with opencv and ffmpeg. How to find the right color format?

I have a webcam video recorder program built with python, opencv and ffmpeg It works ok except that the color of the video is more blue than the reality. The problem seems to come from color format of images. It seems that OpenCv is giving BGR…
luc
  • 41,928
  • 25
  • 127
  • 172
10
votes
2 answers

PHP/GD Gaussian Blur Effect

I need to obfuscate a certain area of an image using PHP and GD, currently I'm using the following code: for ($x = $_GET['x1']; $x < $_GET['x2']; $x += $pixel) { for ($y = $_GET['y1']; $y < $_GET['y2']; $y += $pixel) { …
Alix Axel
  • 151,645
  • 95
  • 393
  • 500
10
votes
2 answers

What's the best way to merge a set of rectangles in an image?

This is not a homework question :) I have a set of rectangles scattered across an image. I want to merge (create a union) of every group of intersected rectangles. If a rectangle doesn't intersect its neighbors, it remains untouched. The problem…
Mike O'Malley
  • 335
  • 1
  • 4
  • 17
10
votes
4 answers

How to check if four points form a rectangle

I am working on a shape recognition app. At this moment a set of points (x,y) is determined by corner detector (red points, img. 2.). Four of these points (in red frames, img. 2.) are vertices of a rectangle (sometimes a little deformed rectangle).…
sowizz
  • 175
  • 3
  • 11
10
votes
3 answers

How to extract slides from a video using python

I have a video training course supplied as AVI files. Most of the screens are shown as slides with a mouse pointer moving around on them. I'd like to capture a screenshot of the slide automatically when the screen changes (ignoring when the image…
zio
  • 2,145
  • 4
  • 21
  • 25
10
votes
2 answers

Auto-Detecting blurry regions of an image

I am working on images that are partially blur on some sections. These are noises that should be taken care of, but here is the problem: Are there methods to detect whether an image is blur or partially blur at some sections of an image? For…
Karl
  • 5,613
  • 13
  • 73
  • 107
10
votes
2 answers

setRGB() in java

I am using setRGB() for changing the values of the pixel of an image. int rgb=new Color(0,0,0).getRGB(); image1.setRGB(i,j,rgb); //where i,j is the boundaries of the image Here,i am setting all the pixel values with white. But the change is not…
Rohit
  • 635
  • 6
  • 12
  • 22
10
votes
6 answers

Hue to wavelength mapping

Is there an algorithm to find out the wavelength of the color given the hue value (between 0 degree to 360 degree). Is there any built-in function in MATLABfor the same?
SegFault
  • 1,024
  • 2
  • 16
  • 25
10
votes
2 answers

Python OpenCV Box2D

I am trying to call OpenCV function MinAreaRect2 from within python. I use OpenCV 2.4.2 with python 2.7 and numpy 1.6. I went this far : import cv def nda2ipl(arr, dtype=None): return cv.fromarray(np.ascontiguousarray(arr, dtype=dtype)) def…
Nicolas Barbey
  • 6,639
  • 4
  • 28
  • 34
10
votes
1 answer

Matching a curve pattern to the edges of an image

I have a target image to be searched for a curve along its edges and a template image that contains the curve. What I need to achieve is to find the best match of the curve in the template image within the target image, and based on the score, to…
10
votes
3 answers

Facial Recognition with Kinect

Lately I have been working on trying facial recognition with the Kinect, using the new Developer Toolkit (v1.5.1). The API for the FaceTracking tools can be found here: http://msdn.microsoft.com/en-us/library/jj130970.aspx. Basically what I have…
Ray
  • 325
  • 4
  • 15
10
votes
2 answers

Removing the background noise of a captcha image by replicating the chopping filter of TesserCap

I have a captcha image that looks like this: Using a utility called TesserCap from McAfee, I could apply a "chopping" filter to the image. (Before running it, I made sure there were only two colors in the image, white and black.) I was very…
10
votes
1 answer

Java BufferedImage, writing to underlying Raster, pixels are appearing offset in the final image

Apologies for thread necromancny, I've attempted to produce a cut down version for testing, it's available here https://www.dropbox.com/sh/y0wtlae37yltfz5/yRDSyKj2NY The largest part of the download is the 3 sample images in the src folder (2 of…
10
votes
2 answers

Image comparison method with C++ and OpenCV

I am new to OpenCV. I would like to know if we can compare two images (one of the images made by photoshop i.e source image and the otherone will be taken from the camera) and find if they are same or not. I tried to compare the images using…
user1421108
  • 119
  • 2
  • 7