Tag for questions about bitmapped graphics, particularly those using the Image function.

learn more… | top users | synonyms

3
votes
1answer
64 views

How to get the size of a specific image in the front end?

The title pretty much says it all. One possible point of confusion is that this question is not limited to items with head Image. I don't know what is the ...
1
vote
1answer
39 views

How to save all images in GraphicsGrid?

I have a 2X2 images. How to save all the images at once while using GraphicsGrid ? when I try the save graphic option only one image is saved
2
votes
0answers
64 views

Identify and measure single bubble radius in series of images (TIFF)

I aim to make use of Mathematica's image processing capabilities to measure the radius of bubbles in consecutive images taken with a high-speed camera. After searching through this website I have ...
10
votes
3answers
271 views

Best method to find variation in width along the image of a slit?

EDIT: Solutions by @Alexey Popkov and @Vitaliy Kaurov are very intuitive and both can be used to find a solution for the task. I have a slit of 15-18 microns by 1 mm projected with magnified 4X onto ...
0
votes
0answers
55 views

How to spend any image in “2D” or “3D” to an image mesh, ie as a wire frame in black and white?

How to spend any image in "2D" or "3D" to an image mesh, ie as a wire frame in black and white? For example some of these: edit :example output
0
votes
0answers
54 views

Separate two intersecting curves in an image

I want to recover the data from an image of a plot by finding the points on the plot and fit them to a known model. I implemented the code for the cases where there's a single curve on the image, but ...
2
votes
0answers
61 views

Transparent bitmaps in controllers. Problem with initial appearance

Bug reproduced in V10.1 on Win7 I have a problem with images with alpha channel which I want to use as labels on Button etc. Unless I scroll or move cursor over ...
2
votes
1answer
62 views

Show scatter plot of change in image saturation

Let's say I have two images. One is the original and the other is after some photo-manipulation has been applied to it. I want to show the effect on the color saturation using a scatter chart. ...
14
votes
2answers
278 views

SaveDefinitions->True changes the displayed image

Bug introduced in 9.0.1 or earlier and persisting through 10.1.0 or later I have a Manipulate[ ] that displays an image with a superimposed ...
1
vote
0answers
43 views
7
votes
1answer
55 views

Setting an image as the background of a GeoGraphics image

It's easy to set the background of a GeoGraphics image to black, e.g., ...
7
votes
2answers
323 views

Using a given colour table with Image?

Context I would like to represent large images with a given colour table. Now, if I use Image ...
1
vote
0answers
39 views

ImageData to Image to ImageData, in LABColor [closed]

Given an $m\times n$ image $G1$, I'm trying to: Extract the $mn$ pixels of $G1$ as an $n\times m$ matrix $M1$ of triples, where each triple represents the color in LAB space. Turn $M1$ into an ...
5
votes
0answers
121 views

Incorporating photos into a Mathematica-made web page

I use Mathematica to make my web page. I make various .nb files, usually with photos, and then use an Export command to convert the .nb file to an .html file with ...
12
votes
2answers
1k views

Failure to export graphics by right-click when Notebook magnification is changed

Bug introduced in 9.0.1 or earlier and persisting through 10.1.0 or later When I try to export graphics as PNG, JPG and other rasterized formats using the right-click and choosing ...
3
votes
1answer
111 views

Compute a hessian matrix on a image?

Is it possible for Mathmatica to load a gray image and apply a hessian matrix on it?... It used image processing to find good features.
10
votes
2answers
511 views

Generating uniform random points over a binary image

So I recently read this excellent post about generating random points over arbitrary regions. I hope Wolfram eventually builds that functionality into Mathematica's Random functions. I want to do this ...
25
votes
7answers
3k views

Embed Code Into Image

I often export images(plots, matrix, arrays, etc..) from mathematica which I end up putting in word documents or uploading to the web. The problem is that I often lose the original code and I am left ...
6
votes
1answer
93 views

Graphics3D and Bit Depth of Rendering

A year or so ago, I sent this question to WRI (nb- a former employer of mine) and, as happens with bug-reports-that-arent-bug-reports, it was swallowed into the black hole that is Chambanna. So- I ...
1
vote
1answer
53 views

How to trim the image after rotating?

Want to rotate this image and then trim it. consider image=R6UgC.jpg; Imrot=Rotate[image, 2 Degree]; ImageTrim[Imrot, {{560, 400}, {900, 900}}] getting error ...
1
vote
1answer
98 views

How to scrape image search engines?

I'd like to download highest resolution images possible from the search results like these: ...
16
votes
1answer
600 views

How to identify chemical substance from tattoo?

A friend of mine made a tattoo on his chest of some chemical substance formula. He challenged us to identify which substance is that. I thought that perhaps a combination of: Mathematica image ...
0
votes
0answers
60 views

Is it possible to import Matlab “.fig” files in Mathematica?

Is it possible to import a ".fig" file made in Matlab into Mathematica? If I try the usual Import[filename] it produces an error ...
1
vote
1answer
126 views

Make continuous 3D tube out of 2D image (Mathematica 8) [duplicate]

I have the following image with transparency: which I want to paste repeatedly into a 3D space to make it like a tube, something like this (but denser): I tried using the code from here but it ...
4
votes
1answer
86 views

Trace one point's coordinate values in sequentially images

I am a research student in a university. I think I need some help. I used a video camera to monitor the vibration of a plank. Then I should calculate the amplitude and frequency of the vibration ...
0
votes
2answers
64 views

