# All Questions

105 questions
Filter by
Sorted by
Tagged with
1k views

### How to make a Nebulabrot?

A Nebulabrot is a generalization of the Buddhabrot, a fractal rendering technique related to the Mandelbrot set that sort of looks like a meditating buddha. The Buddhabrot rendering technique was ...
1k 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 ...
115 views

### Undesired resizing with ImageMultiply and Masking

I want to systematically measure image intensity around each of the points in this 256x256 image. i0: I already have centroid locating code to figure out the centers of each of these points. To ...
63 views

### Constantly rotating 3d contour plot (ideally as a .gif) [duplicate]

I came across a neat image for a graph, and I wanted to reproduce this as a .gif using Mathematica (I have the 9th home edition)....
166 views

### How to extract data points from an image of a log log plot? [duplicate]

I have a picture of a log-log plot, taken from a paper and I want to extract the data points so I will be able to plot them again along with results of my own solution. I would appreciate your help. ...
3k views

### Finding a function that fits the shape of an image

How can I find a function that fits the given shape of an image? Or instead extract a point set from the shape and then find an interpolating function fits the shape. An example image is attached.
1k views

### Creating a realistic, photo-like 3D effect from an image or document

Suppose I have an image or a document, provided in a high-quality PDF file. You can open and view it in a PDF viewer, but then it has a kind of static look: it's not something tangible, it's just an ...
184 views

### Colorize an image using two parameters

I have a matrix of data. I use Colorize[Image[Rescale[data]],ColorFunction->"Rainbow"] to create an image from the data where the value of each pixel is used ...
1k views

### Calculate pixel intensity in two regions

I am just beginning to learn about image processing. I would like to know 1) How to show an original image with a visible mask of an arbitrary shape? 2) how to calculate the pixel intensities in the ...
515 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 ...
530 views

### How to highlight the feature edge of an image with draggable select lasso?

As shown in the picture, i want to know if it is possible to: 1) recognize the feature edge like face,nose,eyes,mouse,etc. 2) highlight the feature edge with draggable select lasso, 3) return the ...
1k views

### Creating a foggy image

I want to create foggy images like this one (produced with Adobe Photoshop): Not at least familiar with Mathematica's Image processing capabilities, the only thing ...
3k views

### How to make a stereogram in Mathematica?

Given a background and a pattern jpg files, is there a quick and easy way to produce a stereogram by using Mathematica? The following picture was produced from Photoshop, spent about half an hour. ...
682 views

### Intersecting/Overlapping Image Elements Counts?

I have what I believe should be a relatively easy problem to solve that I have not been able to find an elegant solution for. I need to compare two binary 2D images and count if any of the elements ...
2k views

### Projection of curve 3D (x,y,z) on the x-y plane

