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

learn more… | top users | synonyms

2
votes
2answers
68 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 ...
2
votes
1answer
48 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
53 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
75 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
168 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
67 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
30 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. ...
2
votes
1answer
76 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 ...
1
vote
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
128 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
52 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
45 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
44 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
36 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
560 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 ...
5
votes
2answers
87 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: ...
19
votes
2answers
377 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
222 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
64 views
4
votes
1answer
92 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
248 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
44 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
709 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 ...
5
votes
0answers
121 views

Transparent bitmaps in controllers. Problem with initial appearance

Bug introduced in V9.0 or earlier and persisting through 10.4.0 I have a problem with images with alpha channel which I want to use as labels on Button etc. ...
14
votes
1answer
223 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
325 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
207 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
91 views

Georeferenced bitmaps

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

ImageData to Image conversion

I assumed that Image and ImageData are inverses, so that the following expression gives back the original image. ...
9
votes
2answers
349 views

Rotate an object in image about its centroid

I want to rotate an object in a image about its centroid. here is my code but the result is not as expected. Normally the centroid of the object does not change, except the case when the object is ...
7
votes
0answers
171 views
1
vote
0answers
56 views

How to call python code on an image

I have lots of image processing code written in python and would like to call it from within mathematica. Is there a way to transmit the image data directly like with c++ and LibraryLink? I'd rather ...
18
votes
1answer
195 views

How to count proportion of two phase in a electron microscope picture

I have a picture: The sunk area is a phase,and the bulged area in another phase.I want count the proportion of this two area.this is my method.First I get the ...
13
votes
1answer
222 views

What governs images resizing in the FrontEnd environment

What is responsible for the middle Row images' size? And why single image row is different? ...
13
votes
4answers
1k views

Reproduce image effect in Mathematica

How do I create the "dotifying" effect below in Mathematica? I have tried to use Rasterize first to get the image pixelated, but how do I get the disc/circle ...
3
votes
2answers
917 views

video image recognition [closed]

Has anybody experience with video and image recognition? I've made a video of two teams playing soccer. Now I would like to translate each soccer-player to a (x,y) coordinate and follow them during ...
6
votes
1answer
221 views

Rendering a 3D volume with Image3D

I have 2D JPEG images, of 1024 x 1024 pixels, corresponding to a 500 x 500 square micron section. These images are taken from slices of tissue, each slice seperated by 10 microns. I've been trying to ...
4
votes
0answers
509 views

Masked Image Registration/Alignment/Correlation

I'm trying to register (align) two circular grayscale images using a boolean mask to prevent them simply being aligned on the fixed circular border. There are also small fixed circular regions in the ...
2
votes
1answer
79 views

How to make image3d smaller? Is `ImageResolution` useful?

I want to make the output of Image3D much smaller. For example ...
5
votes
1answer
224 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 ...
1
vote
0answers
31 views

Function with many lines that takes image as parameter not returning same result as if I run the same lines of code

Running the exact same lines of code in a function produces just a return of the original image without any points identified, whereas when I run the exact body of the function line by line it works ...
5
votes
1answer
104 views

Shadows interfering with image processing

I am currently working on processing a tic tac toe board to have a robot play a human user. As the lighting changed throughout the day, the image became more difficult to process. Is there a way to ...
1
vote
1answer
92 views

Get an array of coordinates of the edges of an image

Rick Sanchez from Rick and Morty How can I get an array of coordinates of the edge of Rick in order from left to right? I want to make my delta robot draw images. Additionally, I know that it is ...
4
votes
1answer
97 views

How to adjust the parameter of TextureCoordinateScaling

I wanna draw a picture like this This is my current work,First get the texture of picture ...