image-processing

Programmatically modify an image to replace detail with text?

How would one programatically reproduce the following effect? I'd like to automate the process if possible, but have some control over the output (IE, inverting the color pallet to produce a light background for dark images, etc). Producing results in vector format would be great if possible too. Update: Rather than just recreating wit...

A question about Image.FromStream in .NET

I'm concerned about the third parameter in this overload, validateImageData. The documentation doesn't explain much about it, it only states that it causes the image data to be validated but no details, what exactly is done to validate the image data? public static Image FromStream ( Stream stream, bool useEmbeddedColorManagemen...

Texture Image processing on the GPU?

I'm rendering a certain scene into a texture and then I need to process that image in some simple way. How I'm doing this now is to read the texture using glReadPixels() and then process it on the CPU. This is however too slow so I was thinking about moving the processing to the GPU. The simplest setup to do this I could think of is t...

Delphi Components for Face Identification and Tagging

Are there any good components, free or commercial, available for Delphi (I use Delphi 2009) that will allow me to easily implement face detection and tagging of the faces in photos (i.e. graphics/images)? I need to do something similar to what Google Picasa's Web Albums can do, but from within my application. ...

Flash upload image resize client side

Does anyone got an ideia on how to get client side image resize using flash. Example: Client chooses an image with 1200x800 and before it uploads it flash will turn it into half of it or something. Any thoughts? ...

Where do I start learning about image processing and object recognition?

Hey everyone, I'm interested in writing some basic computerized object recognition application, so I figure I need some theoretical background in image processing algorithms, along with some AI for decision making capabilities. I'm a computer science graduate, and one day I plan to get my Master's degree, hopefully in one of these fiel...

How to create a .bmp in WinCE

I have a camera that returns raw images that can easily be converted to a bitmap that can be saved to a file by the following C# method (that I did not write). From various sources, I have determined that the pictures have 8 bits per pixel, and may or may not be grayscale. private void rawImgToBmp(byte[] imgData, String fname) { ...

How to dynamically create an image with a specified number on it?

I have a place holder image saying something like: Your rating is: [rating here] My PHP code is supposed to dynamically insert the rating number where there is a blank space left out for it on the placeholder image. How can I do that? ...

Upload Image to Server using PHP. Store file name in a MYSQL database, with other profile info.

Hi I have read many forums and websites that tell you how to upload an image to a server and I have managed to get this working, I can upload a file to a my server but storing the file name does work on the following example I found and I also need to create a form that allows more data to be entered to the database. I am stuck with this...

Is there a way to quickly resize a jpeg to 1/8 of its original size in .NET?

And hopefully with as little loss as possible, as I've heard the implementation put forward by a guy named Guido Vollbeding. Standard GDI+ doesn't seem to have this capability, and all I've found so far are either specs or fully-integrated tools. A lean, pluggable .NET component would be highly desirable. What are common pitfalls if it c...

Open source machine vision libraries

Which free/open source machine/computer vision libraries do exist? I'm aware of OpenCV and VxL, what else is available? ...

Use netpbm to upscale an image

I have a 72 dpi tiff that I'm trying to upsize to a 300 dpi tiff. I can do it from within image programs such as Gimp or even OS X built in preview. For some reason I can't seem to figure out how to do it in netbpm. I tried the following command line: tifftopnm < sample1.tif | pamditherbw -threshold -value 0.5 | pamscale 4.2 | pamtopnm ...

Image representation suitable for both WPF and Windows Forms

When working with Windows forms and images, I deal with System.Drawing.Image descendats. When I work with WPF I deal with System.Windows.Media.Imaging.BitmapSource class. Is there a UI framework independent way of referencing a memory image? Maybe it would be a Intptr or byte array? Thank you. ...

Image Thumbnails ASP.NET

Hi. I'm trying to genererate thumbnails from image files stored in a folder under the website root, I am currently using the built in capebilites in .NET to dynamically generate the thumbnails but the quality gets quite bad and since its an webshop thats a real problem my question is if there is any good (open source?) frameworks that ca...

Any good image processing book?

Hi, I am doing my last CS year project and I need some good documentation about image processing. I'll be doing it in C, probably on an embedded device running UcLinux. ...

Is there an easy way to compare how close two colors are to each other

Is there a way to compare how close two colors are to each other? If to say both of them are blue. At the moment the way that we compare them is to manually assign each possible color to a color family(red, green, blue...). And then just compare the strings :) But surely that manual task can be assigned to a neat little algorithm. ...

Using flickr to get photos of a specific location and put together a model

I've read about systems which use the Flickr database of photos to fill in gaps in photos (http://blogs.zdnet.com/emergingtech/?p=629). How feasible is a system like this? I was toying with the idea (not just a way of killing time but as a good addition to something I am coding) of using Flickr to get photos of a certain entity (in this...

Image Processing Library for C++

I need a library that can detect objects in an image (uses edge detection). This is NOT related to captchas. I am working on an MTGO bot that uses OCR and that works in any screen resolution. In order for it to port to any screen resolution my idea is to scan down narrow range on a results page (the cards that a player has can be listed ...

How to set a background then create rounded corners using GD or ImageMagick?

The problem I have is quite simple, I'm hoping somebody with GD or ImageMagick experience can answer it. I have a source .gif (which may or may not have transparency). I want to set a background (a gradient, though specifics shouldn't matter), put the .gif on top of that, then round the corners. The rounded corner areas should be tran...

Vectorizing an image

I'm trying to generate a vector graphic from an area in a bitmap image, and while my current algorithm works for most cases it has some problems and it is quite slow. So I was wondering if you people know of any simple algorithms or code examples of how to do this efficiently. My situation is simple. I have a bitmap image, with sever...