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.

2
votes
0answers
57 views

Help find rectangles with numbers

I have this picture 1) Result must be like that 2) . But I can achieve it only if have good numbers with picture like that 3) With first image I have result: 4) I can't recognize numbers with ...
2
votes
1answer
27 views

ColorFunction in SphericalPlot3D fails with ImageValue

I would like to texture and deform a sphere with with images using various mapping functions between x,y and phi,theta. I figure I should start with $f(phi,theta)=(x,y)$ as a test case. However, I ...
20
votes
3answers
929 views

How can I make a graph network from image of granular packing?

I have an image from experimental data of granular packing. I need to characterize the packing as a network. The network consist of node (center of granular particle) and edge. Two node are connected ...
2
votes
0answers
61 views

How to do your own Wolfram Function-of-the-Day style GIF?

Anyone know how Wolfram tweets out GIFs of a notebook running some code like this one? https://twitter.com/WolframResearch/status/1083739334879182848 It's a lovely way to show how to build/iterate ...
0
votes
0answers
27 views

interface problem for image recognition

I made the following code that should recognize the image imported from the pc. If I do it for the first time it's fine, but if I load a second image it leaves me the name of the previous one. You ...
0
votes
0answers
14 views

Import all images of a folder on mathematica [duplicate]

How can I import all the images of a folder on mathematica specifying the category of such images? For example, if I have a folder with images representing the night how do I import them and specify ...
2
votes
1answer
43 views

Importing a raw image

I have raw images that I can import and view with ImageJ. They are the output of a program which I don't have the source code for, so I'm stuck with the output format. They are imported as follows ...
5
votes
4answers
444 views

Fill in an incomplete outline of an image

I have an outline which I have extracted from an image, which may well not entirely closed, for instance: I now want to fill the inside of this, as another image, using the convex hull if it is not ...
2
votes
0answers
27 views

Graphic scaling of neural network SummaryGraphics

Same funky scaling occurs when dragging the SummaryGraphics with the mouse; so, the issue is in the graphics itself not in the ...
2
votes
1answer
81 views

How can one get the axis of symmetry of the following egg profile [closed]

This is the binary version of the profile of an egg. Would you be so kind and let me know how to get the axis of symmetry of this profile. Thank you!
4
votes
1answer
75 views

Blend modes for composing images?

I'm looking for a way to combine two images with standard image blending methods like Darken, Color Burn, Color Dodge, Soft Light. Is there a way to achieve these with ...
0
votes
1answer
67 views

Best solution to insert text at defined position into image

What is the best solution to insert text at defined poition into image? I saw this question/answer but it does not help me for my examples below. I tried the following and find some strange ...
11
votes
3answers
248 views

Deleting noisy data from a plot (manually) and export the best remaining data

I have the following temperature time-series. As you can see it contains very very noisy points in some periods (Fig.A). I tried to approach the best data(the black one in the center) based on the ...
3
votes
0answers
69 views

Image Processing: Detecting certain edge features over varying contrasts

Images and description- • The images are obtained from the frames of a video (>1000 images) • As shown, there are contrast variations between the images • The bubble shifts horizontally ...
3
votes
3answers
337 views

How to calculate surface of specific color?

I have black-and white picture like this Can anyone tell me is it possible to calculate surface that black color occupies in this picture, so I know what's the percentage that black color has in ...
-1
votes
2answers
80 views
4
votes
1answer
92 views

How to pixel constrain Button Appearance given as images?

Using the images: ...
3
votes
1answer
100 views

How to properly copy an image from Mathematica?

I want to copy an image in mathematica to use in another program. E.g: im = ExampleData[{"TestImage", "House"}] When I evaluate ...
1
vote
1answer
60 views

Confusion in the position of image coordinates

I am struggling to work out how image coordinates are calculated and how to be consistent when finding particular points in an image using these coordinates for further analysis. I don't think it is ...
11
votes
2answers
125 views

How to extract Bitmap image from SQL records?

I'm trying to extract image from records of the MSSQL demo database NorthWind with this codes, ...
2
votes
0answers
36 views

issue with ImageEffect; EdgeStylization

I have a issue with ImageEffect/EdgeStylization. After importing a .jpg-file like test = Import["C:\\........\\DSCN0018_v1.jpg"] The result is: Then I take a ...
1
vote
0answers
31 views

ReplaceAll does nothing with the rgb values of a picture [closed]

In the book "Programming with Mathematica: An Introduction" at the beginning of the chapter on Patterns and rules an example is given where the colors of an image are transformed according to ...
5
votes
2answers
326 views

How do I dynamically draw an image?

Suppose I have some two dimensional list. For example: list = Partition[Range[0, 48], 7]; And I have some function that assigns a colour to each entry of the ...
2
votes
1answer
42 views

Mathematica exporting issues with Row[]

I've had this issue for quite awhile - and it's quite frustrating. When publishing papers, we try to get all of our figures in .pdf for obvious reasons. Usually, Mathematica exports to .pdf just fine, ...
2
votes
0answers
42 views

Smoothing a image while retaining the edges

In my previous post here it is mentioned that using ImageResize before ImageGraphics will increase image quality of the final ...
0
votes
0answers
54 views

