Stack Exchange Network

Stack Exchange network consists of 175 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.

1
vote
1answer
55 views

How can I save an image after manipulating it? [closed]

I need to extract a picture from a red square for further transformation over it.
-3
votes
1answer
86 views

How is that distance between images calculated?

The command ImageDistance[Plot[x^2, {x, 0, 1}, PlotRange -> {0, 1.01}], Plot[x^2 + 0.01, {x, 0, 1}, PlotRange -> {0, 1.01}]] produces ...
-1
votes
0answers
107 views

How can I write code to generate data for Shepp-Logan phantom? [duplicate]

I want to generate the Shepp-Logan phantom data in Mathematica (I use version 11) before using it to build my phantom. I am hoping to have more control on the attenuation coefficient (please refer to ...
0
votes
0answers
97 views

Remove background image and redraw lines in black

I do not know if the title is correct. The image that I upload has liked me a lot because of the characteristic that no matter the angle it seems that it is looking at you, you could indicate me how ...
4
votes
3answers
213 views

Converting a list of colors into an image

I want to manipulate colors, and merge the resulting vector and rasterize it into an image, controlling the resolution of the pixel. E.g. I tried to: But what I would like to have is an image of 3 ...
7
votes
1answer
92 views

Captcha text morphing effect

There have been many posts about generating and cracking Captchas. However, I have never seen a post or answer concerning one the more recent versions of re-captcha images - a "word morphing effect" ...
5
votes
4answers
470 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 ...
1
vote
0answers
44 views

Image to coordinate system

May I kindly ask you to teach me how to align the symmetry axis (in blue) of the attached picture along the Ox and/or Oy axis. The axis of symmetry is slightly off (rotated to the right). In other ...
2
votes
3answers
66 views

Text position inside jpeg file

I tried the following line in order to write a text in my image. p1bis = Labeled[p1, Text[Style["(8)", FontSize -> 52]], {{Top, Left}}] I get the following ...
2
votes
1answer
54 views

Drawing Circle using Image[Graphics[]] - incorrect coordinates

I want to draw a circle with center {x,y} in an image. I use the following code: ...
1
vote
1answer
37 views

Programmatic access to Export options for filetype

For specific filetypes, e.g JPG, GIF, etc. I would like to get a list of available options for use in Import and Export. Unfortunately, the obvious thing doesn’t work: ...
0
votes
0answers
87 views

How do I get a beautiful image overlay from data and a model function?

I have a set of experimental data that I wish to make into a density plot. Then I have to overlay an image of a model function f(x, y, z) = Sin(x/z)Sin(y) on the ...
2
votes
2answers
50 views

Text beside image

I have a lot of text in my Notebook (Format>Style>Text), and I would like to have the full width text, then insert an image on the left, and have the text continue down the right side of the image, ...
8
votes
2answers
415 views

How to convert a 4-channel image to 3-channel image in an elegant way?

I have a 4-channel image (RGBA). I want to reduce its channel count from 4 to 3. The method I am using currently is to Right click and Save as a .png file. After ...
1
vote
4answers
101 views

setting size of images which are result of TextRecognize

Im learning Mathematica and the Wolfram language for shot time by myself. Its a pain for me that many settings are somehow hidden. Now I spent hours to find solution for something I already did with ...
2
votes
0answers
63 views

Help find rectangles with numbers [closed]

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 ...
13
votes
3answers
299 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 ...
2
votes
1answer
28 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 ...
22
votes
3answers
978 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
66 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
30 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
57 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 ...
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 ...
0
votes
0answers
36 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
1answer
95 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!
5
votes
1answer
80 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 ...
3
votes
0answers
85 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 ...
0
votes
1answer
73 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 ...
3
votes
3answers
351 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
vote
1answer
69 views
3
votes
1answer
106 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
63 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 ...
12
votes
2answers
137 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
37 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
331 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
45 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, ...
12
votes
4answers
206 views

Set pixel aspect ratio?

Bug probably present through all versions of Mathematica [CASE:4081592] Does Mathematica have a feature to set the pixel aspect ratio of 2D images? For example, ...
3
votes
1answer
64 views

Normalize ImageDistance

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

Force size in pixels of plot area excluding axes and labels

I have a matrix where each element represents a pixel. I want to plot the matrix (possibly with ArrayPlot). To suppress aliasing in the final graphic (which I will ...
2
votes
1answer
151 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 ...
2
votes
0answers
46 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 ...
1
vote
1answer
65 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 ...
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
27 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....
1
vote
5answers
280 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. ...
10
votes
2answers
1k views

Creating an example of video image tracking

Note: Please see comments below @bobthechemist's answer for why question was edited. I've made a video of two teams playing soccer. Now I would like to translate each soccer-player to a (x,y) ...