Tag for questions about bitmapped graphics, particularly those using the Image function.
5
votes
0answers
72 views
How can I detect an ellipse in a photo?
I tried to detect the rim of the following cup as an ellipse.
I've tried the solutions given in How to find circular objects in an image? to detect the ellipse, but the detection result was not ...
12
votes
2answers
139 views
Sharp background image in plot
How do I get rid of blurry transitions between pixels of the background image below. It's the fault of Texture[], previously discussed in this answer.
I haven't ...
3
votes
1answer
66 views
Resampling when using image as Texture
How to get sharp pixel boundaries with Texture? I'd like to have only black/white in the example below, no gray.
...
2
votes
2answers
161 views
How can I import images from a Microsoft SQLServer database?
I have a table with binary data (images) in Microsoft SQlServer. I want to import that data and convert it into Image format. I wrote the following code, but it's ...
3
votes
1answer
218 views
Detection of horizontal lines in an image
Ok I'm trying to detect horizontal lines in an image. But the problem is that the line is quite obscure. So I'm not sure if it is even possible to extract that. I tried many different filters, but ...
5
votes
4answers
282 views
How can I return the color at a coordinate in an image?
I have an imported and cropped image:
TestPicture = Import["filepath.jpg"];
TestPictureCropped = ImageCrop[TestPicture, Min[ImageDimensions[TestPicture]]];
How ...
6
votes
1answer
123 views
Estimate Imagesize of any given Particular Control object?
I make different controls(InputFields,Text,panel, etc) in my code for which the corresponding code is below.
...
5
votes
3answers
159 views
Combining Image3D and Graphics3D
I want to combine an Image3D and a Graphics3D using Show. Here is the code:
...
8
votes
3answers
424 views
Composing an image with a plot
I'm trying to illustrate the solutions to a textbook problem dealing with quadratic functions.
This will involve plotting a quadratic and overlaying the plot and the image.
Here is the textbook ...
2
votes
1answer
34 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:
...
12
votes
2answers
585 views
How can I detect a rectangular region of interest in a picture?
Here is a downsampled input image I converted to greyscale.
To select the rectangular region of interest we first preform preprocessing:
...
9
votes
2answers
134 views
SaveDefinitions->True changes the displayed image
I have a Manipulate[ ] that displays an image with a superimposed Locator object. It works fine when I have ...
2
votes
2answers
149 views
Introduction of bias during brightness and contrast manipulation of an image
Quoting from Nature magazine's "Image integrity" guidelines:
Processing (such as changing brightness and contrast) is appropriate
only when it is applied equally across the entire image and is ...
5
votes
1answer
78 views
Scaling an image with “Drawing Tools” primitives on it
Imagine I doodle with the "Drawing tools" pen, or place lines on an image after importing it. Now say I want to scale this image by some constant factor $C$ while maintaining the same aspect ratio. ...
2
votes
2answers
94 views
Mathematica averaging a big list of large images
I have a list of several hundred images, and I want to average the list to get a single image. Each image is 12bit TIFF with 2048*2048 pixels, and I am using the following to do the job:
...
4
votes
2answers
61 views
Problem with Raster and custom ColorTable
Context
Let me define two colour tables: (which come from brewer and xmedcom respectively)
...
2
votes
2answers
109 views
Using a given colour table with Image?
Context
I would like to represent large images with a given colour table.
Now, if I use Image
...
6
votes
1answer
78 views
How can I keep a plot's filled area from obstructing other lines when exported as EPS?
I am plotting several functions, some of which have fillings. After I combine all the functions together on a plot and export the plot to an EPS file, the fillings obstruct other lines. Exported PDF ...
18
votes
5answers
591 views
Voronoi diagrams for generators other than points
Any suggestions how to determine Voronoi diagram for sites other than points, as e.g. in the picture below? Input is a raster image.
0
votes
0answers
82 views
How do I get a plot with a certain size? [duplicate]
I am currently creating a poster for a conference in Scribus. I have a given space on the poster for a plot that I want to create with Mathematica. I don't want to scale in in Scribus, as this would ...
13
votes
1answer
193 views
High memory use while exporting a BMP
Something mysterious is going on when exporting images. I'm using Mathematica 9.0.1 on Windows 7 (64 bit), and find that the memory use is excessive when exporting to a bmp. But it doesn't happen ...
9
votes
1answer
159 views
Precise cropping with ImageCrop
The built-in ImageCrop function "effectively removes borders from image whose pixel value distribution is almost uniform" (emphasis mine). I need an efficient ...
19
votes
1answer
911 views
Is there a way to convert an image into a Graph?
I'm trying to convert an image with several overlapping dots into a Graph. The goal is to be able to derive the Kirchhoff matrix for the randomly created "network ...
0
votes
0answers
75 views
Binarize a byte-formatted image
I have an image that I've imported as type "Byte" (I need to work with pixel values in this format). Let's just say the image is
...
10
votes
2answers
372 views
Maximum size of TIF files in Mathematica
I have a question concerning the maximum size of TIFF files Mathematica can handle. According to the TIFF 6.0 specification -revision 6.0 (see: ...
11
votes
2answers
652 views
Push-pin Art – Convert image to R-Y-B-W-Blk color space
After seeing an example of what is called “Push-pin Art”, I assumed that Mathematica would be able to handle the kind of image processing required to convert an image to this format. I am not well ...
14
votes
4answers
877 views
Efficiently generating n-D Gaussian random fields
I am interested in an efficient code to generate an $n$-D Gaussian random field (sometimes called processes in other fields of research), which has applications in cosmology. I wrote the following ...
3
votes
1answer
154 views
Filter bright dots from the gradient of the image
I am wondering to how to filter bright dots from background noise. I have used gradient filter in mathematica but it doesnt help, is anyway I can plot Intensity versus background noise with threshold ...
12
votes
1answer
343 views
How to extract metadata from an image of a business card?
I'm trying to digitize some documents, and I came across a very cool app called camscanner app which performs parallax transform and ocr very nicely, now I'm implementing it in mathematica...
Given ...
3
votes
1answer
236 views
Volumetric analysis from topological maps
I want to calculate the volume of fill required to level an area about the size of three foodball fields. The Department of Public Works in my city can provide me with topo data for the area. Their ...
4
votes
3answers
170 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?
...
16
votes
2answers
347 views
Why does ImageData need four times more memory?
Background
We are dealing with very large TIFF image files that are imported, processed and exported using Mathematica 9. Many of our algorithms only work with an array representation of the images, ...
2
votes
2answers
164 views
HSB -> HSL Converter
Starting from an image I would like to apply a custom filter to an image.
I have thought and implemented this filter in HSL space and it goes like this :
Boost the saturation of the pixels that ...
5
votes
1answer
127 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 ...
6
votes
1answer
199 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:
...
4
votes
3answers
126 views
How to add images where each represents a different color channel?
So I have three matrices that represent say the R, G, and B channels of an image:
...
4
votes
2answers
153 views
How can I superimpose points or disks on an image at specified coordinates?
I have a TIFF image of 640 x 640 pixels, over which I would like to plot a list of points or disks of small radius.
I have been testing different alternatives and I found ImageCompose command.
...
14
votes
2answers
563 views
How to generate a picture like this?
How to generate a picture like this? I'd like the surface of the manifold to randomly distort.
5
votes
2answers
189 views
Force Plot Area size to be equal excluding axes
I have two plots, both with the exact same formatting (frame, text style, etc.). One of them has 2-digit values for the y axes, the other has scientific notation because the value are large. In ...
21
votes
3answers
613 views
How to place an image inside a notebook, with the minimum memory footprint?
When creating a notebook with images, like photos, the file tends to quickly get big, which makes it difficult to use the notebook format for training material containing a lot of images.
Are there ...
5
votes
2answers
255 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 ?
13
votes
2answers
1k views
How to find circular objects in an image?
How could I use morphological processing to find circular objects in an image? More specifically, I need to detect road signs.
I need to get the "80 speed limit" sign from this image:
2
votes
2answers
166 views
Export grayscale png
The help for the Export function is absolutely unclear. How can I specify options for my output format?
According to the documentation, PNG supports grayscale ...
3
votes
1answer
108 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 ...
7
votes
2answers
230 views
Rasterizing a plot make axes ticks invisible
I've evaluated this code:
plot = Plot[x, {x, 0, 10}];
g = Rasterize[plot, ImageResolution -> 300];
Everything looks good except the ticks (on the axes); they ...
1
vote
1answer
141 views
How can I set an image size fully depending upon ImageSize?
I have an image assigned to myPicture
myPicture =
...
6
votes
1answer
189 views
Export an image as a double precision TIFF
I would like to save an image as a double precision TIFF image. I have looked and tried many things but no luck. I have been able to import a double precision TIFF from IDL and found that the data was ...
0
votes
0answers
61 views
How to make 3d solid volume from set of images [duplicate]
Possible Duplicate:
How to show solid bodies using volumetric rendering?
I have a set of images, and I want to construct a z-stack, then reconstruct it to a 3d volume.
My previous ...
0
votes
1answer
161 views
How can I remove orange-box around the Graphics3D?
I don't know whether this is a correct question or not, but I played from two days on this problem and still I didn't find a solution.
The save button is enabled whenever we have to specify ...
0
votes
0answers
148 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?


