Everyone,
Please help -- I am still at a loss as to why when I write out a text file containing an image in memory with IM and then count the number of zero values
(grep -c "^0$") I get a count of 9,199,169 and when I write the image out using Matlab lab the count of the numbers of zeroes is 9,307 ...
Search found 3 matches
- 2011-01-11T09:12:10-07:00
- Forum: Users
- Topic: Can't Write Pixel Values to ASCII File Correctly
- Replies: 8
- Views: 13802
- 2011-01-10T09:04:33-07:00
- Forum: Users
- Topic: Can't Write Pixel Values to ASCII File Correctly
- Replies: 8
- Views: 13802
Re: Can't Write Pixel Values to ASCII File Correctly
Anthony,
I see. The Matlab version is just writing out the values to a file, it is not using any binning techniques. This all started with attempting to prove that the image read in by the Matlab program was what was read in by my ImageMagick (Magick++) application. Once the image is read in each ...
I see. The Matlab version is just writing out the values to a file, it is not using any binning techniques. This all started with attempting to prove that the image read in by the Matlab program was what was read in by my ImageMagick (Magick++) application. Once the image is read in each ...
- 2011-01-07T07:34:57-07:00
- Forum: Users
- Topic: Can't Write Pixel Values to ASCII File Correctly
- Replies: 8
- Views: 13802
Can't Write Pixel Values to ASCII File Correctly
Hi,
I am new to ImageMagick and have been knocking my head against the wall trying to resolve the following problem:
I read a gray scale image into memory:
Image image;
ColorGray grayScale;
image.read("myimageFile.jpg"); // I have also tried a .bmp version of the same image.
using the ...
I am new to ImageMagick and have been knocking my head against the wall trying to resolve the following problem:
I read a gray scale image into memory:
Image image;
ColorGray grayScale;
image.read("myimageFile.jpg"); // I have also tried a .bmp version of the same image.
using the ...