Questions tagged [image]
Tag for questions about bitmapped graphics, particularly those using the Image function.
688
questions
3
votes
1
answer
72
views
Imported macOS screenshots display differently
When I take a screenshot in macOS (cmd-shift-4) and then import into a notebook, the colors tend to look washed out. Can anyone reproduce this behavior, and is there a workaround?
For example let's ...
10
votes
1
answer
256
views
What is idiomatic way to extract NumericArray from Image?
It is easy to see that NumericArray is a construct underlying Image:
...
0
votes
2
answers
104
views
Import causes image to lose resolution
I am having trouble preserving image resolutions in Mathematica 13.0.1.
The following is a free high-resolution GIF from Giphy dot com, pasted below for your convenience:
I notice that even if I ...
3
votes
0
answers
62
views
Applying Super-Resolution to differently sized images
I would like to make some images larger and noticed that there is a page in the documentation for doing super-resolution using a network structure. It's called "A Model for Super-Resolution."...
0
votes
1
answer
50
views
How can I outline my figures?
I am currently producing some figures, all using the same colours. This, however makes them impossible to distingis from one another.
This is my code
...
1
vote
1
answer
93
views
Import high-resolution images from a PDF?
I have a pdf file that I want to resize after importing.
However, ImageResize doesn't seem to take into account the high-resolution of the initial image, and resizing makes it very pixelated. I can ...
0
votes
0
answers
59
views
How can I remove undesired straight line suddenly appearing in the exported image of mathematica?
I'm drawing a picture of some 2D flows (x[t],y[t]) generated by differential equations of x[t] and y[t]. The code is as follows. The picture I get inside mathematica is like
Something is already ...
1
vote
1
answer
191
views
Rectangular Image Segmentation?
I'd like to segment an image such that the components are rectangles. Is this possible out of the box? For example:
...
1
vote
0
answers
59
views
How to put image in mathematica header?
I wanted to know if you can help me how to put this image in the header of the notebook
Thanks in advance :)
7
votes
0
answers
311
views
Background removal with hair
I'd like RemoveBackgound to work on images where the foreground boundary is nontrivial e.g. with hair:
...
2
votes
2
answers
91
views
How to get ImageResolution for the Image?
Is it possible to get (not change!) ImageResolution for an existing Image, say the one I have imported from a file?
...
0
votes
0
answers
42
views
In using GeoGraphics "GeoImage" on custom rasterized images to Mollweide projection, but image outputs are fuzzy- GeoZoomLevel doesn't apply
My goal is to apply custom high quality rasterized Planck CMB images to project to Mollweide with "GeoImage" GeoGraphics. In testing basic shape images the outputs are fuzzy no matter how ...
21
votes
1
answer
905
views
Why in Mathematica 13 do imported PDFs have lower image quality?
I'm finding images imported into Mathematica 13 notebooks are noticeably pixelated. (Oddly, pasting an image into a notebook cell does not have this problem.) Has the default changed for some import ...
2
votes
1
answer
121
views
Generating a network from an image
This is a follow up to my previous question here
I have to skeletonize an image (ref) and convert the skeleton into a network. I've tried the following
...
14
votes
1
answer
329
views
Wrong Graphics coordinate system after Image to Graphics conversion
Bug persisting through 13.0.0 [CASE:4896512]
If I upload this image (originally this img was generated by EdgeDetect) by normal ...
2
votes
0
answers
48
views
Save Selection As command gives no options--only pdf format savable
I want to insert a Mathematica plot (ListPlot3D) into my question CopulaQuestion, but I no longer seem to be given the option of what format to use. Only a pdf seems possible, which I can't then ...
5
votes
3
answers
483
views
How to transform a picture in a matrix?
I want to transform a picture into a square matrix with NxN dimension. The elements of the matrix are represented by 0 (red color) or 1 (blue color), from the ...
6
votes
1
answer
213
views
Producing a random Wang Tile tiling image more efficiently
I'm following along with this SIGGRAPH 2006 paper Recursive Wang Tiles for Real-Time Blue Noise - there's a video here too. Eventually I want to try to produce the blue noise results in the paper, and ...
-3
votes
2
answers
84
views
Color-slicing transformations that detect green wood sorrel leaves within an RGB cube [closed]
Color-slicing transformations that detect green wood sorrel leaves within an RGB cube.
3
votes
1
answer
83
views
Code to rebuild a patchwork image
I'm trying to rebuild an image which has been cut into strips vertically and horizontally then the ordering of the strips has been rearranged.
For example:
So far I've only been able to come up with ...
1
vote
1
answer
45
views
remove erroneous values from array
I have a set of squares arrays (images) of values -100k to 100k. Occasionally the camera that generates the images has a readout error and reads an extremely high value (in the 10e30 range). These are ...
7
votes
1
answer
195
views
Exactly recreating image NetEncoder output
I need to run an exported NetChain in ONNX, surprisingly the model exports and runs successfully, but there's a discrepancy in the image loading stage (the NetEncoder'ing that must be written manually)...
2
votes
1
answer
113
views
How to separate these circle based on their pixels mean intensity?
I have this image I want to separate green circles from yellow circle in two different images whiteout changing the pixel intensity information. I used the mean intensity
...
4
votes
2
answers
132
views
How to get ComponentMeasurements[] from colorized image?
I'm using a software to segment images. Long story short, the output given is an array of integers (range 0-255), which I show here colorized:
I'm supposing that the software avoids representing two ...
6
votes
1
answer
183
views
Getting the area of the gaps in this image of a spider web?
I'm trying to find a way to calculate the area of the gaps in a sample of spider web in a ring. The web strands are very thin and difficult to segment, since there appear to be breaks in the line ...
0
votes
1
answer
71
views
How to place labels on GraphicsRow?
I have a list of image and a list of labels and I am trying to combine them using GraphicsRow. I didn't see any "label" related option in GraphicsRow so ...
0
votes
1
answer
73
views
Extract ROIs - Machine learning - References
I want to try to extract ROIs from certain images using machine learning and neural networks , granted I know nothing about this field and it may not be the best way to do this, but the goal is to ...
1
vote
1
answer
56
views
ImageAdd with specific position
Consider the following code :
...
5
votes
1
answer
206
views
Noisy and vague shape recognition
Consider the following image:
Imagine I have several images (let's say 40), that look like this one but with slightly different cloud shapes, pixel count intensities and distances between the clouds.
...
6
votes
2
answers
470
views
How to extract text and pictures from an image file?
Let us consider the following image file.
Is there a way to use Mathematica in order to "read-scan" the image file and then obtain three new images, one containing the computer text, one ...
2
votes
0
answers
65
views
family photo album,how to optimize its realization?
I am Beezy, the eldest daughter of the couple.
I have a lot of photos on paper and I want to make a photo album for my parents, but the task is titanic.
First I use a scanner, to scan the photos that ...
2
votes
2
answers
165
views
Convert image of roads to 3D graphics
I have images like this:
and I want to convert those lines to 3D graphics so I can export it as OBJ or STL.
My best attempt has been by using MorphologicalGraph (following this post) and doing:
...
14
votes
0
answers
348
views
FunctionCompile examples for Computer Vision
I'm looking for some good examples of FunctionCompile applied to image processing code since there doesn't seem to be anything on this in the documentation. So here's a first attempt at a hello world ...
0
votes
0
answers
47
views
How to creat a high-quality graph image for MorphologicalGraph to convert to graphs (it can't detect some edges in mine)?
I'm using MorphologicalGraph to convert images to graph. This is my source image:
Following this and this, I tried
...
0
votes
2
answers
76
views
How to show/merge multiple Image3D[] graphics?
Suppose I have 2 (or more) Image3D graphics:
redCubes = Image3D[RandomInteger[1, {3, 3, 3}],
ColorFunction -> (If[# == 1, Red, Transparent] &)]
...
5
votes
4
answers
215
views
How to separate n colors from image into n binary images?
I have some images in which I expect to have some red, green, blue, or yellow areas. Like this image:
myImage =
Now, I'd like to get 4 binary images, representing ...
5
votes
1
answer
484
views
What is "size"?
When talking about concepts like ItemSize, ImageSize, FontSize, row/column height within a ...
4
votes
2
answers
80
views
adding bar legend of an morphological image (Atomic force microscopy image)
I want to analysis a topography of the following image. I want to add a bar legend in this image associated with the appropriate colour of the image.
Following is the image:
For your reference Here I ...
3
votes
1
answer
105
views
Hiding a message in a photo using Mathematica
So, this is a problem that me and my friends are facing while doing a project for school.
Our idea is the following. Given a certain photo we want to be able to hide a message behind it. Our approach ...
1
vote
0
answers
43
views
Are pixels machine numbers? [closed]
Mathematica allows one to work with the information that is behind a photo. For example, the command ImageData generates a list containing the “pixels” (which will it be a number from $0$ to $1$ if no ...
0
votes
1
answer
108
views
Plotting a complete graph with a given image as vertices [closed]
I am trying to plot a complete graph using a png image for the vertices. I tried a "drag and drop" approach with VertexShape, but the software gets ...
0
votes
1
answer
121
views
Extracting intensity from density plot image given color bar
I have an image showing a density plot from a paper, as well as the corresponding color bar. I am trying to convert this back to a 2D array of intensities.
Here's what I did, which works but seems to ...
2
votes
3
answers
120
views
Export Long Plot with No Whitespace
Observe the following code:
...
2
votes
1
answer
112
views
Converting a Non-Simple Closed Curve in an Image to a Parametric Equation
I would like to generate a parametric equation for a non-simple closed curve defined in a 2D image (shown below). This is the same problem as described in this question for simple curves.
However, ...
3
votes
2
answers
165
views
Importing an image and getting the real size between circles
I have taken this picture from a scientific paper:
The paper says that the size of picture is 92.3 microns. By importing the picture in Mathematica and right-clicking on it and using Get Coordinates, ...
2
votes
0
answers
36
views
How to make eplilog text visible while exporting plot as pdf?
I am having this problem that if I add some epilog text in a plot by rotating it, then while I export the plot as pdf, the text becomes invisible. It works fine if I export it as jpeg or png.
What ...
-2
votes
1
answer
66
views
How to transform the diffraction image into the function of light intensity with the order of diffraction? [closed]
In our pre-experiment, I got the image.
It’s obvious that the order of diffraction from the top down is
3,2,1,0,-1,-2,-3, the background of optics is so easy.
Then I have to get the light intensity of ...
4
votes
1
answer
216
views
Were these Images made with Wolfram Language / Mathematica?
I am currently writing a paper in which Fibonacci Spirals are discussed. In the text of the paper the mathematics of these objects is discussed and the relevant equations and relationships are shown ...
4
votes
2
answers
319
views
Enlarge the output picture and coordinate axis together like Matlab
Is there anyway to enlarge the output picture and coordinate axis together like Matlab?
Like MatrixPlot or other Plot function.
In matlab, there is a zoom button in ...
0
votes
0
answers
62
views
How to get rid of the white margins in picture export?
I made a manipulate box to show some spherical harmonics decomposition, and everything is working great (but it's very slow, when I add more harmonics!). Then I need to export the picture, without ...