Hi, I am writing an application in Java to view images which contain a lot of text and graphics, like a screenshot of a webpage, actually its a image of a magazine article. Some parts are text, some parts are graphics.
My client program is written in Java, I can use any image format, what is the best image compression format I can get m...
I want to save an image in EXIF format using System.Drawing.Image.Save or a similar method in a C# application using .NET framework v3.5. The MSDN documentation lists EXIF as an option for ImageFormat. However, it does not seem to be supported - at least not without some configuration unknown to me. When I enumerate the built-in encode...
Hi,
I'm doing feature extraction from an image in Matlab.
I'm having to apply many functions over nXn windows for this purpose (such as to find the variance over each 3X3 window, etc.
Is there an easy and efficient way to do this in Matlab other than looping over the matrix and collecting the window elements each time?
For some function...
Well I've written a basic lossless jpeg joiner thing in java now but I'd like to compare the files it produces with the original files.
I can only compare so much in a hex editor, does anyone know of an easy way, software or java based (preferably software as I dont feel like any more coding for now!) that I can compare two images and p...
See also: Why is my image rotation algorithm not working?
This question isn't language specific, and is a math problem. I will however use some C++ code to explain what I need as I'm not too hot on math.
Here's how the image is composed:
ImageMatrix image;
image[0][0][0] = 1;
image[0][1][0] = 2;
image[0][2][0] = 1;
image[1][0][0] ...
If I have a series of pixels, which range from say -500 to +1000, how would I normalize all the pixels on the same gradient so that they fall between a specific range, say 0 and 255?
...
I'm doing some image processing, and I need to find some information on line growing algorithms - not sure if I'm using the right terminology here, so please call me out on this is needs be.
Imagine my input image is simply a circle on a black background. I'd basically like extract the coordinates, so that I may draw this circle elsewhe...
Attempts 1 & 2:
Note: Removed first attempts to cut down on question size. See community wiki for previous attempts.
Attempt 3:
As per fuzzy-waffle's example, I have implemented the following, which doesn't appear to work correctly. Any ideas what I could be doing wrong?
ImageMatrix ImageMatrix::GetRotatedCopy(VDouble angle)
{
//...
I wish to convert an IplImage into a JPEG image in the memory (in order to stream it as M-JPEG frame over sockets) .
I know I can use CvSaveImage for this, that creates a jpeg file, I read it again and then stream it over the network.
I wish to avoid this extra disk write-read ops for faster operation. Any insights ?
...
Hi, I have a file (image) upload script in PHP that I use to upload and resize images... It uses a simple MIME type and size validation so only jpg images are allowed and 1MB max file size.
I recently discovered a problem. When I try tu upload a .avi file using the script, the script processes the file like its the correct MIME type and...
I have some image processing code that loops through 2 multi-dimensional byte arrays (of the same size). It takes a value from the source array, performs a calculation on it and then stores the result in another array.
int xSize = ResultImageData.GetLength(0);
int ySize = ResultImageData.GetLength(1);
for (int x = 0; x < xSize; x++)
{ ...
Hey everyone,
I am currently using an image manipulation script to do some work on uploaded images and I'm running into a problem in my dev environment. This same code works on my production server.
The error is:
PHP Warning: imagecreatefromjpeg(): php_network_getaddresses:
getaddrinfo failed: Name or service not known in /path/to...
Are there better alternatives to PIL (Python Imaging Library - http://is.gd/3OPI ) for basic image file I/O and processing in Python?
...
There are two "layers" (Image control with PNG bitmap) inside Grid (or Canvas): one image directly positioned on top of other one. Is there a way to display combined image created by multiplying images colors (the Photoshop/GIMP layer effect)?
...
System.Drawing has supports for very limited number of image formats
What I am trying to do is, given an image of some format(JPG, TIFF, GIF, or PDF), conver them to other formats.
I am specifically looking for a free or an open-source versions of library for .NET.
Google and Stack Overflow gave me results libraries such as LeadTools (...
Hi experts,
I need to take sequence of images as input from a folder and after resizing the resized image should store on output folder. I write a code. But in my code after resizing image, out put folder only show black image.
To debug this code pls create input & output folder and put some gif image on input folder and see the outpu...
I wish to make a bitmap image (.bmp) transparent using VB.NET code. Kindly help me.
...
I am developing a C# .NET application which will display the image captured from a camera (smart camera). I am using the function below to convert the raw data received from the camera (which is a byte array) to a bitmap image. The problem I face with the below code is that, the image displayed in the C# .NET application's picture box (w...
Hi all,
I've recently upgraded my Matlab from 6.5 to 7.7 and am also using the Image and Mapping toolboxes as well as a few others. What I'm currently trying to do is bring up-to-date a few of the M scripts in order for them to take a file in, keep it's projection and export the same image. I'm inheriting most of the code which I'm curr...
How can I write an application that will crop images in C#?
...