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.

3
votes
1answer
124 views

FindFaces then separate into list

I have used FindFaces on a list of pictures which contain a number of people. These faces have then been highlighted using ...
4
votes
2answers
220 views

exporting nb to pdf without images being cropped?

I want to export the whole notebook to pdf. The notebook contains some rather large images. When I choose Save As then choose pdf, I find that the resulting pdf do ...
8
votes
2answers
284 views

How to detect discolorations in an image?

I'm evaluating the technical quality of an images and I'd like to scan it for defects from dirty sensors. Are there any filters to quickly detect a blob of discoloration? Here are a few examples:
2
votes
1answer
87 views

Dynamically moving three images with respect to each other vertically

I'm trying to implement something I had in mind, although I am not sure if it is possible. It is for sure not what Mathematica is made for, but I think the features should be there, hidden in ...
6
votes
1answer
903 views

How to use an image as a plot background

Is it possible to use an image as a plot background?
2
votes
3answers
434 views

Visual superposition of two images

In a previous question Karsten 7. proposed an elegant image-manipulation solution on how to overlay two images. However in the following case the method does not properly work and needs refinement. ...
7
votes
1answer
104 views

Why does `SameQ` act inconsistently with `Image`s wrapped in `{}` versus not?

Take an Image that is displayed in a GraphicsBox, e.g. the result of ...
13
votes
2answers
339 views

Images import slowly in V11

I need to import 40 images from a folder into Mathematica, and I find the new version imports them slower than previous versions. Does anyone else experience the same? ...
0
votes
0answers
35 views

How to display an image at native size on a display using CreatePalette? [duplicate]

I am trying to display an image in a new Notebook, centered on the display, using CreatePalette. Here is example code: ...
8
votes
1answer
200 views

Weird behaviour of HighlightImage—bug or not?

For background, check my answer under this question. It is clearly stated in the documentation of HighlightImage that the 2nd argument,...
7
votes
1answer
383 views

How to increase the image resolution of a map?

I'd like to obtain higher-resolution geographic maps retrieved from Wolfram geo server, since the standard resolution seems poor. I tried to increase the "TileSize" parameter, like this: ...
32
votes
1answer
4k views

How to generate image like QR code with Mathematica

How to generate such form of QR code which displays an image itself but is still scan-able?
4
votes
1answer
345 views

Quick way to generate the Shepp-Logan phantom

I have some very old code for generating a Shepp-Logan phantom: ...
3
votes
1answer
119 views

Automatic cascading placement of graphics

Is it possible to automatically cascade graphics or images in MMA? It seems to me that most of the built-in graphic functions have a gridded style, e.g., ...
4
votes
2answers
181 views

Delete all mostly white images in a folder

I need to delete images that are all or mostly white, here's a sample of them: Here is my my code finds, my code is not very accurate nor efficient: ...
5
votes
1answer
415 views

How to return position of one image inside of another [duplicate]

With ImageAlign result is another image, that is composition of another two. But I'm looking for function that will find position, x-y coordinates of smaller image ...
2
votes
0answers
637 views

How to export the high resolution animation movie? [closed]

I would like to export high resolution animation Here is the code: ...
2
votes
0answers
92 views

What are the differences among Graphics, Raster, Image, List(ImageData) in Mathematica in terms of Head? [closed]

I do not know the exact conceptions of Graphics,Raster,Image,List(ImageData). I have only dealt with and used them in ...
1
vote
1answer
81 views

Troubles with showing axis after saving in EPS

I'm trying to save a picture in EPS and then to put it into my LaTeX document. But when I put it the left axis is not shown. How do I fix it? (look at the screens) If I save the image in JPG, there'...
3
votes
3answers
356 views

How to extract coordinates {x,y,z} from Raster3D

I want to extract coordinates out of a Raster3D. It is possible to extract coordinates out of an Image3D by using ...
3
votes
1answer
108 views

Image background for cell?

I'd like to make code Cells have a specific background image. I know you can do this for Notebooks, but what about Cells? This simple test fails: ...
3
votes
1answer
219 views

Problem with ComponentMeasurements and property “Centroid” [closed]

I am showing here three test images to investigate the output of ComponentMeasurements when using the property "Centroid". <...
1
vote
0answers
53 views

embeding an image in a cdf deployment

I would like to embed an image into CDF. Import function just import the function from a pathway but I would like the image to be present in the CDF or nb file as a part of it not importing. ...
4
votes
1answer
194 views

Find the area enclosed by a loop in an image (Contour in a plot)

Is there a way to simply compute the area enclosed by a line in an image, like this: Here's an example of what I mean by a few of the "enclosed regions" Solution 1 These sorts of images are ...
5
votes
1answer
284 views

How to apply by-hand image selection to different images

Mathematica supports image selections by hand, by utilizing the selection tool. I used it to extract relevant data (hundreds of little squares). Now I have a second image of same size, where I want to ...
3
votes
3answers
105 views

Magnification of a notebook image object

When you resize an image in a notebook with your mouse you get a tool tip with size and a magnification percent for your image: Is there some way to programmatically ascertain these values in the ...
1
vote
1answer
338 views

