Video crop mode: adjust crop factor?

Started by DigitalVeil, January 05, 2015, 07:03:42 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

DigitalVeil

Currently, crop mode is just limited to "on" and "off" and the only option is 3x crop.  Would it be at all possible to set custom crop factors, like 1.5x, 2.5x, etc?  If possible, I feel this would be a useful feature.
Glass: EF-S 24mm f/2.8 STM, EF 50mm f/1.8, EF-S 55-250mm IS STM, EF-S 18-55mm IS STM

dmilligan

No, it's because of the nature of the CFA.

You can either read every pixel (3x crop), or skip lines* and read every 3rd line (non-crop mode). You can't skip non-integer number of lines (obviously), and you can't skip every other line because you'd end up with either only red and green pixels (no blue data) or only blue and green pixels (no red data).

I suppose you could skip 1 of every 3 lines (read 2 lines, skip 1, read 2, skip 1 etc.). You'd have pixel data for every color, but you'd end up with a really strange bayer pattern, that you'd probably have to write your own custom demosaicing algorithm. This would also require extensive reverse engineering (we don't know how to implement custom readout schemes like this on CMOS or if it's even possible => my bet would be it's not even possible).

You could also theoretically skip differently horizontally vs. vertically (you could read every column, but only every third row). This might be useful for anamorphic lenses. But again, this would require custom readout mode which we don't know how to do, or if it's even possible.


*There is evidence that the 5D3 bins pixels instead of skipping them, but the limitation remains.

DigitalVeil

Thanks dmilligan.  I appreciate that you're willing to take the time and explain these things, it's a lot more helpful and educational than simply saying "no" with a snarky attitude like some other members of this forum will do from time to time.  I know that nobody "owes" an explanation to anybody, so it's nice having people who are willing to explain.

I was hoping that it would be possible to read every 2nd line instead of every 3rd line, but oh well! Marked impossible for now.
Glass: EF-S 24mm f/2.8 STM, EF 50mm f/1.8, EF-S 55-250mm IS STM, EF-S 18-55mm IS STM

a1ex

Quote from: DigitalVeil on January 05, 2015, 08:32:23 PM
I was hoping that it would be possible to read every 2nd line instead of every 3rd line, but oh well!

That's possible - take a look here: http://www.magiclantern.fm/forum/index.php?topic=10111.msg125694#msg125694

dmilligan

So it's possible, but not particularly useful for full color recording for the reasons I mentioned (I suppose you could do b&w with it perhaps)?

DigitalVeil

Glass: EF-S 24mm f/2.8 STM, EF 50mm f/1.8, EF-S 55-250mm IS STM, EF-S 18-55mm IS STM

Greg

http://www.magiclantern.fm/forum/index.php?topic=10111.msg125426#msg125426

Possible, but the colors are crazy  ;D





This can be useful in 60FPS raw video

If 5D3 have 1920x672 1.61x
It may have 1920x672 1.0x

DigitalVeil

You can just color-grade the living crap out of it right?  :P
Glass: EF-S 24mm f/2.8 STM, EF 50mm f/1.8, EF-S 55-250mm IS STM, EF-S 18-55mm IS STM

Greg

Processing ACR 2012 can recover the color when one channel is clipped.

To check if this works, just take a picture of a red or blue filter. Red or blue channel must be clipped.
If it's working, just create a converter.

But all this does not make sense. Currently we can not change the size of the raw buffer.
We can only change the aspect ratio - http://www.magiclantern.fm/forum/index.php?topic=10111.msg123909#msg123909

Later we encounter the problem of writing speed :P
My camera write only 20MB/s