image-processing

subtracting one image from another

how can i subtract one image from another either row wise or column wise ? ...

Set DPI value to Tiff Image in C#

I'm trying to set dpi value of a TIFF Image in C# through code but somehow the values are not persisted after saving the Image. using (var image = new Bitmap(@"c:\newimage.tif")) { uint[] uintArray = { 300, 1}; //Setting DPI as 300 byte[] bothArray = ConvertUintArrayToByteArray(uintArray); PropertyItem item = image.PropertyI...

What algorithms to use for image downsizing?

What algorithms to use for image downsizing? What is faster? What algorithm is performed for image resizing ( specially downsizing from big 600x600 to super small 6x6 for example) by such giants as flash and silver player, and html5? ...

Is it possible to retrieve frames as images out of FMS live stream?

Has anyone tried this ? What's the best practice for this? ...

Image Resize problem in jqFancyTransitions.1.8.min.js

I am using jqFancyTransitions.1.8.min.js My Operating System is windows 7 x86 Please provide any additional information below. When i m using Multi sized images. The small images comes in tile property here i m attaching the demo file. Please solve this prob as soon as possiable. Thanks in Advance. Regards Vishal chuahn Mail:vishnam...

Creating a photo collage image as attached using PHP from several images

How can i create a collage from a large number of images as per below using PHP scripts? I am also looking at creating different sizes A0, A1, A2 sized images depending on the number of pictures used in the collage. Thanks ...

Save a Processing sketch to a PNG file, server-side with no GUI/display

I'd like to use Processing to render a visualization on the server side (headlessly, with no GUI). The Processing sketch is static (i.e. does not animate), so I only need to grab the first frame, and I'd like to serve this result out to the users of our web application on-demand. I've searched around a bit on the processing.org forums a...

How do I retrieve 16 bit pixel data from a tiff in Java?

I'm writing a program that will do image processing on a 16 bit tiff image (5 bit red, 6 bit green, 5 bit blue) but unfortunately the code I've written to do so treats the image data as 8 bit. To elaborate with code, I read the image into memory with ImageIO utility class like so: BufferedImage image = ImageIO.read(imageFile); and la...

How to identify human like patterns in a webcam feed?

The camera is about 5 feet away form the subject and when I capture a frame, I need to be able to tell if the frame has a human in it or not. I have some complicated plans on implementing it, just wondering if any of you know an existing solution that I can use. ...

Image processing - one frame is washed out, other isn't. How to 'fix'?

I have the following 2 consequative, unaltered frames from a video: For some reason the camera made the 2nd much 'washed out' than the first. I want to make the 2nd look more like the 1st. In the video I'm trying to process, there are lots of cases like this, where the 'exposure' changes suddenly from one frame to the next. I am abl...

Root mean square difference between two images using Python and PIL

I need to have a function like the one found here: http://effbot.org/zone/pil-comparing-images.htm that calculates the root mean square difference between two images. The code looks like this: import ImageChops import math, operator def rmsdiff(im1, im2): "Calculate the root-mean-square difference between two images" h = Image...

tiff image code in c language

Can you suggest me a website for reading a tiff image code in c language? ...

How to detect and remove guide lines from a scanned image/document efficiently ?

Hello All For my project i am writing an image pre processing library for scanned documents. As of now I am stuck with line removal feature. Problem Description: A sample scanned form: Name* : ______________________________ Age* : ______________________________ Email-ID: |_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_| Note: Following are the f...

Undefined function or method 'cornermetric' for input arguments of type 'logical'

i m trying to find corners in an image. I m using matlab 7.6 version and facing this error. here is code k='coins1.png'; i=imread(k); im=im(1:150,1:120); c=cornermetric(im); ...

imagejpeg() doesnt give the output properly in php

Hi there, I want to upload an image from disk, resize it, and then upload it to Amazon S3. However, I cant get the proper image output from imagejpeg(). heres my code: $sourceUrl = $_FILES['path']['tmp_name']; $thumbWidth = '100'; $thumbid = uniqid(); $img = imagecreatefromjpeg($sourceUrl); $width = imagesx( $img ); $height =...

Image processing c++

I need tutorials and help for my project about fake detection currency ...

Doing the same as ImageMagick's "-level" in python / PIL ?

I want to adjust the colour levels of an image in python. I can use any python library that can easily be installed on my Ubuntu desktop. I want to do the same as ImageMagick's -level ( http://www.imagemagick.org/www/command-line-options.html#level ). PIL (Python Image Library) doesn't seem to have it. I have been calling convert on the ...

Finding images with pure colours

I've read a number of questions on finding the colour palette of an image, but my problem is slightly different. I'm looking for images made up of pure colours: pictures of the open sky, colourful photo backgrounds, red brick walls etc. So far I've used the App Engine Image.histogram() function to produce a histogram, filter out values ...

Image Processing video lectures or any other learning resources?

Hi all, I am new to Image Processing. I will use Image Processing to for Medical Images. I am searching for video lectures or any other good learning resources? Any help. Thanks in advance. Regards, Saghar Ayyaz ...

Algorithm for finding a painted region on a canvas

Update: I am attempting to pull a little clutter out of this post and sum it up more concisely. Please see the original edit if needed. I am currently attempting to trace a series of single colored blobs on a Bitmap canvas. e.g. An example of the bitmap I am attempting to trace would look like the following: After successfully t...