Questions tagged [image]

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

99 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
17 votes
0 answers
252 views

Is Mathematica 10 color managed?

With ColorProfileData Mathematica 10 can handle device-dependent color spaces. However images with embedded color profiles, e.g. ...
  • 1,193
15 votes
0 answers
365 views

FunctionCompile examples for Computer Vision

I'm looking for some good examples of FunctionCompile applied to image processing code since there doesn't seem to be anything on this in the documentation. So here's a first attempt at a hello world ...
  • 30.6k
12 votes
0 answers
248 views

Is it possible to search the web by image from Mathematica?

Is it possible to perform a web search based on an image input? There are several services that provide this: Google, Bing, TinEye, and maybe others. I am not sure which can be accessed ...
  • 230k
11 votes
0 answers
365 views

Efficient image stacking

I have a list of lists of images that I would like to stack and create mean images for each list of images. Images are .jpg files 2592x1944 pixels large. Each list ...
  • 7,767
9 votes
0 answers
129 views

Why does repeated export of JPG-Images consume all memory?

I was looking in the history of asked questions for similar questions, but none of the alike questions answered my problem sufficiently. So I ask nevertheless. My system memory is leaked by simple ...
  • 1,546
7 votes
0 answers
322 views

Background removal with hair

I'd like RemoveBackgound to work on images where the foreground boundary is nontrivial e.g. with hair: ...
  • 30.6k
7 votes
0 answers
94 views

Realistic and stylistic Image and Video corruption effects

I'd like to produce a video that looks 'corrupted' in some way, ideally like the sorts of MPEG corruptions you see occasionally. See this for examples: https://www.youtube.com/watch?v=i-bz21deEeY At ...
  • 21.7k
7 votes
0 answers
332 views

How to determine foci colocalization in a microscopy RGB image

I have a series of microscopy RGB images of the cell nucleus like this one The red and green dots are clusters of different proteins and I would like to determine when these dots colocalize. Through ...
  • 161
6 votes
0 answers
114 views

How to preview a list of images by sliding the mouse?

I'm trying to dynamically scrub over a list of images like in iphoto. Unfortunately, when the mouse moves from one side to the other, it's skipping frames which is confusing: When the mouse runs off ...
  • 30.6k
5 votes
0 answers
851 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 ...
  • 9,512
5 votes
0 answers
1k 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 ...
  • 30.6k
4 votes
0 answers
188 views

Weird rasterization artifacts

When I try to rasterize circle with modified border thickness I get weird artifacts Image[Graphics[{Thickness[.2],Circle[]}]] Anyone knows any workaround how to ...
4 votes
0 answers
239 views

Image processing- Identify regions in a segmented image to measure the dye intensities

I have split my image into the 3 channels each representing a different dye. I have segmented each image and I now want to 1) Identify each of the segmented regions and 2) Detect the level of dye ...
  • 61
4 votes
0 answers
393 views

How can I import from a usb webcam on the raspberry pi?

I'm trying to set up a raspberry pi as a webcam server and I need to import images into a Mathematica notebook on the raspberry pi. I tried using CurrentImage[] ...
4 votes
0 answers
224 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). ...
4 votes
0 answers
209 views

Georeferenced bitmaps

The command Export["filename.jpg", graphic] will export the graphic object graphic to the file ...
  • 1,879
4 votes
0 answers
278 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 ...
  • 3,298
3 votes
0 answers
86 views

Applying Super-Resolution to differently sized images

I would like to make some images larger and noticed that there is a page in the documentation for doing super-resolution using a network structure. It's called "A Model for Super-Resolution."...
  • 66.7k
3 votes
1 answer
394 views

Export Vectorized Images

I read the answered question here which was for 7 years ago. I want to use DensityPlot3D function to draw a figure and save it as eps, pdf, or SVG as a vectorized ...
  • 31
3 votes
0 answers
81 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 ...
  • 1,437
3 votes
0 answers
40 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 ...
  • 2,000
3 votes
0 answers
147 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 ...
3 votes
0 answers
885 views

Export to PDF: DensityPlot & AllowRasterization->False

How to get production-quality vector graphic exported from Mathematica that looks like what is plotted in Mathematica. Example code: ...
3 votes
0 answers
202 views

Re-projection of full disk satellite image

