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

learn more… | top users | synonyms

18
votes
1answer
290 views

Color degrades when using Copy As Bitmap

I have discovered a problem that affects my use of Mathematica. When I use the menu command Edit > Copy As > Bitmap the colors in the copy are subtly degraded. To make this more apparent I copied ...
2
votes
0answers
71 views

Detecting discontinuities in derivatives in images [on hold]

Considering an grey-scale image as a function $z=f(x,y)$. (Specifically, I'm interested in $f=h*h*...*h$, where $h$ is the indicator function of a regular hexagon.) I am interested in finding places ...
6
votes
3answers
140 views

Which values did ImageAdjust choose?

I have a picture obtained from a camera in an experiment. It's a .dat file, contains only numbers. I can re-create the image by importing it as data and using the ...
3
votes
3answers
96 views

Why does Import[#, “ImageLinks”]& fail?

I'm having difficulty with Importing urls embedded in a site (with and without pagination). This command: ...
2
votes
1answer
193 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 ...
7
votes
1answer
74 views

Exporting a Large Graphic Output Uncrops the Image

I want to export an image exactly as it is shown in the notebook, but when I specify a high image resolution, the image saved to disk does not match what is shown in the notebook (the image saved ...
0
votes
0answers
44 views

Mesh-Warping image from 3DS

Id there a way to warp an image using a mesh (plane with 14x8 cells) I have created and imported from 3d-studio? The reason for this is to warp a UV texture so I can look up quickly for distorted ...
11
votes
1answer
126 views

HighlightImage does not work consistently with Line

Bug introduced in 10.2, persisting through 10.3 HighlightImage is supposed to work with graphics-primitives like Line and ...
-2
votes
1answer
210 views

How to get the coordinates of points within an image?

How can I get the coordinates of an image, and make Mathematica draw the image from the coordinates found? I am interested in just the outlines of the regions. Here is an example of the kinds of ...
7
votes
1answer
141 views

Optimal Binarize value for counting experiment

I am currently working on a physics experiment where I count particles. I have looked at and used a bit of code from the following sources: Cell counting from an image file and Count Elements in Image ...
1
vote
2answers
123 views

ImageType used by ImageData

I have an image of type "Byte" (from ImageType[image]). When I perform calculations with ...
3
votes
1answer
89 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
83 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
96 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
359 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
73 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 ...
3
votes
0answers
96 views

Transparent bitmaps in controllers. Problem with initial appearance

Bug introduced in V9.0 or earlier and persisting through 10.3.1 or later I have a problem with images with alpha channel which I want to use as labels on Button ...
2
votes
1answer
83 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. ...
1
vote
0answers
52 views

ImageAssemble and Export gif takes too much memory

Errr.... First Let's create some gifs: ...
8
votes
1answer
92 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., ...
2
votes
0answers
88 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 ...
7
votes
0answers
142 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 ...
3
votes
1answer
267 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
625 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 ...
1
vote
0answers
117 views

How to import all the images in a folder? [closed]

the source code is ...
6
votes
1answer
121 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
74 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
235 views

How to scrape image search engines?

I'd like to download highest resolution images possible from the search results like these: ...
0
votes
0answers
126 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 ...
0
votes
2answers
114 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 ...
1
vote
1answer
167 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 ...
1
vote
2answers
119 views

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

I can use this code to label my points with text. ...
2
votes
1answer
125 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
82 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
200 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
320 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 ...
0
votes
0answers
183 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, ...
2
votes
1answer
94 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
178 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
130 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 ...
4
votes
1answer
221 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
42 views

Copy an image into a cell will auto generate an inline Cell

Copy/Cut an Image from a cell into another, will auto generate an inline cell. Sometimes I just want to copy/cut an image into a Text-Style Cell, the below image ...
5
votes
2answers
257 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 ...
10
votes
0answers
169 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 ...
3
votes
2answers
178 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
108 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 ...
0
votes
0answers
65 views

How to export a PNG with an alpha channel? [duplicate]

Is "RGBA" not a supported colorspace? Export["test.png", RandomImage[1, {100, 100}], ColorSpace -> "RGBA"]
5
votes
1answer
214 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, ...
1
vote
1answer
90 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
329 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 ...