0
votes
0answers
26 views

How to plot morphological stripe near the mouse-clicked position in an image? [duplicate]

I tried to use EdgeDetect and MorphologicalComponents to get the image edge elements. When I clicked on an image, I want the edge element nearby to be highlighted or plotted. Here is my code. Two ...
11
votes
4answers
380 views

Using an Image as the Fill/Texture (not background) of a Plot (not polygon)

Is it possible to use an image, rather than a color, or ColorFunction, as the filling for a plot? For instance, I want to make a plot using ...
2
votes
1answer
118 views

How to highlight image edge with spline/bezier when mouse moved over?

It is known that EdgeDetect can find image edges in an image. Suppose the image edges consists of sets of lines. Can the detected edge line near the mouse pointer be highlighted as spline/bezier when ...
2
votes
3answers
99 views

Force change in aspect ratio of Inset image

I have an image that I want to place in the background of a plot and stretch it to cover the entire plot area. However, the aspect ratio of the image does not match the aspect ratio of the plot, and ...
1
vote
1answer
75 views

Plot Legends and Frame Ticks in Array Plots

Why do the frame ticks go away when PlotLegends->Automatic is inserted in an Array Plot? For instance, the following code produces an Array Plot with Frame Ticks. ...
2
votes
1answer
67 views

Trying to combine an image with a Plot

I've got this picture: The image has a resolution of 2001x2001. The left most pixel has an x-value of -2, and the right most pixel has an x-value of 2. Same goes for the y-values. Now I am trying ...
11
votes
1answer
418 views

Map of Specific US States? (Isolated)

My question here is fairly basic, and I'm sure I'm overlooking something basic. I know about CountryData for creating shapes of entire countries, and it works, to ...
2
votes
2answers
147 views

Set PointSize to pixel size

I have a set of 1million 2D points and I would like to produce an image 200x200 pixels where each point will have the size of a pixel (no more). Additionally each point may repeats several times so I ...
2
votes
1answer
239 views

How to make a big image/dashboard containing various data-graph

I want to make and image/dashborad (to export to PDF) with many VERTICAL bullet graphs gauges. And I canĀ“t make it, in a automatic way. In general, the questions are: QUESTION 1: How to make a ...
0
votes
1answer
94 views

To put a plot inside of a plot [duplicate]

I'd like to put a figure of a 2D-plot into a larger 2D-plot (into some white-space), like in the example below: I don't precesely know how It's done, could anyone help me with this one? Is it with ...
6
votes
1answer
236 views

transparency in image used for texture?

Is there a way to set a transparancy channel in a raster image used for a texture in 3d graphics? this creates a raster image with a transparency channel: ...
7
votes
3answers
335 views

Poor quality Rasterize output when Background -> None

I am attempting to generate partially transparent images for PNG Export, but seem to run to the following issue. If I Rasterize ...
4
votes
4answers
598 views

How to show multiple images with a for loop

I wrote a simple application(I put the code in the end) to detect the parallel line pairs in the following picture: It returned three pairs of parallel line: ...
3
votes
0answers
178 views

Method Shrinkwrap Messes up editting Graphics

If you try resizing or moving the Inset in the following interface, the Graphics becomes incredibly jerky and borderline ...
7
votes
1answer
538 views

How can this type of optical illusion be created in Mathematica?

I see these around the web and would like to make them in Mathematica. Combining them in an array is actually quite mesmerizing!
5
votes
2answers
231 views

How to add a graphics frame to an image without resampling

Using Inset to place an image inside a Graphics expression with Frame -> True provides a ...
1
vote
2answers
201 views

Why is Text in an Image cut off?

I want to create a long, skinny Image containing only text. This makes a square image of the default size. ...
5
votes
2answers
329 views

Colorize and the Four-Color Theorem

We can write: MorphologicalComponents[image] // Colorize To assign a random set of colors to each component in some image. The example used for reference by ...
3
votes
1answer
134 views

NetLink Exporting Images doesn't work (Unknown string escape)

Exporting Image files (intermittently) doesn't work: I get messages back indicating the error is to do with escaping characters: ...
4
votes
3answers
548 views

How to align dynamic graphics and an image within an Overlay?

I have dynamic graphics over an image but they won't line up, what am I doing wrong? ...
6
votes
1answer
181 views

Is it possible to render Graphics with more than “Byte” bitdepth?

I wonder is it possible to render Graphics in Mathematica with bitdepth higher than "Byte" which is the maximum bitdepth ...
1
vote
1answer
305 views

Making a screen icon by Mathematica

Is it possible to make within Mathematica an image file to be used as a screen icon? Could you kindly give an example?
10
votes
2answers
601 views

Detecting edge/region in contour plot

I am interested in improving this plot: which I produced with the following command: ...
7
votes
1answer
289 views

Color ramp banding in PDFKit when exporting Raster image Inset to PDF

Here I produce a Raster image with large uniformly colored rectangles and put it in an Inset: ...
6
votes
2answers
370 views

Rectangle with rounded edges

Inspired from : Fit an image within a Rectangle [] in Graphics I would like now to fit an image within a Rectangle[] with rounded edges as shown in the example below : Is it possible ?