Questions tagged [image]

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

Filter by
Sorted by
Tagged with
4
votes
1answer
164 views

Distinguishing different cars in picture

I recently posted a question. And I got a great answer from Mr. Carl Lange Image Segmentation His solution worked like a charm. However, I got another request which is more generic in nature. The ...
1
vote
0answers
186 views

2D Fourier transform of a diffraction pattern Mathematica vs FourierPainter

We are trying to make sense of the numbers provided by the PC program FourierPainter for a 2D Fourier Transform of a diffraction pattern. We would like to evaluate the ratio of the zeroth harmonic ...
4
votes
1answer
184 views

Image Segmentation

I have what should be a pretty simple question for Mathematica gurus. I have a set of images containing cars and a background. I am trying to create a black and white image where the white part is the ...
1
vote
1answer
70 views

How do I visualize images stored in SQL?

here is the background: I have a SQL database that (among other data) contains images I connect to the database, extract and store the relevant data in variable picData like so ...
1
vote
1answer
81 views

How to control image resolution in ColorQuantize? [closed]

When exporting a GIF animation, for example ...
1
vote
5answers
406 views

How to create a checkerboard pattern?

I would like to write a generalized function to create a checkerboard pattern of any size (width of each square and frequency of repetition). How can I do so? Edit 1 This is what I tried. ...
6
votes
3answers
1k views

Making an image from an array of numbers

My data is as shown below. I want to make an image where the 1's have one colour, the 2's have another colour and 0's are rendered as blank. How can I achieve that? ...
0
votes
1answer
93 views

Exporting an image results in changing pixels value [closed]

When exporting an image from the Mathematica and comparing it to the same image in the code using ImageData[Img,Byte], it results into 2 different vectors , so what'...
0
votes
1answer
63 views

How to save crop image with alpha value

I have an image with alpha channel. I want to take a crop and save it with alpha channel. When I save it manually using the "save Image As" tools, I get an RGB image without channel value!
0
votes
1answer
321 views

Set absolute size of Axis or frame for a plot

I have to publish some work and it requires to meet specific criteria for the image size and plot size. 1) the Area of the figure must be fix 2) the width of the x-axis also must be fix for any plot ...
1
vote
2answers
113 views

Try to find the number of points near the black color ؟

Given this RGB image I want to find the number of points that are, or almost, black ؟
3
votes
1answer
213 views

Setting up a coordinate system and canvas size for subsequent drawing

I'd like to create a blank Graphics object of a certain size with a certain coordinate system (PlotRange) and subsequently draw ...
0
votes
0answers
29 views

size of images in dialogboxes [duplicate]

I am having issues with the size of multiple images in dialog boxes. I am trying to create a dialog box that handles three images (red green and blue channels obtained by a microscope) with color and ...
6
votes
2answers
208 views

Fit a circle to a region of an image

I would like to develop a routine that associates a size with images such as that below. My idea is to find the radius of the circle (centered at the origin) that contains (say) 95% of the total ...
1
vote
0answers
324 views

How to change image data (2D matrix) from cartesian to polar coordinate system? [duplicate]

I have a 2D matrix corresponding to the shown image in Cartesian coordinates. In image, the horizontal axis is x and vertical corresponds to y-axis. How to change this 2D matrix to polar coordinate ...
1
vote
1answer
84 views

Removing outer concentric circle picked up by ComponentMeasurement

So I have performed EdgeDetect and ComponentMeasurements on my images and obtained a pretty good elliptical fit. However, the black shadow of the beads in the image is being picked up by ...
1
vote
1answer
136 views

Aligning plot with image / padding issue

I'm having a curious issue aligning images and plot, which is mostly working but I'm not sure how to get it fully working. I'm reading in huge image files, and associated CSV files with the (x,y) ...
4
votes
1answer
281 views

Exporting a table in .png format

I am trying to export a data table in PNG format. I evaluated ...
0
votes
1answer
101 views

How can I count the red circles I drew? [duplicate]

I reached there the last step is to count the circles. Please help me.
2
votes
0answers
324 views

Export to PDF: DensityPlot & AllowRasterization->False

How to get production-quality vector graphic exported from Mathematica that looks like what is plotted in Mathematica. Example code: ...
3
votes
0answers
139 views

Fourier image correlation is likely to be wrong [closed]