Random points from an image using a BernoulliDistribution

I am a Mathematica newbie. I need to sample random points from an image which I have stored in a variable img as: ...
0
votes
0answers
26 views

save each picture individually to individual jpg file (export image) [duplicate]

This piece of code returns 10 pictures all at once as output. However, I would like to save each mandala picture file separately. So design one will have picture1.jpg, design two will have picture2....
0
votes
0answers
34 views

Scraping Images that are Directly Embedded in a Webpage or Dynamic?

I need to scrape URLs for photo albums like Flickr and Facebook for images from a certain event. I'm trying to use Import["link", "Images"], as shown at https://...
2
votes
0answers
52 views

Suppressing non-deterministic behavior in Image

The following issue is experienced in Mathematica 11.3 on Linux (debian 9) but I am pretty sure it was already present in version 10 on Linux. The expression ...
1
vote
1answer
58 views

Adding an Image at a specific place on an existing image

I have created the following PDF: Basically an image, with a description underneath and a space to take some personal notes: ...
3
votes
3answers
81 views

Why is the color changed after applying ImageData?

I have an image square.png as below:- I imported the image as ImageSquare, and then applied ...
2
votes
0answers
40 views

Identifying overlapping incomplete squares in image

I am trying to align my device and markers automatically using positioners driven by Mathematica. The camera feed looks like this: The device is the black square with gold electrodes. The markers are ...
1
vote
1answer
23 views

`PlotRangePadding -> 0` still leaves 1 pixel border

The following should create a 50x50 image named /tmp/nopad.gif with mostly random colors and a red border: ...
7
votes
1answer
228 views

How to recreate this 3D plot?

In other languages, one can make a FeaturePlot3D-esque graphics where the inset images look realistically three dimensional. Meaning that they are smaller when farther away (and also hazier). So how ...
2
votes
0answers
74 views

How to achieve this fractal image transformation?

The app MirrorLab on Android has a very interesting Julia Effect, and I'd like to recreate this effect in Mathematica. Here are some examples of input images and their outputs: ...
3
votes
2answers
71 views

Visualizing Color Values On Original Image

I have an image and I would like to retrieve all color values of pixels which are located along stribes: So what I do, is the following: I import the image from the web I get the image dimensions (w,...
2
votes
2answers
107 views

How to prerender / rasterize a graphic without losing location information

I have a Graphics object for a detailed plot that has too many points and regions in it to be quickly rendered, which I want to use as a background for a ...
3
votes
1answer
29 views

How to change size of an image in the background of a graph?

I'm trying to put a background image in a graph I've made but I can't figure out how to resize it so it fits the whole background, rather than just the section. The code I have so far is ...
1
vote
1answer
44 views

Import image files in the order of the file name number [duplicate]

I would like to import images which are frames from a video, they are numbered, so importing them in the correct order should not be a problem... However, when I import them, by writing: ...
3
votes
1answer
64 views

Normalize ImageDistance

I have two images: im1,im2. When I compute their distance, using ImageDistance[im1, im2] I ...
3
votes
2answers
41 views

How to get appropriate scaled image from graphic rectangle

I am trying to make an image out of a graphic, which is a rectangle with given size. However, the dimension of the image do not correspond to the size given to the rectangle: ...
13
votes
2answers
451 views

Processing images from NASA's Juno Jupiter Orbiter

Question Can you help me improve what I’ve done to create an enhanced-color picture from an image provided by NASA’s JunoCam? [My work is shown in the penultimate image of Jupiter in this post.] I’...
6
votes
3answers
206 views

How to change the color of the background of an image?

I have an image, and I want to change the color of its background. For example, I want to change the color of the sky from blue to green (or just to pure-white, for simplicity). I have already get the ...
6
votes
2answers
116 views

How to arrange images in a hierarchical structure?

Something like this picture I've tried to use ImageCollage with different weights and other conditions, but all of them arrange pictures arbitrarily. For instance ...
5
votes
1answer
87 views

How to use ComponentMeasurements with a matrix?

The function MorphologicalComponents works on both images and matrices, as in the following code: ...
6
votes
4answers
207 views

How to paste one image to another one, by forcing the former's background as transparent?

I have 2 images, imgBlackOnly and imgRedOnly as below, which already have the same ...
1
vote
2answers
69 views

How to increase the speed on opening and playing gif?

I have a gif Example.gif, and would like to play it in a presentation. I used the following code:- ...
0
votes
1answer
58 views

Multiple buttons on an Image [closed]

I am trying to create an interactive map that when you click a room, you get send to a more detail of it. I am struggling to put multiple buttons on an image as well as have them line up with the ...
2
votes
1answer
146 views

Overlap two images and give movement and the result record it in an animated gif

I need to put the circular image 1 in the image with the hole 2 (and cover the gap) the idea is to create an animated gif that shows the image 1 turning to the right and image 2 to the left in a size ...
1
vote
0answers
59 views

Saving in 2D and 3D in vectorial (pdf or svg) format

Good Day everybody, I have difficulties to save both 2D and 3D plots in vectorial format. I can get acceptable results if I save manually: righ-click on image, "Save Graphic as..." or "Print as...". ...