The Stack Overflow podcast is back! Listen to an interview with our new CEO.
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Favorites infavorites:mine
infavorites:1234
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with Search options user 19892

Questions about getting data, files, images etc. from various formats into a form that can be read, tranformed and manipulated by Mathematica

3
votes
1answer
I have the following image (8bit, gray scale, 1600*1200 pixels): What confuses me: 1. Dimensions[Import[imageFileName, "Byte"]] gives {335715} which cannot be (should be 1600*1200=1920000 … brightness of the image I get: 1. Mean[Import[imageFileName, "Byte"]] // N 124.257 and 2. Mean@Flatten@ImageData[image, "Byte"]// N 75.6869 What is the difference between method 1. and 2.? …
asked Jul 15 '16 by mrz
4
votes
1answer
coordinates back with: coordinates = Import["F:\\coordinates.dat", "List"]; So far this works. But, when I want to plot the data with ListPlot the plot is empty. When I try Flatten[coordinates], the …
asked Feb 11 '16 by mrz
5
votes
= Length@Import[avifile, "Frames"]; Do[ image = MFGrabFrame["ByteImage"]; (* additional code *) , {i, 1, numberImages} ]; Answer from Wolfram Technical Support. I understand that … Mathematica cannot import some AVI file. This is due to that Mathematica is not shipped with decoders. We suggest converting the video file into a .gif file first. For example, you can use …
answered Jul 4 '17 by mrz
1
vote
1answer
0103758 0913 1510.04 729.10 0.00 0.00 0103760 0913 1565.91 738.97 1.80 1.37 0103762 0913 . . . input = Import["data.txt", "Table"]; The file is accessible here: https … ://drive.google.com/open?id=19o4_YruFGJh3tBgV7GlClcbvcvl0MsNf Before I import the data Wolfram Mathematica has allocated 431 MB (fresh started) During the reading the allocated memory of Wolfram …
asked Jul 20 '18 by mrz
2
votes
I can open this image with mma 11.0.1. image = Import [ "https://dl.dropboxusercontent.com/u/35018860/test.tiff"]; Options[image, MetaInformation] The image info is: {MetaInformation …
answered Dec 20 '16 by mrz
0
votes
Lets take the following image and save it somewhere (in my case to f:\test.jpg) Then I execute (MMA 11.0.1): Import["F:\\test.jpg", {"Exif", {"GPSLatitude", "GPSLongitude", "GPSAltitude …
answered Dec 20 '16 by mrz
6
votes
1answer
= Length@Import[avifile, "Frames"] (* Out: 115 *) Import[ avifile, {{"BitDepth", "ColorSpace", "Duration", "FrameCount", "FrameRate", "ImageSize", "VideoEncoding"}}] (* Out: {8, RGBColor … , 7.59, 115, 15.1515, {640, 480}, "Uncompressed"} *) images = Import[avifile, {"AVI", "ImageList"}] (* Import::fmterr: Cannot import data as video format. *) (* $Failed *) …
asked Jun 28 '17 by mrz
4
votes
2answers
. Now I want to read the number of images in the file: Line 2. numberImages = Length@Import["20181122_test.avi", "Frames"] That produces an error: If I don't load the MathMF package BEFORE, then I … get the correct result: numberImages = Length@Import["20181122_test.avi", "Frames"] 5 The funny thing is NOW I can again execute Needs["MathMF"]` and AFTER that I can read the number of images …
asked Nov 20 '18 by mrz
4
votes
2answers
I have a CMOS camera which records images at 12 bit resolution. The camera software allows to save them as 12-bit TIFs. However, Mathematica cannot import this: Import["12_bit.tif", "BitDepth … "] (* -> 12 *) img = Import["12_bit.tif"] (* -> $Failed *) Import::unsup: Unsupported type of TIFF file. How can I read 12-bit TIF images? Here is the original image: http://tinyurl.com/jyg6jwm I …
asked Jan 13 '16 by mrz
7
votes
Here is the answer from Wolfram Technical Support 12-bit TIFF files are not currently supported by Mathematica. Our developers are interested in supporting this format, however, and I have fi …
answered Jan 18 '16 by mrz
2
votes
2answers
&, {2048, 2048, numFiles , 1}]; ParallelTable[ image = Import[fNames[[i]]]; ParallelTable[ pixelIntensity[[r, c, i]] = ImageData[ImageTake[image, {r, r}, {c, c}]], {r, 1, 2048}, {c …
asked Feb 4 '16 by mrz
4
votes
1answer
For importing png images I use often: image = First@Image`ImportExportDump`ImageReadPNG[fileName] (see: ?*`*PNG*) since this is faster than: image = Import[fileName,"PNG"] (see for comparison … reason for that? Please run the code below and observe how the used memory increases. This "problem/error" does not occur with Import[filename,"PNG"]. Example code: SetDirectory …
asked Dec 11 '18 by mrz
4
votes
1answer
`"]; numberImages = MediaToolsPrivate$MFReadVideoFrameCount[ "20181203_01_movie.avi"] // AbsoluteTiming {4.16492, 350} Second step with restarted kernel: numberImages = Import["20181203_01_movie.avi …
asked Dec 3 '18 by mrz
8
votes
1answer
In version 11.1.1 I used MathMF by Simon Woods to extract png images from large avi files (up to 100GB in size). His package was MUCH faster than using something like that: nImages = Length@Import … ["D:\\movie.avi", "Frames"]; Do[ image = Import["D:\\movie.avi", {"Frames", i}]; strCounter = ToString@PaddedForm[i, 5, NumberPadding -> {"0", ""}]; Export[StringJoin[outputPath, "image_ …
asked Nov 29 '18 by mrz
1
vote
1answer
I asked here for a solution how single video images can be extracted very fast from avi files. Piotr Wendykier gave a solution for Mathematica 11.3. Now I'm using Mathematica 12 and his solution doe …
asked Sep 5 by mrz

15 30 50 per page