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

learn more… | top users | synonyms

0
votes
0answers
29 views

How to display an image at native size on a display using CreatePalette? [duplicate]

I am trying to display an image in a new Notebook, centered on the display, using CreatePalette. Here is example code: ...
4
votes
1answer
61 views

How to increase the image resolution of a map?

I'd like to obtain higher-resolution geographic maps retrieved from Wolfram geo server, since the standard resolution seems poor. I tried to increase the "TileSize" parameter, like this: ...
7
votes
1answer
160 views

Transparent bitmaps or graphics in gui objects initially appear wrong

Bug introduced in V9.0 or earlier and persisting through 10.4.1 I have a problem with images with alpha channel which I want to use as labels on Button etc. ...
7
votes
1answer
150 views

Weird behaviour of HighlightImage—bug or not?

For background, check my answer under this question. It is clearly stated in the documentation of HighlightImage that the 2nd argument,...
0
votes
0answers
53 views

Getting an exact coordinate on an image by one pixel

I have a question that was very well answered by a colleague [C.E.]. Importing and animating images He gave me the following information:"Right click on the image of the first component and choose "...
4
votes
2answers
245 views

How to import 12-bit TIFF image

I have a CMOS camera which records images at 12 bit resolution. The camera software allows to save them as 12-bit TIFs. However, Mathematica cannot import this: ...
20
votes
1answer
3k views

How to create a fascinating QR code like this?

Check the facinating QRCode in my profile page here You can find that this QRCode is some sort of intriguing as the QRCode is a IMAGE ITSELF!!! So my question is, how to create such a QRCode ...
3
votes
1answer
173 views

Quick way to generate the Shepp-Logan phantom

I have some very old code for generating a Shepp-Logan phantom: ...
0
votes
1answer
33 views

Troubles with showing axis after saving in EPS

I'm trying to save a picture in EPS and then to put it into my LaTeX document. But when I put it the left axis is not shown. How do I fix it? (look at the screens) If I save the image in JPG, there'...
11
votes
1answer
363 views
3
votes
1answer
86 views

Automatic cascading placement of graphics

Is it possible to automatically cascade graphics or images in MMA? It seems to me that most of the built-in graphic functions have a gridded style, e.g., ...
49
votes
3answers
2k views

Composition à la Mondrian

I would like to paint something like this or,even better, like this I have tried ...
4
votes
2answers
162 views

Delete all mostly white images in a folder

I need to delete images that are all or mostly white, here's a sample of them: Here is my my code finds, my code is not very accurate nor efficient: ...
5
votes
1answer
105 views

How to return position of one image inside of another [duplicate]

With ImageAlign result is another image, that is composition of another two. But I'm looking for function that will find position, x-y coordinates of smaller image ...
0
votes
2answers
99 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 ...
2
votes
0answers
49 views

How to export the high resolution animation movie? [closed]

I would like to export high resolution animation Here is the code: ...
2
votes
0answers
43 views

What are the differences among Graphics, Raster, Image, List(ImageData) in Mathematica in terms of Head? [closed]

I do not know the exact conceptions of Graphics,Raster,Image,List(ImageData). I have only dealt with and used them in ...
3
votes
3answers
123 views

How to extract coordinates {x,y,z} from Raster3D

I want to extract coordinates out of a Raster3D. It is possible to extract coordinates out of an Image3D by using ...
29
votes
3answers
2k views

How to place an image inside a notebook, with the minimum memory footprint?

When creating a notebook with images, like photos, the file tends to quickly get big, which makes it difficult to use the notebook format for training material containing a lot of images. Are there ...
3
votes
1answer
51 views

Image background for cell?

I'd like to make code Cells have a specific background image. I know you can do this for Notebooks, but what about Cells? This simple test fails: ...
15
votes
2answers
2k 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.4.1 or later When I try to export graphics as PNG, JPG and other rasterized formats using the right-click and choosing ...
1
vote
1answer
76 views

Getting raw data using DcRaw

I'm using dcraw program to import raw image data to Mathematica. When I use Run["dcraw -4 -D -T "image.nef"] (which converts it to an unprocessed linear TIFF file) ...
3
votes
1answer
85 views

Problem with ComponentMeasurements and property “Centroid” [closed]

I am showing here three test images to investigate the output of ComponentMeasurements when using the property "Centroid". <...
4
votes
1answer
184 views

How to apply by-hand image selection to different images

Mathematica supports image selections by hand, by utilizing the selection tool. I used it to extract relevant data (hundreds of little squares). Now I have a second image of same size, where I want to ...
3
votes
3answers
70 views

Magnification of a notebook image object

When you resize an image in a notebook with your mouse you get a tool tip with size and a magnification percent for your image: Is there some way to programmatically ascertain these values in the ...
1
vote
0answers
34 views

embeding an image in a cdf deployment

