Author
Topic: Pixel binning patterns in LiveView (Read 18499 times)

Jup I also needed to adjust CMOS 7 (I did that in camera in the crop_rec menu, I use deltahead 4 for that , I needed to adjust by 13 decimal increments.)

A little test, I disabled the crop_rec preset and started the camera clean and use 'ADTG Registers' override in debug menu.Now I go in non zoom video mode and change register 8000 value from 6 to 5 and refresh...Ok, looks a bit messy now.But I can fix that by overriding CMOS 7, CMOS 7 was 0x0 and changing it to 0x12 in ADTG override function fixes the view.

Ok, will try altering cmos7. I suspect I'll find a non squeezed image if it cleans up but who knows.By the way. Are you getting the same result if doing it in 4k? I suspect it could behave differently when not maxed out?

A little test, I disabled the crop_rec preset and started the camera clean and use 'ADTG Registers' override in debug menu.Now I go in non zoom video mode and change register 8000 value from 6 to 5 and refresh...Ok, looks a bit messy now.But I can fix that by overriding CMOS 7, CMOS 7 was 0x0 and changing it to 0x12 in ADTG override function fixes the view. When you do this you are getting into x3 zoom mode right?

Eos-M is different and I don't know what's available and what not and how it reacts.But can you cycle through different zoom modes (1x, 5x and 10x) with eos-m ?I can change registers that mess with how live view looks (stretched, non stretched etc.), but I can also use the magnify button to cycle through non-zoom, 5x zoom and 10x zoom mode.

And I can get also jagged line free image with value 6 for register 8000. But I have to adjust it with CMOS 7 to work in 5x zoom mode.So maybe the best approach for now is trying to get it to work in 5x zoom mode with value of 6 for register 8000 (but not sure if 5x zoom mode is something that exists in eos-m )

A little test, I disabled the crop_rec preset and started the camera clean and use 'ADTG Registers' override in debug menu.Now I go in non zoom video mode and change register 8000 value from 6 to 5 and refresh...Ok, looks a bit messy now.But I can fix that by overriding CMOS 7, CMOS 7 was 0x0 and changing it to 0x12 in ADTG override function fixes the view.When you do this you are getting into x3 zoom mode right?

I think that is right, I start in non zoom mode(so 3x3)After changing register 8000 and CMOS 7, I see a image that looks like horizontal every single pixel is read and it’s vertical stretched, because lineskipping is still on from non zoom mode.

Thanks for checking in. Eosm can do pretty much anything going into zoom modes etc. It can´t go into x5 or 8000, 5 and still keep the stretch mode so I think I have to try fixing the problem in non crop modes right now. I will try my 100D when I get the chance and see if it behaves more like your 6D.

Just went in to 3xcrop_mode set ADTG12[100c] 0x05=>0x06 , but I can't clean it up with CMOS[2] CMOS[5] must be others I need to find.On the bright side , can get 5632x3204 @ 12.3fps (5632x1068) the nice thing about crop_mode I'm not limited to 416x3=1248 vertical any morebut's that's also causing the problem with CMOS's getting a clean image .I may have to extend c0f0713c & c0f07150 for the 3204 line skipping window

But you could also keep the vertical resolution enlarge the image horizontally to get *interpolated* 5208x2214 (of course, with much lower image quality, compared to a 5208x2214 1:1 readout) or maybe something in-between (likely a better compromise).

Wtf. I need to pay attention. Upsampling seems to be way better than I imagined. Check following file in adobe camera raw. I manipulated the default scale tag to upsample instead of downsample 1x3 footage. 5K output from 1x3 binning. Original file is 1712x2184 Canon EOS m that is. Please tell me if you see any disturbing edges cause I can´t. And where is aliasing?https://bitbucket.org/Dannephoto/magic-lantern/downloads/1_x3_M10-1218_frame_1.dng

Image sample

100% zoom

By the way. I started using exiv2 for metadata alterations. Exiftool is a bit picky these days with altering tags:

I am wondering how 1x2 Binning will look like if we got it. @a1ex do you have any idea? Will we lost a color channel? What the color pattern ( a.k.a Bayer channel?) on the sensor that will be when using 1x2 Binning?

The second example of Danne looks more familiar with the results I'm getting with stretching footage on the 6d.

Curious if Alex can come up with something brilliant to unstretch the horizontal binned files.

If somehow the raw file can be reconstructed to a new raw file according to the binning pattern, then you have a good starting point:

After that, I would say that the middle pixels can be left alone and that the outer ones(left and right one of each three binned pixels) have to be somehow averaged with one or more neighbours(outside the 3 binned pixels it is in) in the same color channel. That would give a raw file that probably best approach the original one.Only thing is, we need someone with the skills to write something that can do this

No, they don't ! It's not only aliasing that spoils the game with 5k 3x1. Look at the color noise and the color artefacts in your 5k 3x1 example and compare them with the 1x3 shot which is so much cleaner. If you film other scenes, e.g. landscape videos with a lot of fine detail, the difference will be much more obvious and I am sure, you will not like the 5k 3x1 result. At least I didn't.

I also performed several tests and in my experience and honest opinion, the 1x3 sampling method is the way to go. You got it working on the EOS M already and Bilal got it working on the 700D several months ago. If it could be implemented also in other cameras with proper aspect ratios and hopefully full-sensor readout, that would be a real game changer whenever ultimate FHD video quality is aimed at. This is already the case with the 5D3.

By saying that, I do not mean that we should totally abandon the 4k and 5k 3x1 modes. In certain situations (brightly lit scenes with not so much fine detail in them), they are perfectly usable - very stable and provide longer recording times at high resolutions. They work well with Dual ISO too. You get even slightly cleaner footage when using Dual ISO. Also preview is better. So, it's nice to have these modes too.