image-processing

How do Create Windows.Controls.Image Source with System.Windows.Media.Imaging.BitmapFrameDecode.

Hello Sir/Madam, I have created the BitmapSources using the following code. Assume iFrameCount is 10. for(int iIndex = 0; iIndex < iFrameCount; iIndex++) { //Reading Bytes this.BitmapSources.Add( BitmapSource.Create(iWidth, iHeight, dpi, dpi, PixelFormats.Rgb24, null, bytes, stride)); } And using(MemoryStream MemStream = ne...

Can this image processing code be optimised to use less memory?

Hello stackoverflow, I have a python function that takes a string s-expression like "(add (sub 10 5) 5)", where "add" and "sub" are actually image processing functions, and evaluates and creates the image represented in the string. The image processing functions take constants, variables, or other images (represented as lists of vectors...

How to zoom in/out an jpg image with actionscript?

Is that kind of job easy to do in flash? ...

Image retrieval optimisation with LINQ

Hi, I'm working on optimising the image retrieval from the database with LINQ. The approximate image size is 4000 * 1000 pixels which weighs about 400-600KBs. The images are retrieved through a controller which is being called by a webservice. Web service gets called through jQuery. The first image that gets retrieved in about 0.7 - ...

WHats the most efficient way to store profile images for a social networking website?

Hi guys, I've built up a simple social network and have given users the ability to upload profile photographs. The thing is that I've set it up so that upon upload the picture is resized to two sizes which are used in my website design. However the client requires a design change after a while. The new design thought up requires a differ...

Image comparison - rotation, alignment and scaling

Hello guys, I have the following needs. There are some number of forms, i.e blanks - for example the ones used in surveys. The ones which aren't filled with information, I will call image templates from now on. Apart from the image templates, I have also many images, which are essentially the image templates filled with information. For...

Anybody know how to implement 'Optimal global and adaptive thresholding?

Does anyone know how to implement'Optimal global and adaptive thresholding' algo? If know, can please share with me. Thanks. ...

What is the best JavaScript image processing library ?

Hi, I need some kick-ass effects for my web site, like gaussian blur, noise, convolution filters, morphological operations etc. All effects must be applied dynamically (no pre-renderend images) and being changed over time. What is the most powerful image processing library, implemented in JavaScript ? ...

Lagging video display using cvShowImage()

Hello, I'm trying to display a video file at 25fps smoothly without any lag. The code below does this, but only achieves about 10fps, taking about 0.1ms to execute. With cvWaitKey(1) I get around 0.03 to 0.04ms, which would be perfect, but the named window just stays grey and doesn't show the video! Is this because cvShowImage() is to...

Band-pass convolution/diff of Gaussians filter

The paper I am reading calls for the use of a band-pass convolution that is performed using a difference of Gaussians filter. How does this image processing operation work? ...

Finding differences between two images and update the second image

Hello, How do I find the difference between 2 images? replace the difference in the second image to make both images identical? I've found answers for the first part...but not for the first and second combined.... I would appreciate any help Thanks so much Edit: I'm using C#.Net Soucrs I've found so far... http://stackoverflow....

Image/Text Recognition

Hey guys, I saw that this company Mitek made an app that could read receipts through the iPhone's camera and record the information from them. (http://www.miteksystems.com/OOMPH_MobileReceipt.asp). My assumption would be that they run the images through some kind of image/text recognition software. Any ideas what what they might be usin...

Gaussian blur and convolution kernels

I do not understand what a convolution kernel is and how I would apply a convolution matrix to pixels in an image (I am talking about doing a Gaussian Blur operation on an image). Also could I get an explanation on how to create a kernel for a Gaussian Blur operation? I am reading this article (http://en.wikipedia.org/wiki/Gaussian_bl...

Histogram equalization with color correction (iPhone/objective-C)

I am trying to implement a histogram equalization method (HE) for a UIImage in my iphone app. I read the following: http://en.wikipedia.org/wiki/Histogram_equalization But it says: Still, it should be noted that applying the same method on the Red, Green, and Blue components of an RGB image may yield dramatic changes in the image's...

Are there revision control systems for images?

I would make crazy use of such a revision control. If it doesn't exist - where would to a good starting point for building one? I can probably make a lot of designs and interaction flows, but to implement it is another thing. Would it be a good idea start by creating a macro to work with Adobe Photoshop / Illustrator? Or one of the onl...

Zooming With Python Image Library

Hi, I'm writing a simple application in Python which displays images.I need to implement Zoom In and Zoom Out by scaling the image. I think the Image.transform method will be able to do this, but I'm not sure how to use it, since it's asking for an affine matrix or something like that :P Here's the quote from the docs: im.transform...

Resize an Image from PNG format to PNG format in cocoa dev

I have this code in a cocoa application to resize a PNG file to a certain dimension but I want the format to be still a PNG, but there is no PNGRepresentation method for NSImage. How do I do this? NSData *sourceData = [NSData dataWithContentsOfFile:fileName]; NSImage *sourceImage = [[NSImage alloc] initWithData: sourceData]; NSSize or...

Comprehensive Image processing example using Cocoa API

Can someone point out a comprehensive example on Image processing using cocoa API? I am developing an application for the Mac, and not for the iphone device. I usually come across with UIImage manipulation which provides an intuitive set of methods to achieve task such as per pixel manipulation and saving into file at different format. I...

Convert a Bitmap to GrayScale in Android

Hello, I am new to this site, and I come with a question about Android. Is there any way to convert a Bitmap to grayscale? I know how to draw a grayscale bitmap (using canvas operations: http://www.mail-archive.com/[email protected]/msg38890.html) but I really need The actual bitmap in gray colors (or at least somethin...

With the Python Imaging Library (PIL), how does one compose an image with an alpha channel over another image?

I have two images, both with alpha channels. I want to put one image over the other, resulting in a new image with an alpha channel, just as would occur if they were rendered in layers. I would like to do this with the Python Imaging Library, but recommendations in other systems would be fantastic, even the raw math would be a boon; I ...