image-processing

Image manipulation

I need the easy to learn & fast method for generating image from background image, texts and after that saving as JPEG format. What you can suggest? Any library or tutorial on this? Important criteria is simpleness. ...

C# Magic Wand Tool

I want to write a function that work like magic wand tool dynamic in C# . Can I do ? Thanks ...

Display array as raster image in python

I've got a numpy array in Python and I'd like to display it on-screen as a raster image. What is the simplest way to do this? It doesn't need to be particularly fancy or have a nice interface, all I need to do is to display the contents of the array as a greyscale raster image. I'm trying to transition some of my IDL code to Python with...

Measuring of Object through Image Processing.

I want to measure object's length through image processing in accuracy of 0.001mm. means 1 pixel = 0.001mm, than how much zooming i need and i have doubt that that much accuracy or zooming is possible? if possible than is there any camera which can give me that much accuracy? ...

service for creating thumbnails ?

I'm running a dating site and generate thumbnails for uploaded profile images, i have a pretty basic algo that generates square thumbs and in about 95% of the cases the thumbs are pretty good and don't crop out the person's face. I was wondering if anybody knew of either : a good (free and open source) php based package that I could us...

Saving/loading document state quickly and robustly for image editor

I'm looking for some critique on my approach for storing the state of a bitmap editor for Android and iPhone mobile phones. Even a "Looks fine to me!" response would be great! In the application, the current user document contains several bitmap layers (each maybe 1024 by 768 pixels) that can each be painted on. The basic requirements ...

Will it be more cost efficient to use DSP/FPGA, instead of x86, to add simple watermark on JPEG/GIF/... files?

My current project is to add simple logo and some sentences on the given graphic files. Each file is less than 500k on average. I am going to put the service online. So it should be able to handle 50requests per second. Our current budget is limited. Any suggestion? ...

Road Detection based on Hough Transform

Is it possible to detect and track a road, in an autonomous vehicle, using Hough Transform? If so, are there any algorithms that implement this already? Would love a link to one as I haven't really been able to find any that aren't way over my head. In particular, I'm looking for algorithms that use the vanishing point of two straight l...

Current version of the rmagick gem (2.13.1) doesn't work with current version of ImageMagick (6.6.4)

I'm on OSX Snow Leopard though I think this may not be a platform-specific issue. The problem is I've wasted hours of my life trying to get gem install rmagick to work and I'm hoping to save the next person that grief. I believe the core problem is summed up in the title. Questions: Can anyone confirm that Rmagick 2.13.1 doesn't work ...

Subtracting RGB values

I'm doing some work with images; I don't want to convert them to grayscale because I want to factor in the color. As you know, with grayscale, different colors can have the same grayscale value. If I were to subtract RGB values of one pixel from another, I assume that they will still have skew? That is to say, I would need to weight t...

How to process CIFilter using CPU instead of GPU?

Does anyone know how to tell core image to process a CIImage through a CIFilter using the CPU instead of the GPU? I need to process some very large images and I get strange results using the GPU. I don't care how long it takes to CPU will be fine. ...

Google PageSpeed & ImageMagick JPG compression

Given a user uploaded image, I need to create various thumbnails of it for display on a website. I'm using ImageMagick and trying to make Google PageSpeed happy. Unfortunately, no matter what quality value I specify in the convert command, PageSpeed is still able to suggest compressing the image even further. Note that http://www.imagem...

Create a mask from difference between two images (iPhone).

How can I detect the difference between 2 images, creating a mask of the area that's different in order to process the area that's common to both images (gaussian blur for example)? Also, some code of this procedure would be very much appreciated. EDIT: I'm using this code (from this answer) to get the RGBA value of pixels: + (NSAr...

the dreaded "Warning: imagecreatefromjpeg() : '/tmp/filename' is not a valid JPEG file in /phpfile.php on line xxx"

Hi all, I've been getting this warning when some people upload images to our site : Warning: imagecreatefromjpeg() [function.imagecreatefromjpeg]: gd-jpeg: JPEG library reports unrecoverable error: in /home/sherifo/private/includes/snapsutils.php on line 220 Warning: imagecreatefromjpeg() [function.imagecreatefromjpe...

Flash to image script

Does anyone know of a script, preferably PHP-based that will allow conversion of a static flash to an image? ...

How to effectively render video in Java (AWT??)

Hi, in my project I've got a class FrameProducer firing events each time a video frame has been created. Each frame is an image returned as an java.awt.Image.BufferedImage object. I've got 2 FrameProducer objects and would like to render BufferedImage's produced by them simultaneously on the screen. I would like the picture rendered on...

Image classification in python

I'm looking for a method of classifying scanned pages that consist largely of text. Here are the particulars of my problem. I have a large collection of scanned documents and need to detect the presence of certain kinds of pages within these documents. I plan to "burst" the documents into their component pages (each of which is an ind...

Simplest way to calculate the width and height of a jpeg image in Python

How can I calculate the width and height of an image in Python? I'm using the "Image" library already if that makes it easier. Thanks. ...

Object detection/tracking within Java

Hi all, I'm looking to do some image processing in Java and I'll be developing in Ubuntu with Eclipse. So here is my objective: From a greyscale image, I would like to be able to detect certain sized objects and draw a rectangular frame around them. However, the catch is that this image is captured from a thermal imaging camera so to ...

KOFAX Bitmap Files : How can I open them?

My C# application receives image files from KOFAX VRS TWAIN driver in TWSX_FILE mode, but neither my own .NET based application nor Windows default image viewer can open these files. However, Adobe Photoshop can open them without any problem. I tried FreeImage library and although it detects their dimensions correctly it renders black im...