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

learn more… | top users | synonyms

3
votes
2answers
50 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" ...
3
votes
3answers
74 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. ...
0
votes
0answers
31 views

Importing 2D array of image

Suppose images = {{1.jpg,2.jpg},{3.jpg,4.jpg}} Now I try to import all of them in level 2, Map[Import[#],image,{2}] Why Mathematica says it is invalid file? (error= Import::chtype)
2
votes
1answer
33 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
100 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
93 views

How to find soccer balls in an image? [on hold]

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 ...
3
votes
1answer
81 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 ...
0
votes
0answers
31 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
37 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 ...
4
votes
2answers
149 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
0answers
56 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
42 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 ...
3
votes
2answers
54 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 ...
3
votes
1answer
77 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
34 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"]
1
vote
1answer
52 views

Exporting File Outside Home Directory

When running Mathematica (v10) on my Raspberry Pi, I'd like to output an image file to a directory other than /home/pi. I understand that letting Mathematica write ...
0
votes
0answers
33 views

How can I run my API on an image?

I've built an API that takes a url of an image as an argument. Using Import[] I can easily call my API on any url and get the results... but I need to run it on an ...
0
votes
0answers
68 views

Using 2D Fourier transform of an image to detect typical wavelengths

I am new to Mathematica, and I have read this post to understand how to perform Fourier transform on an image. My mission is to extract information on the typical distance between the black patches in ...
2
votes
1answer
52 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
42 views

How can I union a set of images? [closed]

What is the best way to do image de-duplication in Mathematica. I've used a tool called Visipics in the past, which works well, but I need to do this in MMA. Basically the function I'm looking for, ...
4
votes
1answer
187 views

How to change the aspect ratio with drawing tool?

I'm drawing an image in editing an slide show with the drawing tools. But the aspect ratio of the created drawing seems fixed and not changeable with mouse dragging the border and corner as in other ...
6
votes
2answers
739 views

How do I display imported images at actual size?

I know that this is an extremely basic question, but I am having a lot of trouble finding the answer in the documentation. When I import an image (for example, ...
1
vote
2answers
130 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 ...
3
votes
0answers
70 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 ...
2
votes
1answer
116 views

How can I download images from Instagram and Twitter?

The new function ServiceExecute seems to suggest the ability to download images containing a specific hashtags. Can anyone get this to work?
1
vote
1answer
62 views

Get the path of the Image in Mathematica

When copying the Image from the hard drive to the Mathematica notebook, what can I do to have the path of the Image? I tried Imort[img] // Path where ...
9
votes
1answer
194 views

How can I detect if an image is in or out of focus?

I need to filter out bad (blurry or ) images from a set, with some sort of blur detector.
2
votes
2answers
63 views

How to convert a coloured image according to the colorfunction I defined?

I got an image from a website which follows the colorfunction "Rainbow", e.g. ...
0
votes
0answers
41 views

How can I maximize image quality in a notebook?

This may not be a new topic. I have some images from Visio that I would like to include in a Mathematica notebook. Once I have added the image to my notebook, the quality is degraded. Is there a ...
4
votes
1answer
131 views

How can you resize all the images in a notebook section?

I've pasted a large number of photos and they are too big which makes scrolling hard. Is there a way to automatically have mathematica size them to 10% or something reasonable without have to click on ...
0
votes
0answers
43 views

Removing Perspective Distortion [duplicate]

Below is my input: I would like to remove perspective distortion from the image. Expected output below:
13
votes
1answer
795 views

How to map an image to get an illusion of 3D

I would like to distort or map a given jpg so it looks 3D when viewed from certain angle, as in the following youtube video: http://www.youtube.com/watch?v=IfCCUd8mFtg. The most interesting part of ...
0
votes
0answers
34 views

coordinate system problem [duplicate]

I had an issue about the coordinate system of mathematica. I have a {800,600} image acquired with a camera. The projection matrix P of the camera is calculated using the calibration task. Now, when I ...
2
votes
2answers
180 views

Color Transfer from colored image into grayscale image

At first I did this where image is a grayscale image and example is a colored image ...
2
votes
0answers
90 views

How can I transfer colors from first image into second image? [duplicate]

How can I transfer colors from first image into second image, where every object from the first image should take the same object's color from first image. This images are only an example. this is ...
3
votes
0answers
89 views

My code does not give the same results on mathematica 9 and 10 [closed]

I have developed last year an algorithm using mathematica 9. In this algorithm, I remember that coordinate system of Image and Graphics are not the same. However, in mathematica 10 the coordinate ...
5
votes
0answers
232 views

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

Bug introduced in 10.0.0 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 easily ...
11
votes
2answers
255 views

SaveDefinitions->True changes the displayed image

I have a Manipulate[ ] that displays an image with a superimposed Locator object. It works fine when I have ...
7
votes
1answer
123 views

Raster to Image conversion problem

NOT fixed in v 10.0.2 (Dec2014) (I notice small differences in the output but still not correct, see the edited post below) There are 3 ways to convert a Raster into an Image : only 1 works for me ...
4
votes
1answer
149 views

Mask outliers in an image

I'm using Binarization/Morphological Operators to detect apples as objects, which has gotten me so far: I did get the mask using this code ...
0
votes
1answer
73 views

Extract ROI from image by hand into Matrix Form

I have a 3D Image (each pixel contains information for various wavelengths). I draw the image for one wavelength by using ...
2
votes
1answer
153 views

Copying each object in a plot separately as an image

I would like to copy a plot from Mathematica as an image, into a PowerPoint slide. This plot has two curves. When I try to do the (naïve) usual "copy graphics" and paste, I find the full plot (along ...
17
votes
3answers
754 views

How to make a pie chart using custom image

Can we make a pie chart using a custom picture? For example, consider this image of one cent coin: I would like to use this image and cut pieces out, depending on data, and also make a clickable ...
3
votes
1answer
129 views

Clustering image data by intensity and position

I'd like to apply FindClusters or ClusteringComponents to image data of an indistinct edge, with the goal of segmenting the ...
0
votes
1answer
245 views
2
votes
1answer
86 views

How can I adjust ContourPlot in Mathematica?

I have problem because of the max point and min point, when I have too high or low data point, it just make it white. Here is example of data ...
3
votes
0answers
61 views

How to determine foci colocalization in a microscopy RGB image

First of all thanks to everyone for the amazing amount of info and help provided here, I'm quite new to Mathematica so probably this is a very simple question but I'm not sure how to proceed. I have ...
1
vote
0answers
64 views

passing values between widgets in GUIKit

I am writing a short GUIKit script with one TextField widget that takes the path of the image and a button widget which imports the image. The problem I have is ...
1
vote
0answers
96 views

Can not understand the code to plot Fourier Series approximation of the line

I'm reading the CDF file from Making Formulas… for Everything in wolframalpha blog. When I step into In[9] and In[10], I'm fully confused. Who can tell me what does the two functions mean? The ...
1
vote
1answer
76 views

Nothing happens when I click the mouse clicked on my graphics

I wrote codes to record list of coordinates when mouse clicked. It is expected that the coordinates should be plotted dynamically. But actually nothing happened. Can anybody help me to find the ...