Questions tagged [image]

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

Filter by
Sorted by
Tagged with
14 votes
1 answer
347 views

Wrong Graphics coordinate system after Image to Graphics conversion

Bug introduced in 12.3 or earlier and persisting through 13.1.0 [CASE:4896512] If I upload this image (originally this img was generated by ...
3 votes
1 answer
74 views

Create grid-like Image3D

I would like to create a visualization of a volume with the help of equally-spaced grid lines. The effect I want to get is easily obtainable for 2D images, the image is simply divided into quadratic ...
3 votes
1 answer
277 views

Export Vectorized Images

I read the answered question here which was for 7 years ago. I want to use DensityPlot3D function to draw a figure and save it as eps, pdf, or SVG as a vectorized ...
2 votes
1 answer
243 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: ...
3 votes
1 answer
81 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
275 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
113 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
66 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
51 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 ...
2 votes
1 answer
107 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 ...
6 votes
3 answers
323 views

How to create this image with the current colors and as a mesh?

I need to create this image bigger with that coloring, and also as a mesh or wire structure, please help me. I tried to connect the dots, but it didn't work and I deleted it There is some command ...
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 ...
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: ...
1 vote
0 answers
60 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 :)
2 votes
2 answers
93 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
930 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 ...
3 votes
2 answers
162 views

Colors in ImageMarker

The symbol ImageMarker (new in 10.4) seems to ignore color commands: ...
0 votes
1 answer
131 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
1 answer
125 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 ...
7 votes
1 answer
196 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
2 answers
1k views

Importing a Canon Raw file (.CR2)

This is a very top level question with no code examples attached. I have an interest in using Mathematica to read raw files coming from a Canon camera, before they are converted into jpg's, where ...
4 votes
2 answers
413 views

Importing a RAW image

I have raw images that I can import and view with ImageJ. They are the output of a program which I don't have the source code for, so I'm stuck with the output format. They are imported as follows ...
6 votes
1 answer
221 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 ...
2 votes
1 answer
77 views

Difference between ImageSize and RasterSize when exporting to PNG

I export 2D and 3D plots to PNG images using the export command. I can set ImageSize->{xsize,ysize} or ...
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
515 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
185 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 ...
-3 votes
2 answers
86 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.
2 votes
1 answer
118 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 ...
14 votes
1 answer
929 views

How to implement a free version of WebImageSearch?

I really don't like functions that I have to pay for, if they can be implemented for free. Is there a way to get around this pay-wall for WebImageSearch? Perhaps using some other free api or service? ...
3 votes
1 answer
86 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 ...
6 votes
2 answers
479 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 ...
4 votes
2 answers
134 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 ...
32 votes
2 answers
2k views

How to project 3d image in the planes xy, xz, yz?

Some idea of how to do something similar to the image, but with any 3d object
0 votes
1 answer
78 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
76 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
57 views

ImageAdd with specific position

Consider the following code : ...
5 votes
1 answer
208 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. ...
1 vote
2 answers
130 views

Detect and correct sheared squares in image

I have the image I want to detect the plots and warp them into perfect squares. My workflow so far: corners=ImageCorners[img,10]; This returns a lot of corners, ...
0 votes
1 answer
154 views

Hidden Metadata in DJI drone .JPG

I have imported a JPG file with MetaInformation (Exif/XMP) however all the available tags are not imported. The JPG is a DJI drone image with meta information as: altitude, YAW, GeoPosition, etc. Some ...
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 ...
14 votes
0 answers
349 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 ...
5 votes
4 answers
226 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 ...
18 votes
1 answer
403 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 ...
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
77 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
1 answer
488 views

What is "size"?

When talking about concepts like ItemSize, ImageSize, FontSize, row/column height within a ...
4 votes
2 answers
88 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 ...

1
2 3 4 5
14