I would like to embed an image into CDF. Import function just import the function from a pathway but I would like the image to be present in the CDF or nb file as a part of it not importing. ...
4
votes
1answer
88 views

Find the area enclosed by a loop in an image (Contour in a plot)

Is there a way to simply compute the area enclosed by a line in an image, like this: Here's an example of what I mean by a few of the "enclosed regions" Solution 1 These sorts of images are ...
2
votes
2answers
7k views

Calculate the 2D Fourier transform of an Image

I am new to Mathematica, and using version 8.0. I would like to calculate the 2D Fourier Transform of an Image with Mathematica and plot the magnitude and phase ...
32
votes
7answers
5k 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 ...
0
votes
2answers
161 views

Why does the function Image not yield a proper output? [closed]

Can I get the exact reason why the function Image doesn't yield a proper output in the below? Image[TreeForm@{1, 2, 3}] It ...
1
vote
0answers
66 views

2D image rotation about 3D vector and projection

I'm trying to rotate a 2D image such that the viewing angle is not along the normal to the 2D plane, but along some other vector. I tried various things such as: ...
3
votes
0answers
50 views

Overlay Inside a Grid/Column/Row Not Working

Here is a microscopy image of some cells I want to make measurements on with Mathematica: In order to make some measurements of cells in a microscopy image I have written a simple dynamic overlay ...
0
votes
1answer
47 views

How to use Rescale to make a brighter image?

I want to compose three single exposures into an RGB image. I have three 2D arrays that represent each exposure and I can combine them into a 3D array, specifying the RGB values for each pixel. My ...
0
votes
0answers
39 views

How to select very small components in an image

I have been trying to identify the centroids or positions of the small yellow dots (not the large regions) in the image below. I have adopted the following strategy (please see the code), however, i ...
2
votes
1answer
93 views

Colors in ImageMarker

The symbol ImageMarker (new in 10.4) seems to ignore color commands: ...
2
votes
2answers
586 views

How to Flatten and stack Efficiently 50000 Images

I have 50000 grayscale images with 56*56 pixels each one. I need to flatten images and stakck it in the same array with dimensions 50000*3136 after that export the file as .CSV. I am doing this code ...
6
votes
2answers
95 views

Terser way to get the intensity of one pixel

I want a function to return the intensity of one pixel notwithstanding the Color Space of the source image. I wrote: ...
21
votes
2answers
398 views

Reconstruct a graph from an image (curved edges and edge crossings)

Actually, I posted a very similar question before this.How to generate a Graph from a picture of a graph Dr. belisarius's answer have answered that question, but I find a limitation in that method: ...
3
votes
2answers
229 views

Can I save a manually cropped Image in Mathematica 10 without hard cropping?

In Mathematica 7 I was accustomed to a certain workflow: Paste an image into a Notebook Select Actual Size from the context menu, if necessary Ctrl-drag the control points on the sides of the frame ...
0
votes
2answers
73 views
4
votes
1answer
125 views

Detecting rectangle shape from an image

Motivation: I want to automate the process of analyzing "Electron SpectroMeter (ESM)" data. ESM uses magnets to bend electrons so that electrons with different energy are separated spatially. ESM ...
13
votes
5answers
2k views

Fit image of mountain to gaussian

I want to detect the edges of an image of a mountain and then fit that to a gaussian. I am unsure about how to only get the mountain edge, rather than every single edge in the image. How do I ...
3
votes
2answers
273 views

How can I capture a rectangular area from an image?

I am looking for a method to extract rectangular areas from an image. The image is divided up into rectangular problem spaces like the image shown below. Each numbered problem is given with some text ...
3
votes
2answers
50 views

Trouble aligning Graphics with Image

I import the test image eloquently named "Tank2": img = ExampleData[{"TestImage", "Tank2"}] And do an extremly poor corner detection: ...
17
votes
1answer
715 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 ...
14
votes
1answer
234 views

Grid cuts my images

Bug introduced in V9.0 or earlier and persisting through V10.4.0 pic2 = ImageResize[ ImageCrop@Rasterize@Graphics@Disk[], {Automatic, 40}] ...
15
votes
2answers
327 views

SaveDefinitions->True changes the displayed image

Bug introduced in 9.0.1 or earlier and fixed in 10.4.0 I have a Manipulate[ ] that displays an image with a superimposed ...
7
votes
3answers
219 views

Find Background noise in Image

I have a set of 12 Images of a time dependent process. The Images also contain a static noise, which I want to get rid of. I had an idea to do that manually by looking at differences of images and ...
3
votes
0answers
93 views

Georeferenced bitmaps

The command Export["filename.jpg", graphic] will export the graphic object graphic to the file ...
8
votes
1answer
132 views

ImageData to Image conversion

I assumed that Image and ImageData are inverses, so that the following expression gives back the original image. ...