image-processing

Projective transformation

Given two image buffers (assume it's an array of ints of size width * height, with each element a color value), how can I map an area defined by a quadrilateral from one image buffer into the other (always square) image buffer? I'm led to understand this is called "projective transformation". I'm also looking for a general (not language...

Example code for Resizing an image using DirectX

I know it is possible, and a lot faster than using GDI+. However I haven't found any good example of using DirectX to resize an image and save it to disk. I have implemented this over and over in GDI+, thats not difficult. However GDI+ does not use any hardware acceleration, and I was hoping to get better performance by tapping into t...

Where can I find facial detection software, algorithms, etc?

I'm interested in writing software that depends on being able to identify that there is a face in a picture (or video frame). It doesn't have to ID the face - so no metrics other than: Is there a human face in the picture (or more than one) Where, approximately, are the eyes and mouth or nose tip (whatever it keyed on.) It's popping...

How can I quantify difference between two images?

Here's what I would like to do: I'm taking pictures with a webcam at regular intervals. Sort of like a time lapse thing. However, if nothing has really changed, that is, the picture pretty much looks the same, I don't want to store the latest snapshot. I imagine there's some way of quantifying the difference, and I would have to empi...

How to manipulate images at pixel level in C#?

How to manipulate images at pixel level in C#? I need to be able to read/modify each bitmap pixel RGB values separately. Code sample appreciated. Thanks in advance! ...

Anyone know of a good algorithm for rendering an HTML table to an image?

There is a standard two-pass algorithm mentioned in RFC 1942: http://www.ietf.org/rfc/rfc1942.txt however I haven't seen any good real-world implementations. Anyone know of any? I haven't been able to find anything useful in the Mozilla or WebKit code bases, but I am not entirely sure where to look. I guess this might actually be a deep...

is there a perceptual DeltaRGB comparison of two colours (ie: like DeltaE2000)?

I was wondering if anyone knows of a reliable Delta RGB formula or code snippet that does colour Delta of the full RGB tri stim values, like how DeltaE 2000/cmc does Lab/Lch that takes perceptual differences into account?. The RGB Colourspace could be any but if it needed to be a particular one I could keep it sRGB for the calculations. ...

barcode image to Code39 conversion in C#?

I have barcode images in jpg format and want to extract barcode # from those. Please help! ...

A .Net component for processing a scanned questionnaire?

I am looking to incorporate scanning as a way of collecting feedback from paper questionnaires in my desktop application (a feedback management app). Questionnaires are completed using tick or cross marks as well as free text. The questionnaires are designed using the applications' designer. I am looking for a components that will pick...

Image processing textbook

Can you recommend a good textbook on image processing? A friend of mine asked for references, and that made me realize that my image processing library from my college days is probably very outdated. I'm looking for something that is a good introductory book for someone with a decent programming and math background, but who's not an ima...

What's the best way to "square" an image in .NET?

I need generate thumbnails for a bunch of jpegs (200,000+) but I want to make sure all of my thumbs have a equal height and width. However, I don't want to change the proportions of the image so I need to add empty space to the shorter dimension to "square it up". The empty space's background color is variable. Here's the code snippe...

Dilemma about image cropping algorithm - is it possible?

I am building a web application using .NET 3.5 (ASP.NET, SQL Server, C#, WCF, WF, etc) and I have run into a major design dilemma. This is a uni project btw, but it is 100% up to me what I develop. I need to design a system whereby I can take an image and automatically crop a certain object within it, without user input. So for example,...

How to get the file size of a "System.Drawing.Image"

I am currently writing a system that stores meta data for around 140,000 ish images stored within a legacy image library that are being moved to cloud storage. I am using the following to get the jpg data... System.Drawing.Image image = System.Drawing.Image.FromFile("filePath"); Im quite new to image manipulation but this is fine for ...

How to remove the background from a fingerprint image?

I have a fingerprint image taken from a sliding scanner. However the output does not have clean background. It looks like this: I want to remove the background so that further processing will be more accurate. Something like this: How to do that? What image processing technique (if any) can be used? Thank you. ...

Removing Duplicate Images

We have a collection of photo images sizing a few hundred gigs. A large number of the photos are visually duplicates, but with differing filesizes, resolution, compression etc. Is it possible to use any specific image processing methods to search out and remove these duplicate images? ...

Resources for image distortion algorithms

Where can I find algorithms for image distortions? There are so much info of Blur and other classic algorithms but so little of more complex ones. In particular, I am interested in swirl effect image distortion algorithm. ...

Looking for an OSX application that can do image processing using a webcam.

I'm looking for an OSX (or Linux?) application that can recieve data from a webcam/video-input and let you do some image processing on the pixels in something similar to c or python or perl, not that bothered about the processing language. I was considering throwing one together but figured I'd try and find one that exists already first...

On Ghostscript: Fastest way to create a blank .tif document

A legacy backend requires the email body with a .tif document, no tif and it fails. So i need to generate a blank .tif, is there a fast way to do this with ghostscript? edit: make once in project installation use when i need it. ...

How do I add exif data to an image?

On our site, we get a large amount of photos uploaded from various sources. In order to keep the file sizes down, we strip all exif data from the source using mogrify: mogrify -strip image.jpg What we'd like to be able to do is to insert some basic exif data (Copyright Initrode, etc) back onto this new "clean" image, but I can't see...

How best to resize images off-server

I have a site that users upload images to. Those images are resized to various dimensions. I currently do that on my server, but was thinking of processing that on AWS or something similar. Is that a good idea? ...