I have images of two identical ellipses, which differ by the orientation. I want to obtain the difference angle between them by means of phase corelation method (https://en.wikipedia.org/wiki/...
1
vote
1answer
141 views

Eliminate the black color of the “W” so that it is equal to the “S” using Mathematica?

I have searched the answers for a long time to help me with this but I can not find it. I tried to do with drawing programs but it looks good. How can I leave the "w" blank, respecting its shadows or ...
9
votes
3answers
677 views

Implementing Arnold's Cat Map

I'm trying to write a notebook that can take any square input image, and apply a cat map to it a specified number of times. I've written a pretty simple script that seems to work: ...
2
votes
2answers
161 views

How to display colored graphics object in the same color space?

Consider, I have a disk colored in "LAB" color space. When I convert the graphics into image object it is by default getting converted into "RGB" color space. ...
4
votes
2answers
106 views

How to extend the grid lines to the image margins

As the following image shows, are there any good ways to extend the grid lines to the image margins while keep the original aspect ratio and the label's position unchanged? (In fact, all the features ...
13
votes
2answers
469 views

Extracting data from analog screen photograph

I'm using an analog profilometer from the 1970s and need a way to digitize the data and the only way is through a photograph. I've searched but all I could find was how to extract data from computer ...
1
vote
1answer
100 views

Manipulatable Geometry from an Image

Is there any way, I can take an existing internet image and have Mathematica read it in, so it can be manipulated using the Manipulate function? The image I would ...
0
votes
1answer
93 views

Removal Background with Shadows on HUE

I have an image of a leaf on a poorly white screen and need to find out just the leaf: The problem is that it contains greenish shadows, so simple color-based methods are not enough. Thus, I need ...
5
votes
0answers
292 views

How to import an HEIC image?

As of iOS 11, iPhones save images with a new compression format HEIC. Now all my photos are all in this format and I'd like to import them to Mathematica but this is not a supported image filetype. ...
0
votes
0answers
59 views

How to query the properties of objects?

General question: How does one query the properties of objects in Mathematica. For example, if g is a Graphics object, how do I find out its size? Or how do I find ...
9
votes
1answer
422 views

Why this simple case of watershed segmentation fails?

(Cross-posted on Wolfram Community) I tried a simple experiment today with WatershedComponents. I took this image from: https://fr.mathworks.com/help/images/ref/...
0
votes
1answer
135 views

How to find the joint histogram of a volume data?

This question is in reference to this paper. In Fig. 1b, the joint histogram of data value and gradient magnitude is plotted. What I understand is that the values in the plot represent the frequencies ...
3
votes
1answer
85 views

Dynamic, Image, and a Trigger all walk into a bar

I am seeing something strange, and I am not sure if it's something I am doing poorly in Wolfram Language or an issue with the system. This probably best described with a minimal working example. ...
9
votes
0answers
110 views

Why does repeated export of JPG-Images consume all memory?

I was looking in the history of asked questions for similar questions, but none of the alike questions answered my problem sufficiently. So I ask nevertheless. My system memory is leaked by simple ...
4
votes
3answers
2k views

Bing daily wallpaper

Bing has nice images that change daily. How can we download them regularly and also maybe download an archive of previous images? There is an extensive discussion here, can we implement it in ...
4
votes
2answers
144 views

How to extract a single image from the output of the DiscreteWaveletTransform[]?

So, I use the following code to carry out the discrete wavelet transform on an image of Lena. I am interested in then doing some changes to a single image out of the obtained 4. How do I extract any ...
10
votes
1answer
584 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? ...
12
votes
2answers
3k views

Extract timestamp of specific frames in video

I would like to do the following : I have a set of slides and a video in which those slides are discussed. Now I would like to extract the timestamp when the slide appears in the video. I would ...
0
votes
0answers
36 views

How to get a 1 bitdepth JPEG image

Make a test image img = Binarize[ExampleData[{"TestImage", "Lena"}]] ...
12
votes
2answers
635 views

Calculating the size of objects on the picture

I'm new to Wolfram Mathematica. I have an initial image: My goal is to find a radius of the water drop, like so: With that in mind, I've changed the initial photo: ...
4
votes
2answers
217 views

Using Cases from the book Basic Image Processing in Mathematica

In the book "Basic Image Processing in Mathematica" written for Mathematica 10 and earlier, the author does this: ...
25
votes
2answers
537 views

Frown for a sex change, or, how do I unbork the “FacialGender” classifier in 11.2?

The limits of machine learning. I thought the new "FacialGender" option for Classifier would be an amusing thing to explore. ...
0
votes
1answer
134 views

Manipulate part of image

I have 2 images that I combined image1 on top and image2 bottom: ...
2
votes
1answer
236 views

How can I use Histogram and Histogram3D on an image?

I have a .jpg image named r. I am using the following code to plot a histogram: ...
2
votes
3answers
164 views

How to transform a 3D list to a 2D list?

I want to apply the command Histogram3D to an image.The image data is {{r1,g1,b1},{r2,g2,b2}...} And the input of ...
0
votes
0answers
116 views

copy as bitmap do not work in 11.2 (was SE Uploaded do not capture cell as image (PP) in 11.2)

Update Thanks to comment by Szabolcs below. It seems the reason SEUploader do not capture image pp is that copy as bitmap do ...
6
votes
3answers
226 views

How can I access the properties of an image?

I have imported an image, and using FullForm I can see that the image has a collection of properties, e.g. ...
3
votes
2answers
140 views

How to split the droplets from a fiber?

As you see,I want to extract the droplets from a fiber,I have tried a fundamental but complex method,and I got the edge of the droplets,but I don't think it is a good way,I want to get all information ...
4
votes
3answers
197 views

Identify color at each pixel in an image and show as tooltip

Is it somehow possible to recognize the color at each pixel in an image and show this color as a tooltip? For example, with this picture: I found a solution that uses ...
3
votes
1answer
70 views

Prevent imported pictures from evaluating

When I insert a picture into Mathematica through Ctrl+V, and then later evaluate the whole notebook, then the picture evaluates as well, printing out the same picture. So basically I get duplicates of ...