I am trying to re-project a full disk satellite image (see below) downloaded from JMA to Mercator projection. My understanding is that the image does not show the entire hemisphere (unless the ...
  • 191
3 votes
0 answers
68 views

Meaning/Format of RAW Image Data

I took photographs and I want to fit the (overall intensity or red intensity) of the photographs to a function of (x,y). I have some questions about how RAW data is structured. What is the difference ...
3 votes
0 answers
528 views

How to set BitDepth and control dithering on exported GIF

Related: How to export a Graphics to PNG with BitDepth greater than 8? I can't find a way to set the BitDepth of an exported GIF. It doesn't need to have great colour data, but I don't want to reduce ...
  • 1,079
3 votes
0 answers
244 views

Confocal Microscopy

Is it possible to direcly import Nikon ND2 files (e.g Confocal microscope 2D or 3D stacks files)? Otherwise how can we import TIFFs of 3D stack and process it as a single "entity" so to speak? ...
3 votes
0 answers
167 views

Identify and measure single bubble radius in series of images (TIFF)

I aim to make use of Mathematica's image processing capabilities to measure the radius of bubbles in consecutive images taken with a high-speed camera. After searching through this website I have ...
  • 31
3 votes
0 answers
163 views

Frame text is cropped while exporting as EPS

I have generated an eps file with using Export["filename.eps", figure, "eps"], but the text on the frame labels and tick numbers are cropped like this: Screenshot ...
  • 465
3 votes
0 answers
738 views

Import displays DICOM images as black rectangles (Mma v. 10)

My problem concerns Mathematica version 10.0.1.0 with OS X 10.9.4, OS X 10.9.5 and it does not occur in Mathematica version 9.0.1.0 (on the same computer and OS). About 90% of my DICOM images are ...
  • 7,365
3 votes
0 answers
888 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,511
2 votes
0 answers
50 views

Save Selection As command gives no options--only pdf format savable

I want to insert a Mathematica plot (ListPlot3D) into my question CopulaQuestion, but I no longer seem to be given the option of what format to use. Only a pdf seems possible, which I can't then ...
2 votes
0 answers
67 views

family photo album,how to optimize its realization?

I am Beezy, the eldest daughter of the couple. I have a lot of photos on paper and I want to make a photo album for my parents, but the task is titanic. First I use a scanner, to scan the photos that ...
  • 480
2 votes
0 answers
40 views

How to make eplilog text visible while exporting plot as pdf?

I am having this problem that if I add some epilog text in a plot by rotating it, then while I export the plot as pdf, the text becomes invisible. It works fine if I export it as jpeg or png. What ...
  • 73
2 votes
0 answers
311 views

Getting an image from the Intel RealSense Depth Camera

Does anybody know how to make the "Module Depth" of an Intel RealSense camera work in Mathematica 12.0? I can use the "Module RGB" with ...
  • 21
2 votes
0 answers
37 views

Problems with ImageResize using Mathematica Online (different results than Mathematica desktop .nb)

I originally created a package (.m file) which handled figure formatting. This package was read into my desktop notebook file. In the code block below, I use ImageResize[image,width] to resize an ...
2 votes
0 answers
126 views

Mathematica 12.1 breaks exporting to postscript - workaround?

If you uncomment the ColorFunction in the code below, the resulting PS file is 200kb (compared to 32kb in 12.0) and is rejected by applications such as Scientific ...
  • 1,486
2 votes
0 answers
130 views

Converting video file to list of images to analyze pixels of each frame

I am trying to recreate the following physics experiment to analyze chaotic motion: https://www.researchgate.net/publication/275890532_Tracking_the_Motion_of_a_Double_Pendulum_Using_Mathematica I ...
2 votes
1 answer
80 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 ...
2 votes
0 answers
56 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 ...
2 votes
0 answers
173 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,991
2 votes
0 answers
66 views

Suppressing non-deterministic behavior in Image

The following issue is experienced in Mathematica 11.3 on Linux (debian 9) but I am pretty sure it was already present in version 10 on Linux. The expression ...
  • 2,000
2 votes
0 answers
62 views

Identifying overlapping incomplete squares in image

I am trying to align my device and markers automatically using positioners driven by Mathematica. The camera feed looks like this: The device is the black square with gold electrodes. The markers are ...
  • 1,811
2 votes
0 answers
260 views

How to create 2D ImageHistogram?

Using ImageHistogram I can find the frequency of each color value in an image. Applying the same, I can have a histogram of its gradient values. I wish to combine these two on a log scale such that X -...
  • 3,145
2 votes
0 answers
107 views

Drag-and-drop image out of notebook

Drag-and-dropping images into notebooks works like a charm. But oftentimes I already have an image in a notebook and I want to use somewhere outside Mathematica. So we do this: right-clicking and ...
  • 30.6k
2 votes
0 answers
319 views

How to image search on Twitter?

I'm looking for a function to download N images from Twitter with certain text in the tweet. Is there a better way to perform this search than this naive code: ...
  • 3,685
2 votes
0 answers
297 views

Exporting or save graph to pdf, when will the rasterization occur?

For simple graph Plot[Sin[x], {x, 0, 10}] No matter right click save as pdf or export as pdf, the result is vector image. But for ...
  • 16.4k
2 votes
0 answers
278 views

How to get the SIFT features of an image?

According to the documentation, the function KeyPoints[] computes features only using SURF, but what about SIFT or FAST features?
  • 30.6k
2 votes
0 answers
427 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 ...
  • 43
2 votes
0 answers
366 views

Behavior of copy and paste with different image formats

Ok, let's say I create a 1x1 pixel image. i = Image[{{0}}, "Byte"]; Now I Export["image.png", i] the image and import it into ...
  • 7,511