Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [image]

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

5
votes
0answers
181 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
53 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 ...
7
votes
1answer
386 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
113 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
78 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
106 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
135 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
469 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
2k 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
31 views

How to get a 1 bitdepth JPEG image

Make a test image img = Binarize[ExampleData[{"TestImage", "Lena"}]] ...
12
votes
2answers
614 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
208 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
486 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
114 views

Manipulate part of image

I have 2 images that I combined image1 on top and image2 bottom: ...
2
votes
1answer
196 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
138 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
108 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
214 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
132 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
163 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
64 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 ...
2
votes
1answer
71 views

ImageIdentify category specification

There is an instance in the reference for ImageIdentify were a category is specified. Here it is: ...
0
votes
0answers
132 views

Remove background of an image and replace it with different color

I have a picture that has a black background that is not entirely black, so I want to replace it with a totally black background. RemoveBackground works well in removing the background but I just want ...
1
vote
0answers
42 views

ManToGif code: how can I avoid time-reversal in the animated GIF? [duplicate]

ManToGif is a very useful function to create smooth animated GIF from aManipulate expression. ...
0
votes
0answers
38 views

set image nonzero pixel value to 1 and others to 0

I tried to use ImageApply and Boole function, but I still don't get the result I want. I want all pixels in my image whose value larger than 0, it should be set to 1. And leave the rest unchanged. ...
1
vote
1answer
96 views

Image coordinate transformation equations

The Wolfram tutorial for image processing gives these equations to convert between an image y coordinate and an array row index, r r==h-y+1/2 y==h-r-1/2 But ...
3
votes
0answers
132 views

Re-projection of full disk satellite image

I am trying to re-project a full disk satellite image (see below) downloaded from JMA to Mercator projection. My understanding is that the image does not show the entire hemisphere (unless the ...
0
votes
0answers
41 views

Exporting a large number of image variables in mathematical 11

I used the following code to import a large number of tiff images into notebook. ...
0
votes
0answers
55 views

How can I speed up import images into memory and make training more efficient

My memory is 32GB, windows 10, cpu 7700k, GTX1080 50k images[400MB] cost me 30 minutes. In a CAPTCHA example, a simple net and in tunning hyper-parameters step with small values of MaxTrainingRounds, ...
3
votes
2answers
134 views

ArrayPlot does not draw unit disk

I've been trying to write a program that could plot a unit circle into an image. The idea is using Arrayplot to plot the Part of pixels that fall into a disk area that radius less equal to 1. ...
3
votes
1answer
122 views

align time-lapse images to remove translation and rotation

I have a sequence of images that you can get as a stack from here: https://www.dropbox.com/s/8ds08klvq9irgz9/imagestack.tif?dl=0 Now i have the following image sequence where we can see that the ...
5
votes
2answers
212 views

How to detect and split sections of an image

I'm new to Mathematica and I was trying to split the following image into horizontal sections, just above every square box. I have done some pre-processing but I can't figure out how to "locate" the ...
3
votes
2answers
89 views

How to make “Show” function display images with original size?

h = ExampleData[{"TestImage", "House"}]; Grid[{{Show[h], Show[h, Graphics[Line[{{0, 0}, ImageDimensions[h]*2}]], PlotRange -> All]}}] The second image ...
2
votes
1answer
241 views

combine multiple binary images into one color image

I am trying to compare black&white scans (for starters, only 3 of them) of identical size. I want to highlight the similarities and differences by displaying the first one in red, the second one ...
2
votes
1answer
76 views

reproduce the plot from image

I need to reproduce the gray plot (H4-WT) of below image.Is there any way for doing that in Mathematica?
1
vote
0answers
48 views

Export 1bit Image

I have a binary image like the following one: How can I export it as an 1bit image instead of an 8bit one? If I export it in tiff it automatically becomes an 8bit one. Best, Max
-1
votes
1answer
97 views

Importing a large number of 2d DICOM images and generating a 3D image from them [closed]

I would like to construct a 3D image from 900 2D images in DICOM format in a folder. I am fairly new to mathematica and would greatly appreciate your help. I am currently using Mathematica 11. I used ...
0
votes
1answer
60 views

Exporting MatrixForm Expression as Raster Image With Fixed Size [duplicate]

I have an array defined as such: ...
4
votes
3answers
109 views

Creating a graph with scaled, circular images replacing each vertex

I'd like to create a graph where the vertices are replaced by scaled versions of images, with the images fitting in the circles (like the avatar here). My attempt at this graph simply overlays the ...
4
votes
2answers
433 views

Identify circles in Image and make list of all diameters

I have this SEM image: I would like to make a list of all diameters of each circle. Can I somehow let Mathematic identify the circles (approx.) and extract the diameters ?
8
votes
1answer
222 views

How to export nontrivial data to h5?

Version 11.1.1 comes with improved support for the HDFv5 (HDF is an acronym for Hierarchical Data Format) file format. How can I export (and import) the following data into h5 format? The data I ...
3
votes
2answers
93 views

Need Help with RunScheduleTask to automate a camera snapshots

I need help with this application. I want to automate a Device camera to capture images to a List using ScheduledTask. I know there must be other ways to automate a task in Mathematica, but this is ...
3
votes
0answers
42 views

Meaning/Format of RAW Image Data

I took photographs and I want to fit the (overall intensity or red intensity) of the photographs to a function of (x,y). I have some questions about how RAW data is structured. What is the difference ...
1
vote
0answers
174 views

Apply a four-point transform crop to an image

I am attempting to straighten and crop an image by using Edge Detection. The original image looks like this. By using edge detection and finding the max and min values for the points regarding the ...
3
votes
1answer
405 views

How to export an image with specified filesize

We can export an image and check its size with Mathematica: Export["test.png"(*or JPEG*), Plot[Sin[x], {x, 0, 6 Pi}]]; FileByteCount[%]/1024^2 // N ...
2
votes
0answers
153 views

How to create 2D ImageHistogram?

Using ImageHistogram I can find the frequency of each color value in an image. Applying the same, I can have a histogram of its gradient values. I wish to combine these two on a log scale such that X -...
1
vote
1answer
319 views

Import image saved as CSV file [closed]

I have saved my image file from ccd camera as a CSV file. How can I plot this file to get my image back? My file is here.
2
votes
0answers
68 views

Drag-and-drop image out of notebook

Drag-and-dropping images into notebooks works like a charm. But oftentimes I already have an image in a notebook and I want to use somewhere outside Mathematica. So we do this: right-clicking and ...
8
votes
2answers
418 views

Use a picture as the initial distribution of an agent based model

I am trying to make an agent based model similar to http://demonstrations.wolfram.com/DiffusionLimitedAggregationARealTimeAgentBasedSimulation/ http://demonstrations.wolfram.com/...