comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: 16 bit greyscale / grayscale videos
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Re: 16 bit greyscale / grayscale videos [message #69469] Thu, 21 January 2010 00:25 Go to next message
2d is currently offline  2d
Messages: 24
Registered: July 2007
Junior Member
Yes, PNG and TIFF both support 16-bit greyscale storage. However, as i
understand with TIFF you can create a single file containing multiple
images, which is more convenient, for passing to animation software,
whilst PNG only stores one image per file, so that less convenient. Is
there any way to store multiple PNG images in a single PNG file?

Question then remains is what animation software and movie media will
retain the 16-bit greyscale fidelity? Most of these do RGB of 8 bit
for each colour, so that wont retain the full 16-bit greyscale
fidelity.

Thank you, Neil
Re: 16 bit greyscale / grayscale videos [message #69470 is a reply to message #69469] Wed, 20 January 2010 08:34 Go to previous messageGo to next message
mankoff is currently offline  mankoff
Messages: 131
Registered: March 2004
Senior Member
On Jan 20, 7:43 am, DavidPS <dps.he...@gmail.com> wrote:
> On Jan 20, 2:48 pm, 2...@onetel.com wrote:
>
>> I'd like to generate 16-bit greyscale videos to retain the full
>> sensor
>> fidelity and be able to replay them on the standard (free) video
>> players. Is this possible in IDL 6.0?
>
>> I'm thinking with medical and infra red imaging, high quality imaging
>> sensors, and processing power 16-bit greyscal video should be doable
>> now without too much difficulty. Does anyone have any suggestions
>> about how to go about generating and displaying 16-bit video.
>
>> many thanks,
>> Neil
>
> Hi Neil,
>
>  I haven't done much videos with IDL, I'd never been very happy with
> the results.  What I've used is FFMpeg, first I save the frames on
> jpeg (or other format you like) and then make a video with ffmpeg in
> your favourite format.  Ffmpeg is opensource and offer a big list of
> formats (http://en.wikipedia.org/wiki/FFmpeg).
>
> In linux what I do with image-0000.jpg to image-nnnn.jpg is:
> ffmpeg -r 20 -b 15M -i image-%04d.jpg film.mp4
>
> Cheers,
>
> David

I don't think JPEG will hold 16 bit color. PNG will, and then use some
3rd party software to animate the sequence of PNGs.
Re: 16 bit greyscale / grayscale videos [message #69472 is a reply to message #69470] Wed, 20 January 2010 07:43 Go to previous messageGo to next message
DavidPS is currently offline  DavidPS
Messages: 10
Registered: December 2009
Junior Member
On Jan 20, 2:48 pm, 2...@onetel.com wrote:
> I'd like to generate 16-bit greyscale videos to retain the full
> sensor
> fidelity and be able to replay them on the standard (free) video
> players. Is this possible in IDL 6.0?
>
> I'm thinking with medical and infra red imaging, high quality imaging
> sensors, and processing power 16-bit greyscal video should be doable
> now without too much difficulty. Does anyone have any suggestions
> about how to go about generating and displaying 16-bit video.
>
> many thanks,
> Neil

Hi Neil,

I haven't done much videos with IDL, I'd never been very happy with
the results. What I've used is FFMpeg, first I save the frames on
jpeg (or other format you like) and then make a video with ffmpeg in
your favourite format. Ffmpeg is opensource and offer a big list of
formats (http://en.wikipedia.org/wiki/FFmpeg).

In linux what I do with image-0000.jpg to image-nnnn.jpg is:
ffmpeg -r 20 -b 15M -i image-%04d.jpg film.mp4

Cheers,

David
Re: 16 bit greyscale / grayscale videos [message #69541 is a reply to message #69469] Fri, 22 January 2010 03:44 Go to previous messageGo to next message
DavidPS is currently offline  DavidPS
Messages: 10
Registered: December 2009
Junior Member
On Jan 21, 8:25 am, 2...@onetel.com wrote:
> Yes, PNG and TIFF both support 16-bit greyscale storage. However, as i
> understand with TIFF you can create a single file containing multiple
> images, which is more convenient, for passing to animation software,
> whilst PNG only stores one image per file, so that less convenient. Is
> there any way to store multiple PNG images in a single PNG file?
>
> Question then remains is what animation software and movie media will
> retain the 16-bit greyscale fidelity? Most of these do RGB of 8 bit
> for each colour, so that wont retain the full 16-bit greyscale
> fidelity.
>
> Thank you, Neil

I looked around and found that ffmpeg retain 16-bit greyscale
fidelity, this date from 2006
http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/2006-Octobe r/017237.html
Cheers,

David
Re: 16 bit greyscale / grayscale videos [message #69694 is a reply to message #69469] Tue, 02 February 2010 02:00 Go to previous message
MC is currently offline  MC
Messages: 50
Registered: September 1996
Member
On Jan 21, 9:25 pm, 2...@onetel.com wrote:
> Yes, PNG and TIFF both support 16-bit greyscale storage. However, as i
> understand with TIFF you can create a single file containing multiple
> images, which is more convenient, for passing to animation software,
> whilst PNG only stores one image per file, so that less convenient. Is
> there any way to store multiple PNG images in a single PNG file?
>
> Question then remains is what animation software and movie media will
> retain the 16-bit greyscale fidelity? Most of these do RGB of 8 bit
> for each colour, so that wont retain the full 16-bit greyscale
> fidelity.
>

Not only that, it is unlikely that one can tell the difference between
16bit and 8bit greyscale visually -even if Mach banding effects are
present...

Cheers
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: performing multiple histograms without loops
Next Topic: 16 bit greyscale / grayscale videos

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 15:16:13 PDT 2025

Total time taken to generate the page: 0.00641 seconds