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

learn more… | top users | synonyms

0
votes
0answers
55 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"]
4
votes
1answer
174 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
62 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 ...
1
vote
0answers
210 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 ...
1
vote
0answers
60 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
100 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
0answers
39 views

Code to import and export “.cine” image format?

I need to work with a set of experimental data in the form of ".cine" format image files. This is a data format developed by Vision Research for high-speed imaging and video. I would like to import ...
4
votes
3answers
218 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 ...
4
votes
0answers
126 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
202 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
68 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 ...
2
votes
2answers
95 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. ...
13
votes
1answer
276 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.
4
votes
1answer
149 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 ...
1
vote
0answers
81 views

How to get the SIFT features of an image?

According to the documentation, the function KeyPoints[] computes features only using SURF, but what about SIFT or FAST features?
3
votes
2answers
81 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" ...
0
votes
0answers
50 views

Removing Perspective Distortion [duplicate]

Below is my input: I would like to remove perspective distortion from the image. Expected output below:
0
votes
0answers
35 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 ...
3
votes
0answers
102 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 ...
2
votes
0answers
99 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 ...
5
votes
3answers
399 views

Simple image processing very slow

I have compared the speed of some simple image processing routines between Mathematica an IDL. 1. Reading of a grey scale png image of (720,577) pixels: The image is: Mathematica: ...
2
votes
2answers
335 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 ...
4
votes
2answers
162 views

Create an image showing max intensities in a set of images?

I would like to use a set of two images with the same color scheme (img1 and img2) to produce a new image (...
4
votes
1answer
268 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
103 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
101 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 ...
4
votes
0answers
114 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
86 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 ...
6
votes
1answer
313 views

Get 2d corner coordinates / layout using edge detection

I'm new to Mathematica but I found an interesting usage of it: I'm programming a 2D game, with a top-view, where I'd like to have the edge coordinates of the walls. EdgeDetection delivers me quite a ...
3
votes
1answer
157 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 ...
12
votes
1answer
229 views

Raster to Image conversion problem

Bug persisting through v.10.2.0 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 2 work with ...
1
vote
1answer
95 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 ...
4
votes
1answer
149 views

How to translate image points position(row, column) to their coordinate(x,y)?

Here is the code to find image edge and record the morphological connected pixels positions. How to translate the row/col positions to x/y coordinates? ...
0
votes
1answer
173 views

Why is my Fourier transformed matrix rotated?

After Fourier transforming and shifting the zero frequency of a matrix, my outcome is rotated by 45 degrees from what it should be. Can anybody spot why? ...
0
votes
0answers
35 views

How to plot morphological stripe near the mouse-clicked position in an image? [duplicate]

I tried to use EdgeDetect and MorphologicalComponents to get the image edge elements. When I clicked on an image, I want the edge element nearby to be highlighted or plotted. Here is my code. Two ...
3
votes
1answer
111 views

How to create a 1D vector by selecting a straight line in a given angle of 2D array

Suppose I have an image created by the code provided below. I want to select a line (1D vector) $ \left(y-y_{0}\right)=n\left(x-x_{0}\right) $ from the output image (2D matrix) by specifying $n$ and ...
2
votes
1answer
72 views

How to adjust the size of figure automatically with Stylesheet editor

It's known that in LaTex, "\includegraphics[]{}",we can adjust the width or size of the figure by using "width=0.75\textwidth". Can we realize such functionality in Mathematica with editing the ...
2
votes
0answers
79 views

Frame text is cropped while exporting as EPS

I have generated an eps file with using Export["filename.eps", figure, "eps"], but the text on the frame labels and tick numbers are cropped like this: Screenshot ...
6
votes
1answer
205 views

Using Predict on images

I have a dataset of some (grayscale) images (stored as a list in inputImages) varying in size and content (this is example data from Wolfram, so you can run the ...
2
votes
1answer
78 views

Vertical direction in images

Mathematica's relatively new Image structure and related functions are very useful, but it is a great disappointment that they adopted the convention that the first row is at the top of the image. ...
3
votes
2answers
135 views

How to add and export custom metainformation with image

v.10 In the documentation, it shows you can add custom metainformation to an image under Metainformation. However, I would like to export the image with the custom metainformation and be able to ...
12
votes
4answers
582 views

Using an Image as the Fill/Texture (not background) of a Plot (not polygon)

Is it possible to use an image, rather than a color, or ColorFunction, as the filling for a plot? For instance, I want to make a plot using ...
2
votes
1answer
237 views

How to highlight image edge with spline/bezier when mouse moved over?

It is known that EdgeDetect can find image edges in an image. Suppose the image edges consists of sets of lines. Can the detected edge line near the mouse pointer be highlighted as spline/bezier when ...
2
votes
2answers
323 views

Convert imported PDF to an image

I've looked through the forum and have not seen an answer for this. I would like to be able to import a pdf document in which each page contains an QR code. I want to then use the Barcode reader ...
1
vote
0answers
189 views

Import displays DICOM images as black rectangles (Mma v. 10)

My problem concerns Mathematica version 10.0.1.0 with OS X 10.9.4, OS X 10.9.5 and it does not occur in Mathematica version 9.0.1.0 (on the same computer and OS). About 90% of my DICOM images are ...
40
votes
3answers
1k views

Composition à la Mondrian

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

How to use Mathematica to turn a picture into low poly style?

I want to use Mathematica to turn a picture into low poly style. That is, to make the following conversion: Bill to Bill low poly(Using Image Triangulator App). I think the biggest difficulty is how ...
2
votes
3answers
175 views

Force change in aspect ratio of Inset image

I have an image that I want to place in the background of a plot and stretch it to cover the entire plot area. However, the aspect ratio of the image does not match the aspect ratio of the plot, and ...
3
votes
2answers
68 views

How to display movie without controls [duplicate]

I would like to display a sequence of images as a movie within mathematica. I am aware of ListAnimate, but I do not want the various controls included, and there seems to be no way to remove them.
7
votes
2answers
361 views

Export Grayscale Bitmap

I have a grayscale (one channel) image in Mathematica. How can I export it as a grayscale Bitmap? Every single option I tried so far does not have an influence on the Bitmap exported using ...