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.

15
votes
1answer
388 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
145 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
177 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
186 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
44 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
140 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
99 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
159 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
80 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
65 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
199 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
179 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
654 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
79 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
226 views

ArrayPlot with frame ticks is cropped

I generate an array which I want to visualize. Here is a simplified example. ...
7
votes
3answers
146 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
185 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
89 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
145 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
286 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: ...
3
votes
2answers
240 views

Extracting gps coordinates from exif info of photo images

I need to extract the GPS coordinates from the Exif information of a series of image. This used to work in Mathematica 11.0.0 (on MacOSX): Import[zf, {"Exif", {"GPSLatitude", "GPSLongitude", "...
1
vote
1answer
204 views

Problem with importing .tiff image

I am trying to import and display this image in Mathematica (v10.0.2) https://dl.dropboxusercontent.com/u/35018860/test.tiff however I did not succeed. Any idea?
2
votes
3answers
120 views

Assign images to elements in a list [duplicate]

I would like to assign a list of images of patients to the patient name. To do so I created a list with all the patients names and now I want to assign to every element in the list the correct images. ...
0
votes
1answer
60 views

Inserting an image inside a text cell [closed]

One can put an evaluated equation inside a text cell, but is it possible to put an imported image in a text cell ? I see nothing in the documentation.
2
votes
1answer
135 views

Frame ticks not magnified along with plot

I am using Mathematica 11.0 under Linux. I want to export some plots in PNG format, with resolution higher than the notebook display resolution. When I evaluate ...
3
votes
1answer
215 views

Defining a Function to Modify the Image Data of an Image

So say I have certain data that I want to add to Image Data of an Image How can I write a function in Mathematica that can do that? Edit: My Purpose is to input data in an Image Data so that I can ...
14
votes
3answers
3k views

Nontrivial background removal

I have an image of a product on a poorly made green screen and need to segment out just the product: The problem is that it contains a mirror, so simple color-based methods are not enough. I tried ...
3
votes
1answer
104 views

Possible to change default resolution for copy-and-paste plots?

I like to be able to whip up quick plots in Mathematica and copy-paste them into emails by just clicking the plot and pressing cmd/ctr-C. However, the resolution is a bit fuzzy for my tastes. If I ...
3
votes
0answers
198 views

How to set BitDepth and control dithering on exported GIF

Related: How to export a Graphics to PNG with BitDepth greater than 8? I can't find a way to set the BitDepth of an exported GIF. It doesn't need to have great colour data, but I don't want to reduce ...
34
votes
2answers
2k views

Create the source image for this cool animated illusion

Have a look at this very awesome video: https://www.youtube.com/watch?v=lvvcRdwNhGM You have a vertically discretized image, which is composed of 5 or 6 images, which are shifted by an increment, as ...
4
votes
3answers
818 views

Overlaying two images

I was to superimpose two atom cloud images in Mathematica, with one cloud image centered on the other one. I have tried looking at other threads on this topic but haven't been able to get their ...
2
votes
2answers
195 views

graphics - Overlaping Image in red and green scale, mixing pure colors

How can I overlap/merge two density plot (in attach) using Mathematica. One image is in red scale and the other is in green scale. In theses two images the lowest value is white (background) and the ...
1
vote
1answer
88 views

how to adjust the image size such that ImageAssemble works properly

When using ImageAssemble to combine several images, the size difference between them is a big problem. This problem contains the following parts ...
3
votes
0answers
123 views

Challenge: Calulating The Resulting 2D Image Behind A Lens [closed]

This is a tough question! I would like to calculate how an image (a real 2D photograph) looks if I place a lens at a certain distance d1 from it and I observe it at a certain distance d2. It is ...
1
vote
1answer
82 views

Rotate the Hue of an imported image

I have an image, I want to rotate the hue of the image and export the result. Eventually I will loop this to produce ~360 images covering the entire cycle. I feel like this should be easy with ...
3
votes
1answer
163 views

How do I remove text from an image?

I want to remove "the worst of times" from this image. How do I do that? I don't have a preference to how it's done.
5
votes
2answers
193 views

Import JPEG Fails

Bug introduced in 11.0.0 and persists through 11.0.1 I have a set of .jpg files that not only fail Import[] but also crash the kernel. Sample file here. There is ...
7
votes
1answer
96 views

Front-End hangs up for a while when I type quotation mark " in front of an image

A support case with the identification [CASE:3747200] was created Thank you for taking the time to send in this report. I understand that when you put a quotation mark in front of an inline image,...
2
votes
1answer
140 views

Delete corrupted file using mathematica

I have a folder containing around 4000 JPEG files. Among those 4000 files most of are corrupted and can not be opened by any photo viewer. The below screenshot is a corrupted JPEG file opened in ...
1
vote
1answer
94 views

Adding text of variable size to the corner of an image so that it always fits

I have an image for example: img = Import[ "http://ultraimg.com/images/2016/07/29/Simplest-Responsive-jQuery-\ Image-Lightbox-Plugin-simple-lightbox.jpg"] I'm ...
1
vote
0answers
59 views

List of all valid categories for ImageIdentify? [closed]

Can anyone give me a list of valid categories for the second argument of ImageIdentify?
3
votes
1answer
94 views

Initializate Manipulate

Hello I am a beginner in Mathematica and I have a question about initialization of manipulate. I have code like this and I want to ask you, how to modify that code if I want have default picture saved ...
6
votes
1answer
262 views

Why Is Finding Minimal Bounding Box Using ComponentMeasurements So Slow?

My goal is to find the coordinates of the minimal bounding box for this image. I am using the following command: ...
2
votes
1answer
70 views

How to improve the result of the TextRecognize?

I have some words want to recognize. For example,I have this image: Import["http://i.stack.imgur.com/FFYhS.png"] // TextRecognize But the result is wrong. ...
1
vote
1answer
97 views

Import an binary image with non-standard header

I have binary images with an fixed sized header. These can be converted into PGM images, provided cutting the header, and putting the appropriate information using linux/OSX tools as "head -c", "tail -...
35
votes
3answers
1k views

Drawing picture with straight lines (Petros Vrellis's Art)

I am trying to extend Writing a word with straight lines for any picture/image. I guess the basic idea is to find a set of points in the image region and then draw random lines through them. Let's ...
13
votes
1answer
599 views

How to align a poster?

I'd like to crop and transform out the magazine cover so that it is rectangular. I read the docs for ImagePerspectiveTransformation, and here's where I got to. ...
8
votes
0answers
119 views

Is it possible to search the web by image from Mathematica?

Is it possible to perform a web search based on an image input? There are several services that provide this: Google, Bing, TinEye, and maybe others. I am not sure which can be accessed ...
4
votes
1answer
136 views

Experimental Data Overlay/Fit

I have two different sets of data represented in Contourplots: As you can see, in different positions of space, both have these very characteristic sets of four peaks (2 blue and 2 yellow). What I ...
3
votes
1answer
124 views

FindFaces then separate into list

I have used FindFaces on a list of pictures which contain a number of people. These faces have then been highlighted using ...