Log in

View Full Version : Weinberger VRAW via RawSource()?


LigH
20th December 2006, 09:39
Greetings.

In the german doom9/Gleitz board (http://forum.gleitz.info/showthread.php?t=32417), a member is asking for a way to read video from a "visario" high-speed camera, which stores the result in a "Weinberger VRAW" format.

Unfortunately, it does not look like this format is well documented. If possible, he could try to publish a snippet to test with...

If anyone here knows this format, help would be appreciated. We would keep you updated about intermediate results...

sh0dan
20th December 2006, 11:05
The format is probably about 10-12 bit per component linear colorspace data arranged in a bayer grid, similar to digital cameras.

This data needs de-mosaicking, a proper color profile for the camera and gamma correction to be useful in AviSynth. Either way, this isn't an easy task, even if you can get a sample.

The camera might also be able to save in 10 bit plain RGB or similar.

LigH
21st December 2006, 22:50
Here are some links:

http://www.nsa-records.com/extra/rawvideo.vraw -- 5 frames, reported being 10 bit greyscale

http://www.nsa-records.com/extra/rawvideo_1st_frame.jpg - how it should look afterwards

sh0dan
22nd December 2006, 13:52
rawsource("rawvideo.vraw", 768, 256, "Y8", "0:2112")
levels(0,2.2, 255,16,235, coring=false)

... seems to do the job. It does however look like the video is actually only half the height of the output, and it needs some antialiasing.

Edit: Just for the record, it seems like the format is linear 8bpc pure greyscale. The levels command, adds rRGB gamma of 2.2, and converts the range to Rec601 (16-235).

LigH
28th December 2006, 13:57
(Belated...) - Many thanks! :)