Questions tagged [image]

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

Filter by
Sorted by
Tagged with
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 ...
2
votes
1answer
76 views

ImageIdentify category specification

There is an instance in the reference for ImageIdentify were a category is specified. Here it is: ...
0
votes
0answers
163 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
46 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
40 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
134 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
145 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
43 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
155 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
129 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
228 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
127 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
301 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
83 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
50 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
106 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
75 views

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

I have an array defined as such: ...
4
votes
3answers
122 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
589 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
267 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
98 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
48 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
266 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
530 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
170 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
380 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
70 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
426 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/...
4
votes
1answer
116 views

List of all options the `Import` command takes for `JPEG` files?

If I do Options[Plot] I properly get a list of options the Plot command can take. Now, if I try the same with ...
15
votes
1answer
468 views

Quickly importing several thousands of jpg files?

I have several thousands of small .jpg files (30kb each) which I need to import into Mathematica. (I plan to use ImageDistance ...
4
votes
0answers
163 views

Weird rasterization artifacts

When I try to rasterize circle with modified border thickness I get weird artifacts Image[Graphics[{Thickness[.2],Circle[]}]] Anyone knows any workaround how to ...
3
votes
1answer
200 views

Fast reading, writing of png images

One of the fastest implemented mathematica function to read png images was showed here by MarcoB The code for reading a png he proposed is: ...
4
votes
0answers
200 views

Image processing- Identify regions in a segmented image to measure the dye intensities

I have split my image into the 3 channels each representing a different dye. I have segmented each image and I now want to 1) Identify each of the segmented regions and 2) Detect the level of dye ...
0
votes
1answer
45 views

Handling large amount of pre-described computational work

I have a large document (around 200 pages) describing a certain line of computations. I want to implement those methods using Wolfram Language. Formulas contain functions and variables that are ...
1
vote
1answer
180 views

Convert tif image to txt or csv file

I would like to simply convert a grayscale tif file to a text file, in which the numbers in a 2-dimensional array represent the gray values of each pixel, e.g. the result should be: ...
4
votes
1answer
108 views

what scheme to use to segment this aggregate of cells in such a poor illumination

Due to issues with the microscope I have the following image which is inherently dark. At the center of the image is an aggregate (a cluster of cells). I can get a binarized mask using the mask draw ...
3
votes
1answer
171 views

WordCloud out of Images or TeX

Is it possible to use the WordCloud function to create a word cloud out of LaTeX expressions or images (with transparencies) representing equations?
3
votes
0answers
148 views

Crop a `Graphics` object [duplicate]

How do I crop a Graphics object? I know I can use ImageCrop[graphic, {1800, 400}]; but that results in an ...
1
vote
1answer
70 views

Why does image captured by SE Uploader look so different from the original on the screen?

Below is an image as captured by a screen-capture app; it faithfully represents what I see in the Mathematica notebook's window (right after re-starting Mathematica, and opening the notebook; ...
4
votes
1answer
204 views

How to cut a plane at random points?

I hope that someone can help me understand how to perform the following algorithm in Mathematica, I am taking as reference the next page reference page in your section planar version , the problem is ...
1
vote
1answer
198 views

how to assign many points to labelled voronoi cell

I have and use it to generate a Voronoi lattice with following code: ...
1
vote
1answer
801 views

How to get hex color code from the image

I want to build a function which will work like this website: http://imagecolorpicker.com/ I'll upload the picture and get the hex or RGB color code of the color on the image, how is it possible? ...
2
votes
1answer
82 views

How do I apply an image filter row by row

I'm new to Mathematica and I'm probably not using the right keywords to seek for help on this topic. I would like to filter an image row by row, and I'm trying to work this out using ...
3
votes
2answers
249 views

ArrayPlot with frame ticks is cropped

I generate an array which I want to visualize. Here is a simplified example. ...
7
votes
3answers
148 views

How to understand the usage of parameters of Image?

Normally,we use Image[RandomReal[1, {3, 4, 3}]] or use Image[RandomReal[1, {3, 4}]] to generate a image. But in this answer(The ...
7
votes
1answer
217 views

How to make marker images?

In the docs for GrowCutComponents[] there are many examples of masks, but I don't know how to make one for myself. I suppose they are using the drawing tools in ...
0
votes
0answers
105 views

Implement 2D sprites as plot point markers in ListPointPlot3D

With dimension reduction, It's possible to visualize image data in 2D by using the PlotMarkers option: ...
0
votes
1answer
215 views

How to decrease the number of classes in CIFAR-10

I import the CIFAR-10 dataset to mathematica 11 notebook using code as below: obj = ResourceObject["CIFAR-10"]; data = ResourceData[obj,"TrainingData"]; And then ...
2
votes
0answers
299 views

How to image search on Twitter?

I'm looking for a function to download N images from Twitter with certain text in the tweet. Is there a better way to perform this search than this naive code: ...