Questions tagged [image]
Tag for questions about bitmapped graphics, particularly those using the Image function.
744
questions
1
vote
2
answers
108
views
How to calculate the depth of the lake in mathematica?
I want to calculate mean depth of Goose lake (mean depth=4.6 m), I use bellow command for this operation, But this command is not automatic and we have to create the coordinates manually, and on the ...
1
vote
0
answers
40
views
Finding and manually weeding out images in ClusteringComponents clusters
I have processed images using the following code, where list1 and list 2 are x and y axes, sample of images:
...
0
votes
0
answers
48
views
How to extract shape from image in the Mathematica?
I have some satellite images for the lakes. How to extract the shape of the lake with maximum accuracy from the image?
1
vote
2
answers
81
views
How to import many Images in Mathematica?
I have 150 images that I want to import into the Mathematica, and process. I use this code but I get errors. I ran the example for three images.
...
1
vote
0
answers
68
views
Finding how far an image has moved a very small x distance
I am trying to process 200+ images (10 datasets, each set contains ~20 images) and see how much each image changes or moves compared to a starting position for a dataset. The problem is, I expect a ...
1
vote
2
answers
116
views
How to do edge detection in Mathematica?
I have some pictures of water level and I want to do edge detection, I used the following command, but this command is vertical edge detection and I want horizontal edge detection and water level. ...
0
votes
1
answer
71
views
How to take a satellite image in Mathematica at different times?
I want to see the satellite image of the same area at different times. But by entering the following code, also shows the same picture with changing times.
...
1
vote
1
answer
35
views
ImageResize change image pixel value range
I have a weird image in my notebook. If I do ImageResize to it. The pixel values of this image is changed.
Sorry, I can not share this image directly. As you can ...
3
votes
1
answer
91
views
Rotate components on image around a fixed point
I have an binarized image
and a center
...
3
votes
1
answer
92
views
minimal enclosing k-gon of binarized image
Similar to my previous post.
I have a binarized image with 4 disk-like dots.
I want to find a minimum quadrilateral enclosing 4 dots as below
and extract the coordinates of 4 corners(yellow points) ...
1
vote
0
answers
59
views
efficient way of generating convex hull of binarized image
I have a binarized image with 4 disk-like dots.
I want to find the convex hull of these 4 dots.
The conventional method using MorphologicalComponents
...
1
vote
1
answer
73
views
Convert .gif to HTML and keep animation [closed]
I want to convert any .gif in HTML on Mathematica
and keep the animation of the gif. For this I use this function:
...
2
votes
1
answer
241
views
Moving disk over a underlying image
I want to make the following animation. The basis is a image, for example Lena's photo. I will place a new layer over this image. This layer has a color, for example black. In this layer there is a ...
0
votes
0
answers
40
views
How to draw a graph based on a known function?
Knowing the following code, how to draw a result similar to the following picture?
...
1
vote
0
answers
43
views
Cannot use perimetric complexity function in Mathematica
I am very new to Mathematica, so I'm having difficulties troubleshooting the code that I am trying to resolve (I'm much more familiar with R, but sadly I haven't found a package to do this). In any ...
0
votes
1
answer
78
views
Measure dimension of an expression without Rasterize [duplicate]
Is there a method to measure (in pixel) width and height of an expression without making it to an Image ?
I found a method for measuring width and height of an ...
3
votes
1
answer
103
views
Evaluating a questionnaire from image
I want to evaluate a questionnaire made at school. The survey is made on paper and I will scan it. So I have an image with all the questions (44 questions). What I am looking for is which number was ...
1
vote
1
answer
79
views
Overlay two cells without changing size
At present I am interested in
overlaying cells
without change of size.
Cells may be graphic or not graphic. For example, it can be a complicated mathematical formula or grid. Also cells may be output ...
2
votes
0
answers
60
views
Speed up scrolling with images in notebook
I like to have images in between code and text cells. Whether they are pasted (in a default Input cell) or generated (in an Output cell), they slow down the front end considerably. When part of an ...
0
votes
0
answers
31
views
ListLinePlot over a plot image respecting the axes scale and coordinates
I have the following array of points:
...
2
votes
1
answer
72
views
How to give a scale bar in microscopy image?
I have a Differential interference contrast microscopy (DIC) image
img = Import["https://i.stack.imgur.com/hfEZx.png"]
I have made some image adjustment ...
1
vote
0
answers
62
views
Calculating luminance in $\rm{cd/m^2}$
Let's say I have an image of the following transparent material through which light is passing,
I want to calculate the luminance in units of $\rm{cd/m^2}$.
What I did is
...
5
votes
1
answer
80
views
Custom Graphics primitives can't work with parallel Rasterize
I tried to create Graphics primitives using the techniques in this, found problems with parallel rasterization
...
0
votes
0
answers
34
views
How do I import an image from the Windows file system in Mathematica Online?
I have an image file named forest.jpg in the C:\Temp directory. I am running Windows Pro 11
Here's what I tried in a new notebook in Wolfram Mathematica Online
image = Import["C:\Temp\forest.jpg&...
0
votes
1
answer
54
views
Tiff image height fft
I wanted to import .tiff image to Mathematica and then plot fft of z values (height) of the image i. e. values which are translated to color in the image.
I know that total time to create picture was ...
4
votes
1
answer
103
views
Notebook magnification - two independent values
It seems there are two independent, equally influential values those control mathematica notebook magnification.
Just like volume bars in a certain media player(program) and volume bar in tray bar(...
2
votes
0
answers
91
views
Creating a size changing image in output cell
In the following video, there are Image 1 and Image 2.
The image size of Image 1 changes ...
0
votes
0
answers
50
views
How could I draw a picture by connecting stars between them?
My idea is to try to make a program which would be able to trace a given picture in the sky, by simply connecting stars. Therefore, I have two questions.
Is it possible to convert the product of an ...
0
votes
0
answers
18
views
Export overwriting image metadata?
I would like to include my own metadata in image files. This is considered in article How to add and export custom metainformation with image. The following code is provided:
...
1
vote
1
answer
81
views
How to get randomly arranged image in Mathematica?
I'm now thinking about randomly arrangement of the imported image.
After importing 2 hand-written images, image1 and image2, I want to make each 5 copys and randomly arrange them in one graph, i.e. ...
1
vote
2
answers
89
views
How to set the width of grid elements in cm?
As a 'painter', I use photos. To get a good projection of a photo on the canvas I use a grid. I draw this grid both on the canvas and on the photo. It is an easy way to get the proportions right that ...
2
votes
1
answer
77
views
How to obtain the ImageSize?
I want to obtain the ImageSize of an output in printer's points,
which is the standard unit of measurement of ImagePadding, ImageMargins etc.
For example I have a Plot
...
5
votes
1
answer
78
views
Is there a way to create very high aspect ratio images from movies?
I am trying to process images of very high aspect ratio defects (on the order of 100:1) with Mathematica (perhaps using movies)? I am trying to analyze long, thin, defects in coated film. If I take ...
7
votes
1
answer
97
views
How to save a plot from WolframCloud in the best quality?
I am using wolframcloud.com for generating a plot, but when I save it by right clicking and following "Save image as..." the plot gets saved with low quality (blurred). Is there a better way ...
4
votes
1
answer
89
views
(Too) Slow Compiled Function To Sum Waves
I have some code that sums planar waves and outputs a graphical result, as per the mock up below :
...
4
votes
3
answers
230
views
Why does FillingTransform not fill the enclosed areas on the edges in image
FillingTransform
And this is what the result becomes:
I want to fill the squares in the edges as well, how can I do that?
0
votes
1
answer
106
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 ...
0
votes
0
answers
52
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.
<...
9
votes
3
answers
295
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
136
views
Export 3D vector pdf in Mathematica 13.1
it seems hard to export 3D vector image in Mathematica 13.1, code like
...
3
votes
1
answer
185
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
56
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
94
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:...
3
votes
1
answer
217
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
3
answers
83
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 ...
2
votes
0
answers
80
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.
7
votes
1
answer
228
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 ...
3
votes
1
answer
108
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:
<...
3
votes
1
answer
171
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
...
9
votes
2
answers
259
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.
...