Tagged Questions

Tag for questions about bitmapped graphics, particularly those using the Image function.

learn more… | top users | synonyms

2
votes
2answers
152 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 ...
3
votes
3answers
166 views

the different way for a drunken man go back home in determined number of steps

A drunken man walks in a two-dimensional grid.He can walk rigth(1),down(2),left(3),up(4).After determined number of steps,for example,6 steps,he has 400 ways go back home(the number of 1(2) equal to ...
0
votes
2answers
114 views

Import a large no. of image from a folder together to Mathematica and assign a variable to each of the image [duplicate]

I am using Mathematica for the processing of images. For this I have to process a lot of images. Currently, I import one by one of the images to run the simulation. I want to import all the image ...
3
votes
0answers
246 views

Masked Image Registration/Alignment/Correlation

I'm trying to register (align) two circular grayscale images using a boolean mask to prevent them simply being aligned on the fixed circular border. There are also small fixed circular regions in the ...
5
votes
2answers
243 views

Band Intensity Quantification

I would like to measure the density of my western blot band by measuring the area under the peak from this plot. More specifically, my image will have several lanes with a pattern of bands in each ...
0
votes
1answer
67 views

How to use ImageMultiply[] over a list of strings?

I'm trying to do the following: ...
6
votes
3answers
604 views

Understanding Bilinear ImageResize

In trying to understand basic image transformations, I have attempted to code my own image resize function that uses bilinear interpolation. I checked my work against Mma's ...
4
votes
1answer
129 views

Parallel evaluation of Image and Rasterize problem

The following command: ParallelTable[Image[Graphics[{{Red, Disk[{5, 5}, 4]}}]], {i, 10}] shows a very strange behaviour. It starts a new Mathematica process on ...
8
votes
1answer
287 views

Export an image at 1000 dpi

I'm trying to export an image at 1000 dpi. The author guide of a lot of papers wants this resolution! Then I must to import this image in Word in a small box; let's say 7x4 cm. This is the code that I ...
3
votes
0answers
64 views

Why doesn't ReplaceAll work on Image? [duplicate]

ReplaceAll seems not to reach inside Image, and I don't see why it shouldn't. Here is an example. Create a black and white image ...
0
votes
1answer
243 views

Image processing, masking

My question is about finding a object in a specific part of a image. For example, I use this image: As you can see, you will se two persons walking on the field. I only want to find the second ...
3
votes
0answers
95 views

Problem importing individual frames from QuickTime file

I am having difficulties with a code I am trying to run. Essentially I want to Read in a large .mov video file (60000+frames). ...
0
votes
1answer
214 views

Using an image as a moving object in an animation

I have following animation: ...
2
votes
1answer
253 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 ...
2
votes
4answers
252 views

How to set magnification of image to 75%

Right click on an output image, choose magnification. There are 25%, 50%, 100% etc. But how can I set to 75%?
0
votes
1answer
162 views

PixelValue with pixel indices [duplicate]

How Can we use PixelValue with pixel indices?
0
votes
1answer
98 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 ...
9
votes
4answers
492 views

Measure the length and width of the image

I obtained the images from a Magneto Optic Kerr Effect system from which I have to do some calculations. I cannot calculate the desired information from the images. The details are as follows: From ...
4
votes
1answer
131 views

Exporting images in a Mathematica array to a PDF s.t. each image is precisely $n \times m$ millimeter in dimension [duplicate]

I have a number of images in a Mathematica array, and I'd like to export the images to a PDF s.t. each image is precisely scaled to be $n \times m$ millimeters in dimension. The idea is that printing ...
12
votes
1answer
657 views

How to map an image to get an illusion of 3D

I would like to distort or map a given jpg so it looks 3D when viewed from certain angle, as in the following youtube video: http://www.youtube.com/watch?v=IfCCUd8mFtg. The most interesting part of ...
6
votes
1answer
203 views

Custom image as plot marker

Is there a quick and easy way with Graphics to replace the standard data points in a plot with a custom image?
4
votes
2answers
260 views

How to determine coordinates of a shape in an image?

I have a pre-processed image, from which I have to get coordinates of some components. There are 7 green components (pigs actually) that I have already isolated from an angry bird screen shot. So ...
6
votes
1answer
247 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: ...
3
votes
2answers
436 views

video image recognition [closed]

Has anybody experience with video and image recognition? I've made a video of two teams playing soccer. Now I would like to translate each soccer-player to a (x,y) coordinate and follow them during ...
2
votes
1answer
236 views

add a scale bar to a microscopy image?

Is there any way to add scale bar to a image for example. I just need to add a bar and a text on top of it to all my images without having to rewrite ...
0
votes
1answer
100 views

change font size and circle the pointers

MWE ...
5
votes
1answer
200 views

measure minimum distance of dots from edge

I want to measure minimal distance of small dots from the edge of an image: Image of bright dots: Edge image ImageAdd looks like following:
4
votes
0answers
163 views

Single image import from stack via FTP connection

Background I would like to create a CDF document that is embedded on a webpage. The CDF will contain some image display ...
2
votes
1answer
324 views

Measure relative lengths of rectangular objects

I'm working on a method for measuring the relative lengths of the objects, with the intention of showing that the objects are longer in the center of the image that at the top/bottom. The image is ...
3
votes
2answers
126 views

Cannot change ImageResolution after applying ImagePad

I want to export high-resolution images of a plot I'm making. The trouble is, the plot has a lot of extra white space around it which I get rid of via ImagePad (I ...
11
votes
2answers
625 views

How to improve the accuracy of this Monte Carlo simulation

A friend of mine went on an interview and he was asked to calculate the angle between the hour hand and minute hand of an analog clock when the time was 3:15. Arguably, this is a trivial problem that ...
0
votes
1answer
226 views

How to read image files in Analyze 7.5 format?

I am using GATE/Geant4 for simulating photon beams interacting with matter. For 3D dose distributions, GATE outputs the data into an Analyze 7.5 format [1]. I was wondering whether there exists a ...
11
votes
1answer
492 views

Ellipse counting from image

I have hundreds of images similar to this image: I'm looking to count the number of ellipses as well as their major and minor diameters. The ellipses are touching, hence, ...
6
votes
2answers
628 views

Band-pass filter an image

Ok so i have some HR-TEM images. In this technique fringes appear whereever a crystalline structure is present. This fringes are separated by a certain distance depending on the material, this is our ...
4
votes
1answer
164 views

How to change the aspect ratio with drawing tool?

I'm drawing an image in editing an slide show with the drawing tools. But the aspect ratio of the created drawing seems fixed and not changeable with mouse dragging the border and corner as in other ...
6
votes
2answers
181 views

Get information about a stack of images, without plotting it

A very long time ago I used Mathematica for a few months and found it very intuitive. Now for my work I use MatLab. I was just trying some stuff out with Mathematica again and there is something I ...
10
votes
2answers
313 views

How could I use Mathematica to remove finger tips that appear in images?

I used my photo camera to "scan" a heavy dictionary. I tried to have flat images by pressing the margins of the pages with my fingers. The color of the background is (normally) black and my fingers ...
13
votes
3answers
609 views

How can I convert colors to grayscale?

I want to change the above colored plot into a grayscale plot. I have tried this: CCGray[pic_?ImageQ] := Module[{}, ColorConvert[pic, "GrayScale"]]; but it ...
7
votes
3answers
357 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 ...
-2
votes
1answer
260 views

Importing a stack of images [closed]

I have a stack of images with the file names C0001996_0000 , C0001996_0001 etc. In total I have $600$ images. I would like to ...
3
votes
0answers
276 views

How can I create jpeg images of a given file size?

Cross-posted at Wolfram Community I would like to have a function makeJPG[megabytes_] that generates random jpg images of given file sizes with itf filesize (in megabytes) watermarked on the image ...
13
votes
1answer
526 views

How to identify chemical substance from tattoo?

A friend of mine made a tattoo on his chest of some chemical substance formula. He challenged us to identify which substance is that. I thought that perhaps a combination of: Mathematica image ...
7
votes
4answers
794 views

MATLAB To Mathematica: How to implement imshow()

I want to implement the MATLAB imshow function in Mathematica. This is a DensityPlot[] from Mathematica And this is ...
1
vote
2answers
178 views

Image's pixels GPU colour classes splitting

How can I split in color classes, the pixels of an image that I load in Mathematica? I would an output like this: ...
4
votes
4answers
663 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: ...
2
votes
2answers
526 views

Generating x,y coordinates for an edge detection

I'd like to be able to process a number of graphics that have edge contours and output a list of $x$, $y$ coordinates to be used for generating a spline in another program, or in Mathematica, to make ...
3
votes
0answers
181 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
555 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!
2
votes
0answers
243 views

Understanding “IntensityData” coordinates

Update - Playing around a bit, is it true that we need to process the list of "IntensityData" values $r$ as follows: r = Partition[r,k]; r = Transpose@r; And ...
5
votes
2answers
240 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 ...