image-processing

How to embed a text link in an image ?

How do I embed text in an image? The embedded text should be hyperlinked to an URL. The use case is like having an image with a link that says 'Click here' which opens a new page. ...

Whats the most efficient method for transitioning between two images (Like Mac wallpaper change)

I'm working on a wallpaper application. Wallpapers are changed every few minutes as specified by the user. The feature I want is to fade in a new image while fading out the old image. Anyone who has a mac may see the behavior I want if they change their wallpaper every X minutes. My current thoughts on how I would approach this is ...

Haskell image processing library?

Anyone have a recommendation for a good image processing package for Haskell? Why do you like it? ...

Fast Cross-Platform C/C++ Image Processing Libraries

What are some cross platform and high performance image libraries for image processing (resizing and finding the color/hue histograms). No gui needed. This is for C/C++. So far I have looked in to OpenCV GIL as part of Boost DevIL CImg My questions How's the performance of the ones I have listed above What are some other librari...

How achieve Image.Clone() in WPF?

Hi there, I obtain an array of byte (byte[]) from db and render into a Image Control using the following method : public Image BinaryImageFromByteConverter(byte[] valueImage) { Image img = new Image(); byte[] bytes = valueImage as byte[]; MemoryStream stream = new MemoryStream(bytes); BitmapImage ...

Saving image to file with IImageEncoder

Hi, do you have a working code to share. I’m trying to figure out how to save to a file an IBitmapImage image. I need to resize existing .jpg file and it seems like the only API for Windows Mobile. I managed to load it convert it to IImage -> IBitmapImage -> IBasicBitmapOps and resize it finally, but I have no clue how to save it pro...

Looking for a PHP Image Library... rounded corners & resizing

Just looking for a good PHP Image Library, I want to display images with rounded corners, do some resizing, and blur some other pictures either on the fly, or on upload. ...

How to display quick-updating images without large memory allocation?

I've got a WPF application on an ultrasound machine that displays ultrasound images generated in C++ at a speed upwards of 30 frames per second. From what I understand, the normal process for displaying images in WPF is to create a BitmapSource for your image and set the Source for your Image, which then causes it to invalidate and disp...

Determine the differences between two nearly identical photographs

This is a fairly broad question; what tools/libraries exist to take two photographs that are not identical, but extremely similar, and identify the specific differences between them? An example would be to take a picture of my couch on Friday after my girlfriend is done cleaning and before a long weekend of having friends over, drinking...

C# - Block code from executing in the designer

I'm executing a line of code that fails to execute within the designer, causing all of my control's public properties to no longer show up in the designer. Because of this I can no longer see any of my forms that use that control in the Visual Studios Design View. The line of code in question calls an unsafe code project that does a bit...

Why are JPEG images created with System.Drawing larger than original Bitmaps?

I'm having a strange problem - I have about 14.5 million bitmap images, that are supposedly uncompressed. I need to convert these bitmaps to JPG and store them in a database. When I use the classes provided in the .NET System.Drawing library to save the bitmap as a ImageFormat.Jpeg, the resulting JPEG is about twice the size of the ori...

Python's PIL crop problem: color of cropped image screwed

Hi, I have a probably very basic problem with PIL's crop function: The cropped image's colors are totally screwed. Here's the code: >>> from PIL import Image >>> img = Image.open('football.jpg') >>> img <PIL.JpegImagePlugin.JpegImageFile instance at 0x00 >>> img.format 'JPEG' >>> img.mode 'RGB' >>> box = (120,190,400,415) >>> area = img...

How can I compute the dense disparity map from to stereo images ?

How can I compute the dense disparity map from to stereo images ? My idea so far was to go over all the pixels from the first image, and scan the second image for matches. To compare the similarity of two pixels i computed the squared difference of pixels in a small window around them. The algorithm works relatively well on synthetic i...

rotating bitmaps. In code.

Is there a faster way to rotate a large bitmap by 90 or 270 degrees than simply doing a nested loop with inverted coordinates? The bitmaps are 8bpp and typically 2048*2400*8bpp Currently I do this by simply copying with argument inversion, roughly (pseudo code: for x = 0 to 2048-1 for y = 0 to 2048-1 dest[x][y]=src[y][x]; (In...

Performing Photoshop's "Luminosity" filter programmatically

I have two JPEG's and would like to overlay one on the other with the same results as the "Luminosity" mode available in Photoshop (and Fireworks). You can read more about Luminosity mode here: http://www.adobetutorialz.com/articles/662/1/Photoshop%92s-Luminosity-Mode How can I do this? Programming language doesn't matter much, but I ...

AJAX load of a rendered PNG not working

I am rendering a custom image based on some defaults and parameters in POST with a custom php script and the GD library. I am trying to build a custom form to allow users to select these parameters and then send an AJAX request to render the image and send it back and load a preview in the page. The problem is that the first preview ...

Why is iplRotate() not giving me correct results?

sigh I'm sorry to say that I'm using Intel IPL (Image Processing Library) in some image processing code I'm working on. This is the tale of my struggle with getting my images to rotate correctly. I have a source image. It has a size (w, h) which is not necessarily square. It is going to be rotated by angle theta. I've calculated the ou...

image processing techniques - direct manipulation of destination image or virtualized?

i need to re-project a series of ariel images that have been referenced in a geographical coordinate system into a UTM projection. I had read that using getPixel and setPixel might be slow - should set up a series of 2 dimensional arrays for intermediate access and then flush the values to the destination image when I am done. Is this ...

Text detection / location libraries

I need to detect the bounding box(es) around portions of text in an image, and while there are quite a number of scholarly articles describing algorithms, I haven't found any implementations. The specific problem I'm trying to solve is this: Given an image that may or may not contain text, determine if the image does contain text, an...

Opencv MPEG7 descriptors

Hi all! I am working on the system that compares images. MPEG-7 standard provides some descriptors which can be used for that e.g: Dominant Color, Color Layout, Edge Histogramm, Color Coherence Vectors. Do you know where i can get a source code for some of these methods? Thx! ...