How do you write ntensities and pixel coordinates to a file?
1 view (last 30 days)
Show older comments
Hi, I wrote the following code:
I = imread('example.PNG');
I = rgb2gray(I);
a = (I<100 & I>50);
imshow(a);
impixelinfo
but I want to write the pixel information from a to a file, but I don't know how to get matlab to output the coordinates.
Can someone help?
(I will be eternally grateful!)
0 Comments
Accepted Answer
More Answers (0)
See Also
Categories
Find more on Image Processing Toolbox in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!