image-processing

How can we use the colormatrix only a part of image rather than whole image?

I know the use of colormatrix. but this work on the whole image. is there any way to work with colormatrix only a part of image rather than whole image. eg i want to give the brightness of only border area of image. i am working with c#. ...

Algorithm for Polygon Image Fill.

Hi All, I want an efficient algorithm to fill polygon with an Image, I want to fill an Image into Trapezoid. currently I am doing it in two steps 1) First Perform StretchBlt on Image, 2) Perform Column by Column vertical StretchBlt, Is there any better method to implement this? Is there any Generic and Fast algorithm which can fil...

Joining two images in php

How can I join a head image and body image so that the head image is precisely fixed over the neck in body image. Files are at: Head Image: http://yajurinfotech.com/projects/stickers/head1.gif Body Image: http://yajurinfotech.com/projects/stickers/body2.gif I have made an attempt at http://yajurinfotech.com/projects/stickers/preview...

Speedup Matlab to C++ Conversion

Hey there I have some Matlab image processing code which runs pretty slowly and I'm prepared to convert it over to C/C++. I don't really know much about how matlab works and how code is executed but I'm just interested to hear what kind of speedups I might expect. Clearly there are many variables that will affect this but I'm just loo...

Resizing images in Silverlight 3 using WriteableBitmap

This is my first day with Silverlight. I’m trying to prototype an application which (among other functions) should be able to resize user supplied images. It should be able to handle and display several resized images at once. The most obviously approaches I've tried seem to "leak" memory in the sense that the original bitmaps are still ...

Store tiff images in SQL Server or file system?

Our system needs to store tiff images of about 3k each in size. We received about 300 at a time, and need to process them pretty quickly. Later, once we have received say around 100,000 of these, there are transferred off to another archival system or purged. Would storing the images in SQL Server or the file system give us better per...

3x3 Sobel operator and gradient features

Reading a paper, I'm having difficulty understanding the algorithm described: Given a black and white digital image of a handwriting sample, cut out a single character to analyze. Since this can be any size, the algorithm needs to take this into account (if it will be easier, we can assume the size is 2^n x 2^m). Now, the description s...

Image processing / super light OCR

I have 55 000 image files (in both JPG and TIFF format) which are pictures from a book. The structure of each page is this: some text --- (horizontal line) --- a number some text --- (horizontal line) --- another number some text There can be from zero to 4 horizontal lines on any given page. I need ...

Stick Images together

I just tried to use Google Map Buddy to get satellite image from Google Map. This application first download small images from google map and then stick them together into new image. I had to wait about 2 hours to get images download my computer and it looks like it downloaded all images (22,194 images) but then the app told me that it c...

Favorite technique for hand gesture recognition

There is a lot of research going on about gesture recognition. I figured I would narrow this down to the topic of hand gesture recognition (i.e. stationary hand positions, up to as complex and dynamic as sign language recognition). Considering the image processing techniques available in real-time, such as blob detection, edge detection...

What is the most efficient way to display decoded video frames in Qt?

What is the fastest way to display images to a Qt widget? I have decoded the video using libavformat and libavcodec, so I already have raw RGB or YCbCr 4:2:0 frames. I am currently using a QGraphicsView with a QGraphicsScene object containing a QGraphicsPixmapItem. I am currently getting the frame data into a QPixmap by using the QIma...

ASP.NET Image Upload Architecture

What would be the best method to implement the following scenario: The web site calls for a image gallery that has both private and public images to be stored. I've heard that you can either store them in a file hierarchy or a database. In a file hierarchy setup how would prevent direct access to the image. In a database setup access to ...

how to modify this php script to handle png and gif uploads

I have the following script (it looks long, but well commented). Problem is, i get errors when i try to upload a png or gif image. What can i do to adjust this (easy if possible) so that it can either work with png's and gif's or convert them before trying to work with them. This is the error that i recieve Warning: imagecreatefromjpeg...

PHP/GD Gaussian Blur Effect

I need to obfuscate a certain area of an image using PHP and GD, currently I'm using the following code: for ($x = $_GET['x1']; $x < $_GET['x2']; $x += $pixel) { for ($y = $_GET['y1']; $y < $_GET['y2']; $y += $pixel) { ImageFilledRectangle($image, $x, $y, $x + $pixel - 1, $y + $pixel - 1, ImageColorAt($image, $x, $y)); ...

compress image file size on upload??

I am uploading product screenshots to my website... I want to upload the original image as it is and also create a thumbnail for it, but after uploading both the files the filesize of the thumbnail created is a bit larger than expected. Is there any way I could reduce the filesize of the thumbnail without compromising much on the qualit...

Integrate ITK (Insight Toolkit) into own project

Hello, i am having problems integrating ITK - Insight Toolkit into another image processing pipeline. ITK itself is a medical image processing toolkit and uses cmake as build system. My image pipeline project uses cmake as well. According to the user manual of ITK it is favorable to use the "UseITK.cmake" file in the build (out of sourc...

Drawing an image in a NSView

I have a simple Obj C program that, at the moment, lets you load an image, draws it up, and theoretically should let you zoom and rotate. I'm using NSAffineTranslations. I want the image to be locked to the upper left (As opposed to the PS/PDF standard of lower left), so I'm using isFlipped, and calling [afTrans scaleXBy:1.0 yBy:-1.0]; ...

Algorithm to make halftone images?

What is a good algorithm to make halftone images (like this)? A quick google search brings up a bunch of papers on the subject, but it's difficult to judge which are good, efficient, etc. Is there a best choice to do this sort of thing? ...

How to resize an image in C# to a certain hard-disk size?

How to resize an image an image in C# to a certain hard-disk size, like 2MiB? Is there a better way than trial and error (even if it's approximate, of course). Any particular keywords to search for when trying to find the solution on the web? ...

ImageMagick thumbnail not viewable on some browsers

We are using the open source image manipulation tool ImageMagick to take thumbnails of various files. We thought things were running pretty smoothly with all this, until we realized that some browsers (namely Internet Explorer 8 and Chrome) were unable to display the JPEG files. I can only assume that the output of the ImageMagick conv...