image-processing

Fastest dithering / halftoning library in C

I'm developing a custom thin-client server that serves rendered webpages to its clients. Server is running on multicore Linux box, with Webkit providing the html rendering engine. The only problem is the fact that clients display is limited with a 4bit (16 colors) grayscale palette. I'm currently using LibGraphicsMagick to dither images...

Detect Quadrilateral points in high contrast image

I need to detect points of quadrilateral in a pretty high contrast image. I understand how I can detect large changes in contrast between 2 pixels, but I'm wondering what would be the best way to detect entire boundaries and corners of a quad in an image. So I'm basically looking for a good article/algorithm which explains/does this. No...

Sorting Algorithm

I have this linked list containing hashed values of a set images. I am plan to run a simplistic but a very quick sort for the same and so far I am stuck with just two of them, merge sort and quick sort. My quick sort implementation seems to have gone haywire and is taking a painstakingly long 15 seconds (approx.) to sort out over 10 im...

Are there any open source implementation of the snakes or watershed segmentation algorithms?

I'm working in a graduation project whose goal is to perform a comparative analysis of segmentation algorithms. I have implemented in C++ a few segmentation algorithms in a undergraduate research project that I have participated (Otsu's method and the EM/MPM algorithm for example). I am planning to compare the algorithms that I have i...

"Colourizing" a Bitmap in .NET

If you have a System.Drawing.Bitmap instance that contains a greyscale image, is there a built in way to "colourize" it with the influence of another colour? For example, if you had a black and white (greyscale) picture of a coffee mug and you wanted to create separate images of red, green and purple versions programmatically. ...

MagickCore writing image data to stdout rather than to a filename

I'm using MagickCore to generate images from scratch. I'm trying to save my Image as a PNG file, but whenever I call WriteImage, it outputs to standard out rather than to the filename that I specified. For example: Image *image = ImageGenerator(...); // generates valid image ImageInfo *info = CloneImageInfo (NULL); info->file = NULL; s...

Applying brightness and contrast with OpenGL ES

I want to change the brightness and contrast of a texture on the iPhone. I've been looking at the sample provided by apple (GLImageProcessing) but it only is able to do one at a time (calling both methods in the sample overwrites the previous result). Brightness works great: glTexEnvi(GL_TEXTURE_ENV, GL_TEXTURE_ENV_MODE, GL_COMBINE); i...

App Engine image resize without maintaining aspect ratio?

When I call resize on images using app engine, they maintain their aspect ratio - I don't end up with the size I ask for. I'm trying to make rectangular pixel NTSC images from square pixel sources, so I don't want this behaviour I want to take an image that is 720x540 and resize it to 720x480 but what I actually end up when ask for the...

Recognizing striked out handwritten words

I am working on handwriting recognition and related stuff on visual studio platform and using openCV libraries. Input is in the form of binary scanned .tif images. Currently I went into a roadblock trying to figure out a way to recognize striked out words as in you strike out (cancel) words using a straight/ curved line. I am not going ...

Old color film effect & pin-up poster effect

I've noticed that old color movies have a certain look about them, a certain film effect that is hard to come across in modern video - the colors are kind of matted out, like seen through a canvas of some sort - (example - column on the left). Is there any filtering algorithm that could apply this effect to video? On a side note, an equa...

photo editing app are these functions possible?

User would open the app and it would ask if User wants to use the camera or use a saved picture. If user selects camera, it would link with the camera view so that they can immediately take a picture. Application would present the user with an outline of a human body so as to match up with a subject they wish to photograph. Example – ...

Inside a JSP: Merge two Images and let the user print the result.

Hi everybody, I'm just stuck with another programming problem. Within a JSP Web Page I have two urls. From two images, one is a Tiff and the other one is a PNG. The one that is a PNG is like a stamp. The app functionality is to provide kind of a search mechanism for the Tiff images done and then provide the user with the option to prin...

Image Processing and Effects in ActionScript-3

I want to implement various effects like Sepia, GrayScale, Posterization etc. on BitmapData in ActionScript-3. How to do this and What is most efficient way to do this ? Thanks in advance!! ...

Image Classification - Detecting an image is cartoon-like

I have a large amount of JPEG thumbnail images ranging in size from 120x90 to 320x240 and I would like to classify them as either Real Life-like or Cartoon-like. How might one do this using ImageMagick's utilities: convert, compare, identify? Or are there other programs out there that will do the trick? ...

How to find RGB/HSV color parameters for color tracking?

I would like to track a color in a set of images. For this reason I use the algorithm of constant thresholding mentioned in Introduction to Autonomous Mobile Robots. This method simply marks all those pixels that are among a minimum and a maximum threshold of red, green, blue (or hue, saturation, value in my case). My problem is that ...

What tool can I use to convert a 8bpp image to a 4bpp format?

I have a script that runs recursively over many directories, and I'd like to convert all the 8bpp images to 4bpp ones. Is there something already written that can perform this sort of thing? I'd like to avoid to write the conversion in Ruby. Maybe something written in C could offer some performance boost? Any ideas? ...

Is it possible to reduce an image's depth using PIL?

Is it possible to reduce the depth of an image using PIL? Say like going to 4bpp from a regular 8bpp. ...

Bend a vector image (text) with script language

We want to show a dynamic text (ttf font, or similar) in a generated vector image (svg, pdf) and it should be bended similar like the names on a football shirt. Is there any command line tool or other possibility to do that? It is important that it is a vector graphic since the output will be printed on cloths! Thanks a million. ...

How does Google Books work? Are there any open source alternatives?

Hello, I have been asked to publish a complete book online similar way Google Books does? i.e. it's viewable and printable but not download-able. Is the process is basically "high quality scanning"? are there any open source solution to "mass generation" of "watermark" on those high quality images. Suppose you have an original image. ...

what are the steps in object detection?

I'm new to image processing and I want to do a project in object detection. So help me by suggesting a step-by-step procedure to this project. Thanx. ...