Getting raw data using DcRaw

I'm using dcraw program to import raw image data to Mathematica. When I use Run["dcraw -4 -D -T "image.nef"] (which converts it to an unprocessed linear TIFF file) ...
1
vote
0answers
293 views

2D image rotation about 3D vector and projection

I'm trying to rotate a 2D image such that the viewing angle is not along the normal to the 2D plane, but along some other vector. I tried various things such as: ...
4
votes
1answer
155 views

Overlay Inside a Grid/Column/Row Not Working

Here is a microscopy image of some cells I want to make measurements on with Mathematica: In order to make some measurements of cells in a microscopy image I have written a simple dynamic overlay of ...
0
votes
1answer
138 views

How to use Rescale to make a brighter image?

I want to compose three single exposures into an RGB image. I have three 2D arrays that represent each exposure and I can combine them into a 3D array, specifying the RGB values for each pixel. My ...
3
votes
1answer
128 views

How to select very small components in an image

I have been trying to identify the centroids or positions of the small yellow dots (not the large regions) in the image below. I have adopted the following strategy (please see the code), however, i ...
3
votes
2answers
661 views

How to Flatten and stack Efficiently 50000 Images

I have 50000 grayscale images with 56*56 pixels each one. I need to flatten images and stakck it in the same array with dimensions 50000*3136 after that export the file as .CSV. I am doing this code ...
6
votes
2answers
135 views

Terser way to get the intensity of one pixel

I want a function to return the intensity of one pixel notwithstanding the Color Space of the source image. I wrote: ...
1
vote
2answers
133 views

How to batch convert a directory of images to thumbnails?

I have 50k images to resize, my first attempt at this was: ...
5
votes
1answer
670 views

Detecting rectangle shape from an image

Motivation: I want to automate the process of analyzing "Electron SpectroMeter (ESM)" data. ESM uses magnets to bend electrons so that electrons with different energy are separated spatially. ESM ...
13
votes
5answers
2k views

Fit image of mountain to gaussian

I want to detect the edges of an image of a mountain and then fit that to a gaussian. I am unsure about how to only get the mountain edge, rather than every single edge in the image. How do I ...
11
votes
2answers
238 views

Magnifying the Help documents without magnifying the images therein

In Mathematica's Option Inspector I set the notebook magnification factor to be larger than 1, for example 1.12 ("Notebook Options"->"Display Options"). Accordingly contents of the Documentation ...
3
votes
2answers
88 views

Trouble aligning Graphics with Image

I import the test image eloquently named "Tank2": img = ExampleData[{"TestImage", "Tank2"}] And do an extremly poor corner detection: ...
2
votes
1answer
119 views

Colors in ImageMarker

The symbol ImageMarker (new in 10.4) seems to ignore color commands: ...
8
votes
1answer
401 views

ImageData to Image conversion

I assumed that Image and ImageData are inverses, so that the following expression gives back the original image. ...
9
votes
4answers
894 views

Find Background noise in Image

I have a set of 12 Images of a time dependent process. The Images also contain a static noise, which I want to get rid of. I had an idea to do that manually by looking at differences of images and ...
9
votes
2answers
555 views

Rotate an object in image about its centroid

I want to rotate an object in a image about its centroid. here is my code but the result is not as expected. Normally the centroid of the object does not change, except the case when the object is ...
1
vote
0answers
125 views

Calling python code on an image directly (without writing to disk / stdin)

I have lots of image processing code written in python and would like to call it from within mathematica. Is there a way to transmit the image data directly like with c++ and LibraryLink? I'd rather ...
13
votes
1answer
252 views

What governs images resizing in the FrontEnd environment

What is responsible for the middle Row images' size? And why single image row is different? ...
14
votes
4answers
1k views

Reproduce image effect in Mathematica

How do I create the "dotifying" effect below in Mathematica? I have tried to use Rasterize first to get the image pixelated, but how do I get the disc/circle ...
2
votes
1answer
116 views

How to make image3d smaller? Is `ImageResolution` useful?

I want to make the output of Image3D much smaller. For example ...
1
vote
0answers
38 views

Function with many lines that takes image as parameter not returning same result as if I run the same lines of code

Running the exact same lines of code in a function produces just a return of the original image without any points identified, whereas when I run the exact body of the function line by line it works ...
6
votes
1answer
129 views

Shadows interfering with image processing

I am currently working on processing a tic tac toe board to have a robot play a human user. As the lighting changed throughout the day, the image became more difficult to process. Is there a way to ...
17
votes
1answer
353 views

Grid cuts my images

Bug introduced in V9.0 or earlier and persisting through V11.2 pic2 = ImageResize[ ImageCrop@Rasterize@Graphics@Disk[], {Automatic, 40}] ...
1
vote
1answer
727 views

Get an array of coordinates of the edges of an image

Rick Sanchez from Rick and Morty How can I get an array of coordinates of the edge of Rick in order from left to right? I want to make my delta robot draw images. Additionally, I know that it is ...