Help in evidencing a region (circular) of a .tiff image and cropping all the rest of the image

I'm asking for the community help since I have problems in cropping an image. I'm having LEED images which are 576*720p, which are made by a big black region at which middle I have the image I'm ...
3
votes
2answers
91 views

How do I change the size of an imported picture in an animation?

My code right now plots a function, and animates an image moving along the curve of the function. I want to reduce the size of the image for this animation but I can't figure out how. If I try to ...
6
votes
0answers
260 views

Bug report: Attempting to Save Selection As… in a magnified Notebook fails with errors [duplicate]

Bug introduced in 9.0.1 or earlier and persisting through 10.0.2 or later I have found that attempting to Save Selection As... in a magnified Notebook fails with errors. On my system it can be ...
9
votes
1answer
188 views

Raster to Image conversion problem

Update: NOT fixed in v 10.1 (Mar2015) (10.1 behaviour is the same that with 10.0.2) There are 3 ways to convert a Raster into an Image : only 1 works for me with version 10.0.1,10.0.2,10.1.0 , and ...
1
vote
2answers
75 views

Label point on plot with image instead of text [closed]

I can use this code to label my points with text. ...
4
votes
1answer
129 views

How to label my training images?

I'm switching over Matlab, but I have a problem. Matlab has a GUI tool called the "Training Image Labeler" (shown below) that I use all the time to label my training data for my computer vision ...
8
votes
0answers
113 views

Efficient image stacking

I have a list of lists of images that I would like to stack and create mean images for each list of images. Images are .jpg files 2592x1944 pixels large. Each list ...
2
votes
1answer
117 views

How to add a static JPEG into a Manipulate without slowing it down

I´m trying to add an image from a book into a Manipulate but it makes the Manipulate update very, very slowly. So much so that ...
0
votes
2answers
53 views

How do I color an Image generated from data such that one range of values is one color gradient and the others another color gradient [closed]

I can generate a Gray scale Image from some data that I collect. However I am trying to figure out how to generate the image with two color gradients or color scales based on the value. For example ...
7
votes
1answer
110 views

How to keep the non-overlapping parts when aligning images?

I would like to stitch together a pair of images. For example: ...
2
votes
3answers
217 views

Creating an image grid that displays a full-size image when a thumbnail in the grid is clicked on

I am working on some teaching resources and pulled a whole bunch of images off the internet to illustrate the idea of "angle". I can get Mathematica to import them and display them in a nice ...
4
votes
3answers
206 views

Inconsistent image sizing with Grid and Row?

Can anyone explain why Row and Grid don't size the image correctly and consistently to 300 ...
0
votes
0answers
87 views

Decompose Point-Spread Function into Seidel Aberration/Zernike Polynomials

I have measured the point spread function (PSF of a microscope) and I want to quantify it. For that purpose I want to fit my PSF data to the primary Seidel optical aberrations (or Zernike Polynomials, ...
5
votes
4answers
180 views

Coloring an image with two Color schemes based on a Range

I would like to color an image generated from some data using two colorschemes based on two ranges of the data. This is my attempt. ...
3
votes
2answers
78 views

How do I use an image as a `ChartLabel`?

I'm trying to use an image as a ChartLabel and I'm getting strange results. Here is a bar chart, with labels, that looks ok: But when I try to replace the "A" ...
2
votes
1answer
66 views

How to save a bounding box on an image?

It's easy to save the coordinates of individual points, but for the life of me I can't seem to access the box's position and dimensions: {top, left, width, height}. How can I achieve this?
2
votes
2answers
141 views

Generating b/w bitmaps from a binary sequence

I would like to make a bitmap that visually represents a binary sequence, something like this: Where for example the 1's become a black pixel and the 0's a white one. I have never done something ...
1
vote
0answers
107 views

How to find soccer balls in an image? [closed]

I have 10k images and I need automatically remove only soccer balls, excluding other types (volleyballs, baseballs, etc...). I'd like to use computer vision methods of V10 to find their masks and ...
0
votes
0answers
43 views

“Enlarge” a plot for export

I wish to export a plot with more resolution than it starts with. Interactively, I can do this by enlarging the image, and then exporting. Is there a way to do this programmatically? I attempted to ...
0
votes
0answers
61 views

Automatic measurement of components in a picture

I have a tricky problem, with which I'm stuck just after a few steps. I have the following picture of a slice of the brain. I want to detect all the named structures and measure the area of those ...
5
votes
2answers
187 views

Calculating displacement for a circular disc

I have to calculate the difference in diameter of two concentric circles. The image is obtained from an experiment and the data looks like this. The length required is the value of l as marked in ...
3
votes
2answers
66 views

How do I apply a ColorDataFunction[] to a grayscale image? [duplicate]

Suppose I have a 2D array im of real values between 0 and 1, representing a grayscale image. I can turn im into an image very ...
4
votes
1answer
154 views

HOWTO encode/decode large chunks of Mathematica code/results e.g. for posting on sites?

At times, we as questioners would like to post huge Mathematica-expressions to websites (e.g. mathematica.stackexchange.com), or have an easy way to get such code from a site. Above a certain size, ...
0
votes
0answers
50 views

How to export a PNG with an alpha channel?

Is "RGBA" not a supported colorspace? Export["test.png", RandomImage[1, {100, 100}], ColorSpace -> "RGBA"]