Questions tagged [image]

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

Filter by
Sorted by
Tagged with
0 votes
1 answer
79 views

Getting the real coordinates of a point by using the "Get Coordinates"

I had previously asked a question here, how to get the real coordinates of the points in the following figure by Mathematica: Two answers were provided, which by using them, I could get almost all ...
2 votes
1 answer
80 views

ColorFunction in SphericalPlot3D fails with ImageValue

I would like to texture and deform a sphere with with images using various mapping functions between x,y and phi,theta. I figure I should start with $f(phi,theta)=(x,y)$ as a test case. However, I ...
0 votes
0 answers
50 views

Fullpath of image in tutorial?

Is it possible to figure out the fullpath of an image in tutorial ? For example, we can find an image of duck in tutorial/ImageProcessing. But it is not easy to figure out the fullpath of the image. <...
7 votes
3 answers
244 views

Fast Segmentation

Imagine I have an image of a segmented tissue as follows what is the fastest way of converting such an image into a mesh-type object in Mathematica? I am familiar with ...
0 votes
0 answers
61 views

Export 3D vector pdf in Mathematica 13.1

it seems hard to export 3D vector image in Mathematica 13.1, code like ...
2 votes
1 answer
144 views

What are all the ways to remove noise from an image and how to choose the right method?

I am learning how to use image processing and I am a bit overwhelmed by all the options to remove speckle noise in an image. Here is a list of functions that I learned about: ...
0 votes
0 answers
54 views

How to repair possible origin problem in png files?

i tell you, my daughter uses a figure cutting program called Silhouette Studio and loads and traces png files so that later a machine cuts them, recently she acquired some png files that behave in a ...
0 votes
0 answers
56 views

Motion blurring in the frequency domain

My task is to implement a motion blurring filter via the frequency domain. The transfer function for this is as follows: I previously consulted this answer for starter code. My function is shown below:...
2 votes
1 answer
192 views

How to obtain a crisp maybe vector graphics format image from a symbollic expression

[EDIT : The image should stay within Mathematica so I can not use Export["file.svg", expression] as Import does not ...
3 votes
1 answer
367 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 ...
0 votes
0 answers
59 views

How to restore a photo by using two photos

I have same two photos. They are both in need of restoration. How can I sort of combine them such that I get the best of both worlds? Image#1 Image#2
2 votes
3 answers
70 views

How to control the Image Assistant Toolbar?

(Cross-posted on the Wolfram Community.) When we select an Image in the FrontEnd, the Image Assistant Toolbar appears attached under it: How can we temporarily ...
6 votes
1 answer
169 views

How to display PNG image in notebook with best quality

Consider the following image: It looks quite good here on the site. (So probably this site and also my browser know how to display it with best quality). Now the image can be uploaded into ...
1 vote
0 answers
58 views

How to remove the background from a bokeh photo?

Is there a way to remove the bokeh background from photos using Mathematica? An example photo is given below. I tried the methods answered here and here but they don't seem to work.
2 votes
1 answer
80 views

Exporting images correctly as insets in plots

I want to add an image into a plot. Lets leave the plot empty for simplicity. It is important that in the end the pixels of the image are identical to the original. First we define an example image: <...
2 votes
1 answer
169 views

Apparent bug in ImageHistogram

When building a simple image with only red Rred = Image[Table[{r, 0, 0}, {r, 0, 255}, {g, 0, 255}], "Byte"], the corresponding histogram displays badly: each channel has a wrong colour ...
6 votes
2 answers
193 views

How to convert a Java BufferedImage to a Mathematica Image?

Mathematica's CurrentScreenImage is very buggy on multiple monitor setups, so Wolfram tech support has proposed to use .NET or Java frameworks to implement my own. ...
9 votes
1 answer
262 views

Labeling images for TrainImageContentDetector

I want to use TrainImageContentDetector on a directory of ~2k unlabeled images. I'm willing to put in the effort to label them, but I was never good at using "...
2 votes
0 answers
36 views

Problems with ImageResize using Mathematica Online (different results than Mathematica desktop .nb)

I originally created a package (.m file) which handled figure formatting. This package was read into my desktop notebook file. In the code block below, I use ImageResize[image,width] to resize an ...
4 votes
1 answer
131 views

How can I compress DICOM images?

I have 193 dcm files in a folder. I will like to combine these images into .dcm.gz format (e.g. images.dcm.gz) and I was wondering how this could be done in Mathematica. Thank you in anticipation of ...
1 vote
1 answer
165 views

Coordinates system used by Get Coordinates on large images

I often try to crop images by selecting a few points manually with the interactive tools and copy-paste them in ImageTrim[theImage,ThePoints]. It works fine on ...
1 vote
0 answers
46 views

How to create a single PDF from a list of HEIC files?

In attempting to create a PDF from a series of HEIC files created on my iPhone, I did the following after loading them into a directory on my Windows computer: ...
2 votes
2 answers
85 views

Disable image resize

Below is a screenshot of mathematica help : As you see, if I click the image, orange colored frame appears, and we can control its size. Can we make it impossible to resize an image ? Probably by ...
0 votes
1 answer
67 views

Rasterize : actual size, within a code [closed]

How to get rasterized image of actual size ? ...
3 votes
1 answer
106 views

ImageDimensions[Plot[something]] : where does ratio 1.666... come from

From my knowledge, ImageSize is an option that adjust the width of an image. ...
6 votes
3 answers
362 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 ...
5 votes
2 answers
234 views

How can we Rasterize only plots profile without frame or labels?

Exporting very dense DensityPlot or Plot3D figures as vectors (pdf, eps) become very huge in size. for example, exporting this ...
30 votes
2 answers
8k views

How to automatically remove text from images?

I'd like to remove the text in the center of images automatically. To use Inpaint[], you need a mask, but I don't have one. So really the problem is: How to build ...
14 votes
1 answer
366 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
80 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 ...
2 votes
1 answer
346 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
88 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
292 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
129 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
81 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
57 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
147 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
62 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
320 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
74 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
100 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
44 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 ...
23 votes
1 answer
1k 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
166 views

Colors in ImageMarker

The symbol ImageMarker (new in 10.4) seems to ignore color commands: ...
0 votes
1 answer
147 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
144 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
197 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
457 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
235 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 ...

1
2 3 4 5
15