Support for Pentax pixel shift files #3489

Where do you want your pixel shift files delivered?

filebin.net if possible

4 Pentax K3 II pixel shift files at https://filebin.net/zy5q2lsbbbruv1ti
Mostly foliage movement but also a van speeding past, people and cranes moving in the background but I guess the “Show motion” option will make that instantly obvious :wink:

1 Like

Great, thank you, already downloading :slight_smile:

That’s a great test file!

Τhanks also …

If you can provide a set of pixelshift Black Frames at all ISOs (integer and intermediate) will help for better adaptation …
Just go in a dark room, put the lens cover on and shot with fast shutter speed (1/500 or more) and closed aperture (F16.0 ?).
Compress the samples with 7z (super compression, PPMd method for best results) before uploading to save uploading time.

Next will come a request for White Frames at all ISOs (normal shots no pixelshift …) :wink:

1 Like

25 Pentax K3II pixelshift black frames as requested

https://filebin.net/hyxw4ieb1wczre6g

All shots taken at 1/500 f/22. Didn’t use a viewfinder cap so if the process is extremely sensitive some light might theoretically leak in through the viewfinder. There was a tiny leak of light into the room from above the closed door. However at 1/500 it shouldn’t be an issue?

I just pushed a fix which gives better result for the van. Left is without motion correction, middle is version from yesterday. right is new version

1 Like

Looking good! When trying to get rid of the last bits of artifacting yesterday I noticed that the “False color” slider did the job. I was not expecting that result but I can’t say I understand what’s going on…

I found another file with a difficult test case. This time its soft shadows moving on a facade. There’s a “hole” with rather sharp edges left over after the motion correction. Very different case from speeding van.

https://filebin.net/pcjvbwsmz44ifeik

Hmm, can’t reproduce that here. Which revision was that and can you post the pp3 please?

https://filebin.net/wkqix2e3izrl6adc
It’s not the identical pp3 as the above screenshot but the problem is still there. Could be any other parameter causing the issue of course. The top commit is 28358d6bf2d3d6826ef4b03ec71537f4ecae3054 pixelshift: added V4 for tests.

Something I’m doing is causing trouble see this image as well. This kind of stuff wasn’t there before…

Thanks, I’ll have a look.

@nosle:
I had a look using current pixelshift branch but could not reproduce the issue, strange… but
I saw you used retinex and sharpening too, better to disable this tools for comparisons of pixelshift images. Best is ‘neutral profile’ + pixelshift

Without knowing any details, could it be that when using image data from one raw due to motion you don’t necessarily get the exact same shade of blue (in this case) as the surrounding blue made up of the full pixelshifted data?

Yes … thats it. When all 4 frames are used we take the average brightness, but when motion is detected we use only one of the frames which happens to be brighter or darker. Choose another frame in the pull down list (1-4) and you see holes in different places or no holes if you are lucky.

A low setting for the correction (the 1-5) slider creates a dithered looking effect which is a better transition in some ways.

Would it be possible to save the motion mask for a specific setting? This could then be used as a blur mask in an external application. Motion blur is a “natural” effect of photography and quite acceptable for background stuff.

I can make a checkbox to show only the mask. Then you could just save it. Which background colour?

Black or alpha would be most useful. Such a feature would really be great for all edge cases where an algorithm just can’t go beyond the limitations inherent in pixel shift.

I just pushed to pixelshift branch :wink: