Sorry, but still have no idea how to do it. There must be a way...
Search found 11 matches
- 2013-11-19T02:16:22-07:00
- Forum: Users
- Topic: Converting 32-bit floating point grayscale raw image
- Replies: 5
- Views: 11881
Re: Converting 32-bit floating point grayscale raw image
Bumping.
Sorry, but still have no idea how to do it. There must be a way...
Sorry, but still have no idea how to do it. There must be a way...
- 2013-10-29T02:05:30-07:00
- Forum: Users
- Topic: Converting 32-bit floating point grayscale raw image
- Replies: 5
- Views: 11881
Re: Converting 32-bit floating point grayscale raw image
Thanks for the replies!
tried (with "-alpha off"):
convert -endian LSB -depth 32 -define quantum:format=floating-point -size "1024"x"1024"+"8192" gray:au1_6_3085.edf -normalize -alpha off -compress zip try.tif
- same result (transparent .tif).
Here's the raw image (4.1 MB): https://dl ...
tried (with "-alpha off"):
convert -endian LSB -depth 32 -define quantum:format=floating-point -size "1024"x"1024"+"8192" gray:au1_6_3085.edf -normalize -alpha off -compress zip try.tif
- same result (transparent .tif).
Here's the raw image (4.1 MB): https://dl ...
- 2013-10-29T00:51:15-07:00
- Forum: Users
- Topic: Converting 32-bit floating point grayscale raw image
- Replies: 5
- Views: 11881
Re: Converting 32-bit floating point grayscale raw image
It was Q16, now compiled with Q32, tried again all commands mentioned before - same results: tiff all transparent.
"convert -version" gives:
Version: ImageMagick 6.8.5-7 2013-10-29 Q32 http://www.imagemagick.org
Copyright: Copyright (C) 1999-2013 ImageMagick Studio LLC
Features: DPC HDRI OpenMP ...
"convert -version" gives:
Version: ImageMagick 6.8.5-7 2013-10-29 Q32 http://www.imagemagick.org
Copyright: Copyright (C) 1999-2013 ImageMagick Studio LLC
Features: DPC HDRI OpenMP ...
- 2013-10-28T08:17:39-07:00
- Forum: Users
- Topic: Converting 32-bit floating point grayscale raw image
- Replies: 5
- Views: 11881
Converting 32-bit floating point grayscale raw image
Hello,
I've got raw 16 bits unsigned grayscale images with header. I can successfully convert them to "regular" tiff using:
convert -endian LSB -depth 16 -size "1024"x"1024"+"8192" gray:try_pic.edf -normalize -compress zip try.tif
But I've also got similar grayscale images in 32 bits floating ...
I've got raw 16 bits unsigned grayscale images with header. I can successfully convert them to "regular" tiff using:
convert -endian LSB -depth 16 -size "1024"x"1024"+"8192" gray:try_pic.edf -normalize -compress zip try.tif
But I've also got similar grayscale images in 32 bits floating ...
- 2012-02-13T06:09:02-07:00
- Forum: Users
- Topic: How to convert raw image to compressed tif?
- Replies: 11
- Views: 95718
Re: How to convert raw image to compressed tif?
Drarakel, thanks, all problems solved!
Now the only problem that remains is to do this to some 400,000 images, some with different header sizes and different dimensions. But I guess it's an off-topic.
Now the only problem that remains is to do this to some 400,000 images, some with different header sizes and different dimensions. But I guess it's an off-topic.
- 2012-02-13T02:59:27-07:00
- Forum: Users
- Topic: How to convert raw image to compressed tif?
- Replies: 11
- Views: 95718
Re: How to convert raw image to compressed tif?
Drarakel , thank you very much - the -auto-level option gives exactly the output that I was looking for!
I have read about what this option does, but I am not sure that it conserves all the data in the original image. So can I consider my new file lossless after using this option?
Another strange ...
I have read about what this option does, but I am not sure that it conserves all the data in the original image. So can I consider my new file lossless after using this option?
Another strange ...
- 2012-02-12T12:42:10-07:00
- Forum: Users
- Topic: How to convert raw image to compressed tif?
- Replies: 11
- Views: 95718
Re: How to convert raw image to compressed tif?
OK, compiled and installed the latest version, 6.7.5-5.
Now when I do:
convert -endian MSB -depth 16 -size 2048x2048+1024 gray:HM1_diffTomo_zone2_LR0001.edf -compress lzw image.tif
I get:
http://img841.imageshack.us/img841/127/imagegt.png
Which is the same as I get in ImajeJ with big endian, and ...
Now when I do:
convert -endian MSB -depth 16 -size 2048x2048+1024 gray:HM1_diffTomo_zone2_LR0001.edf -compress lzw image.tif
I get:
http://img841.imageshack.us/img841/127/imagegt.png
Which is the same as I get in ImajeJ with big endian, and ...
- 2012-02-12T11:26:05-07:00
- Forum: Users
- Topic: How to convert raw image to compressed tif?
- Replies: 11
- Views: 95718
Re: How to convert raw image to compressed tif?
I use version 6.6.0.
With your line, I got the following result:
http://img18.imageshack.us/img18/6074/imageit.png
Is that what you got?
The correct result should look like that:
http://img594.imageshack.us/img594/7701/correctu.jpg
I got this with ImageJ, little endian option. By the way, ImajeJ ...
With your line, I got the following result:
http://img18.imageshack.us/img18/6074/imageit.png
Is that what you got?
The correct result should look like that:
http://img594.imageshack.us/img594/7701/correctu.jpg
I got this with ImageJ, little endian option. By the way, ImajeJ ...
- 2012-02-12T09:11:40-07:00
- Forum: Users
- Topic: How to convert raw image to compressed tif?
- Replies: 11
- Views: 95718
Re: How to convert raw image to compressed tif?
OK, Tried to set endianness:
+endian, -endian msb cause a distorted image, each in it's own way.
-endian lsb - makes black image, as before.
I've got a feeling that it's because it sees it as signed 16 bit. How do I tell it to read it as unsigned 16 bit?
+endian, -endian msb cause a distorted image, each in it's own way.
-endian lsb - makes black image, as before.
I've got a feeling that it's because it sees it as signed 16 bit. How do I tell it to read it as unsigned 16 bit?
- 2012-02-12T07:32:53-07:00
- Forum: Users
- Topic: How to convert raw image to compressed tif?
- Replies: 11
- Views: 95718
Re: How to convert raw image to compressed tif?
Thanks for the fast reply!
* The third argument in -size is from the tip here:
http://www2.fz-juelich.de/vislab/software/www/convert.html
And it actually works, when I indicate "-depth 8" - I get a non-black image, just not the correct form.
* changed the placing of -compress:
convert -depth 16 ...
* The third argument in -size is from the tip here:
http://www2.fz-juelich.de/vislab/software/www/convert.html
And it actually works, when I indicate "-depth 8" - I get a non-black image, just not the correct form.
* changed the placing of -compress:
convert -depth 16 ...
- 2012-02-12T06:55:48-07:00
- Forum: Users
- Topic: How to convert raw image to compressed tif?
- Replies: 11
- Views: 95718
How to convert raw image to compressed tif?
Hello,
I have a bunch of raw images like this one (about 8M each):
http://dl.dropbox.com/u/14434681/HM1_diffTomo_zone2_LR0001.edf
They are 2048x2048 in size, "unsigned short datatype", and have a 1024 bytes header. The colors are grayscale.
I want to convert them to compressed tif images, so they ...
I have a bunch of raw images like this one (about 8M each):
http://dl.dropbox.com/u/14434681/HM1_diffTomo_zone2_LR0001.edf
They are 2048x2048 in size, "unsigned short datatype", and have a 1024 bytes header. The colors are grayscale.
I want to convert them to compressed tif images, so they ...