image

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); ...

Image Magick watermark problem (upgrade 6.5.1 -> 6.5.7)

We recently upgraded our version of image magick from 6.5.1 to 6.5.7 (via karmic->lucid ubuntu upgrade). One of the commands we rely on is resizing an image and then placing it on top of another image: composite -gravity 'Center' -resize '304x202!' watermark.png -size '320x213' base.jpg result.jpg In this example we are expecting a r...

how to resize an image with unknown size to a specific size without too much of deformation?

hi , I want to get an image from a user and re-size it to a specific size but the problem is : I don't know about the user's image size and I have to re-size it to a certain size but deformation is burden over here. how can I solve this problem? is there any algorithm according to that? or is there any source code preferably in .net? be...

Resizing image using as3

I am building a portfolio site which dynamically loads large hi-res images when the user clicks on a thumnail. However I'm having problems maintaining the original image's quality when resizing it to fit the current browser. Currently I'm just adjusting the width & height properties of the image to width to the stage proportionally whi...

How to convert an image into a transparent image in java

How to convert a white background of an image into a transparent background? Can anyone tel me how to do this? ...

How to render a full resolution image with WebView in Android?

The problem: I want to use a WebView to enable dynamic loading of ads in my app. I'm currently running on a HDPI device, and images width a width of 480px are clipped/scrolled. If I use images with a size of 320px, they are zoomed in and rendered at too low a resolution. The content of the loaded WebView url is a simple web page with j...

Embed an image nested inline within an HTML page for IE7+

Is there a way for nesting an image in an HTML page *inline* in IE7? I can't use external resource, all because of a particular server configuration (it's a web dispatcher in maintenance mode that redirects all requests to a single .html page). So I can't afford using the classical embedding by using the following: <html> <img src="m...

recommended image resource to display sprite

I have some images which I would like to use as sprites in my game. What is the best way to do this. I know .png , but Should the background be white, black, does the image, e.g. the character image , need to be "cut" out along its edges? Thanks in advance. ...

Measure the time required for an image to show on the screen?

Hey all, I would like to measure the time it takes for an image to appear on-screen in Java. I can override the paint() method and see how long that method takes to execute, but I am not sure if the image is on the screen at the end of that method. Basically, I want to fill these requirements: Time to show an image on-screen is cons...

ASHX handler; fires up only once...

I've got a simple ASHX handler that returns an dynamically generated image; the image is generated from a custom created class, and an object belonging to this class is passed to the handler using Session (I'd rather avoid using QueryString). The handler is used as the URL of an image on a ASP form which is very simple: a drop down list...

How to detect occurrencies of a small image in a larger image?

I would like to detect the occurrencies of a small image in a larger image, as well as coordinates. How do I do it with C#/.NET? ...

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 ...

API for Google Goggles or Visual Search?

Are there any APIs similar to Google Goggles that accepts a picture as input and outputs text descriptions? In other words, we're looking for a visual search API. if we submit photos, we want the service to say what the item is and provide a brief description ... similar to Google Goggles. Does this exist? ...

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 ...

What is faster, rendering gradient through css or load an image directly?

The reason for my question is because I like the new CSS3 styling techniques, but i'm not quite sure if it's worth it! (sub-question; anybody that knows if it's possible to use jQuery to apply a vignetting effect to a page?) Thanks guys ...

Jquery Bouncing Images Hover

How to bouncing images using jQuery when we hover the images? ...

Use a embedded Image in a Button Template in Silverlight 4

Hi, i would like to build a Template for my (edit)Buttons in Silverlight 4. Therefor i want to include the Images as a embedded ressource. so my question is: How can i use the embedded ressource images in the template for my button? The ControlTemplate (TargetTyoe="Button") is located i one external Ressources.xml. regards Christoph...

What is the transformation math for creating a 45 deg angle drop shadow?

I read somewhere in Google's reference (and I can not find it again) that the shadow for the map marker should be at a 45 degree angle. What is the transformation to apply to the original image to achieve this? By eyeball it looks like it could be a horizontal shear of about 50% followed by a vertical compression to 50%, but I suspect it...

How to overlay images in javascript?

Hello! I need to solve the following problem. I have two (or more) .PNG images of the same dimensions. Each PNG image is created with transparent background color. I need to display img1 and upon it img2, so in places where img2 has trancparent color, img1 will be seen. For example: img1 upper part filled with transparent color and a...

Ability to make images to save instead of open on page

I was wondering if there was any way to automatically make an image, or any link save to the disk instead of open in the window. wondering if there was any element i'm not using such as: <a href="image.jpg" target="_hdd" />..</a> of course this is pseudo-code in case anyone thought I was serious. ...