I have a following systeme : \left\{ \begin{array}{rcr} (\beta+\frac{1}{2}\delta^{2})\nu_{1}(u)-\delta\nu_{2}(u)+\nu_{3}(u)& = &0\\ (\beta+\frac{1}{2}\delta^{2})\...
392 views

### Recover data points from RGBColor of known ColorScheme

In general I want to recover the z-values from an image of a DensityPlot. A simple example might just be ...
141 views

### Dot shading a.k.a. Stippling effect [duplicate]

I am trying to convert grayscale images to black and white, where I hope to have certain artistic effect, called stippling: I have tried two methods; dithering (with ...
3k views

### How can I add drop shadows and specular highlights to 2D graphics?

I thought I'd share some code in the form of a self-answered question, but other answers are of course welcome. Drop shadows are a familiar visual effect, giving the impression of a graphical element ...
705 views

### Recognize simple shapes in an image and color them randomly?

I have an image of polygons built from a polar function (see below). I'd like to color each triangle or quadrilateral a random color. Firstly, I'm not sure how to separate the simple shapes. ...
442 views

### How to make a big image/dashboard containing various data-graph

I want to make and image/dashborad (to export to PDF) with many VERTICAL bullet graphs gauges. And I can´t make it, in a automatic way. In general, the questions are: QUESTION 1: How to make a ...
289 views

### Using high RasterSize or ImageResolution changes contour pattern

I found that the detailed contour pattern will be altered if we Rasterize the original graphics using high RasterSize or ...
389 views

### Finding a Moore neighborhood connected path of bright pixels along the contour of a text character

I have a simple image, for example a blowup of a Times New Roman character like 'R' saved as a PNG. I then perform the following operations to extract a minimum representation of the contour lines ...
899 views

### How Can I superpose an image and a graphics?

I want to superpose an image with a graphics in order to evaluate their alignment. I am writting this exemple of code. ...
217 views

### Remove overlapping red and green color

How to remove overlapping red and green color regions, leaving only red ones?
839 views

### Opacity and overlapping multiple polygons

Let's say I have 100 polygons that are all different but most of them overlap. All I want to do is to draw/plot them in one single graphic with linearly adding gray values; i.e., a point with ...
1k views

### Twirl Image Transformation

I am looking to reproduce the functionality of Photoshop's "Twirl" filter, which twists an image that originally looks like this (pulled from this page): Into this: Ideally, I'd like it to ...
219 views

### TextRecognize with crosses, circles and spaces results into oddities, why?

I am investigating this answer here about detecting crosses and circles with TextRecognize. I tried to solve this problem here by directly using the builtin command TextRecognize but it does not work ...
2k views

### How to detect crosses and circles in 60x60 raster images?

I have hand-written 60 pixel times 60 pixel squares. I need to detect whether they are empty, x or circle. TextRecognize function fails. Is there some other function to process this kind of raster ...
2k views

### Parameters for the CIE XYZ Color Space in Mathematica

In Mathematica, producing a color based on its RGB parameters is easy; one can use (for example) ...
830 views

### Image Rotation, Line Symmetry

I'd like to import an image, superimpose it, reduce the opacity of the overlaid image, and then use a manipulate to rotate the top image to illustrate rotational symmetry. The image below is using ...
2k views

### Generating stippled (Penrose-style) drawings of surfaces

In The Road to Reality there are plots of surfaces that use a variable density of dots to suggest curvature. You can see some examples here and here. I suppose they've been drawn by Penrose, but to ...
42k views

### How to create a new “person curve”?

Wolfram|Alpha has a whole collection¹ of parametric curves that create images of famous people. To see them, enter WolframAlpha["person curve"] into a Mathematica ...
6k views

### Image Processing: Finding Orientation and Position of Symmetry Axes

Background I'm currently toying with Principles of Design by Charlotte Jirousek in order to learn some basics of image processing. As main principals she suggests Balance, Proportion, Rhythm, ...
303 views

### Why does DominantColors keep shuffling the order of the results?

This graphic is produced by running DominantColors (new in Mathematica 9) with different values, using the Lena image as the source: Each row is a list of the ...
3k views

### Deformed style when exporting eps files

I want to export a plot into an eps file. Below I present a sample plot code in order to demonstrate the two issues that appear. (1). LabelStyle: When I use "...
1k views

### Color mixing or blend

Color mixing seems not only one type. Here is RGB_color_model I wrote this one: ...
3k views

### Overlapping accurately Images and Graphics (without loss of resolution)

Context In a previous post, I learned how to produce these kind of plots, which are of interest in astrophysics and geophysics. I am now interested in combining them. Attempt For this purpose, @...
4k views

### Mollweide maps in Mathematica

Context In my field of research, many people use the following package: healpix (for Hierarchical Equal Area isoLatitude Pixelization) which has been ported to a few different languages (F90, C,C++, ...
4k views

### Vectorizing an image like “Trace Bitmap” in Inkscape

Lately, we had a nice question about artistic image vectorization which got very nice answers. As Szabolcs pointed out himself Since "true" vectorization performed by various specialized software ...
1k views

### How to measure segment length and branch angle

I am trying to measure segment length and branch angle or bifurcation angle between each pair of segments. My image after thinning looks like this: ...
576 views

### How do I transform a rasterized graphic's coordinates back to its original ListPlot data coordinates?

From this question I successfully made an elliptical fit for my data. However, when I try and collect the datapoints within the ellipse via this question the coordinates of my ellipse correspond to an ...
2k views

### Create magnified call-out loupe effect on image

I'm trying to create a Mathematica Manipulate that generates a graphical call-out using a 'loupe'-style or magnifying glass enlarger - a possible solution is shown ...
3k views

### Finding the centroid of a disk in an image

I got about 100 images of the sun and have to find the centre of the star in the images. I have binarized the images and used ComponentMeasurementsto find the ...
273 views

### How do I slice an image of size “width × height” in n² pieces of size “width / n × height / n”?

Background: What I want is to make a jigsaw from an image. (A simple one where the pieces are polygons.) I have the following strategy in mind. Create a set of polygons and assign images (or just the ...
942 views

### How to render a 3D tubular graphics from a 2D image path

Question: Is it possible to create a tubular 3D image like Extruding along a path using "Tube" function in mathematica for following images? Image (1) Image (2) Thanks I have been playing ...
3k views

### How to extrude a 3D image from a binary 2D image

I'm trying to extrude a nice 3D form from the 2D binary image below using the code posted, but I haven't had any luck in figuring out the error that's keeping ...
522 views

### How to separate paths from the output of EdgeDetect?

I have been trying to find a way to separate the various closed paths that can be output by EdgeDetect. For example, taking the output of: ...
11k views

### Saving high-quality graphics through commands

Say I make and display a graph in a Mathematica notebook: graph = CompleteGraph[100] If I drag the corner of the graph to increase its size, and then save it to ...