fredmiranda.com Login
This topic is in the 2018 archive. You can read it and like its posts here. It is read only.

Archive 2018Motion detection in PixelShift files

  
 
ogniw
Offline

p.1 #1Motion detection in PixelShift files
Here's an example about the motion detection for PixelShift files in RawTherapee 5.4, which supports ARQ files.

The imho most important thing is to first check for motion. Fortunately RT does that for you and shows the regions with motion in bright green.

Now as we know, where motion is in the scene, we can have a look at the artifacts when motion correction is disabled
(at the right of the screenshot)

To correct the motion, just select the Automatic motion correction

In case you want to mask out the motion in your preferred software but don't want to search for motion artifacts, you can also generate a motion mask and save as tiff
Mar 21, 2018 at 05:24 PM
Fred Miranda
Offline
Admin
Upload & Sell: On
Details
p.1 #2Motion detection in PixelShift files
Does RawTherapee works as a Lightroom plugin? It would be very convenient to select the pixel shift images, export to RT, convert the pixel shift images algorithm and bring the resulting file back to Lightroom as DNG.
Mar 21, 2018 at 05:49 PM
ogniw
Offline
Details
p.1 #3Motion detection in PixelShift files
No, it doesn't. Currently (for pixelshift) it supports reading (and processing) Sony ARQ and Pentax PEF/DNG pixelshift files.

Mar 21, 2018 at 05:54 PM
Scho
Offline
Details
p.1 #4Motion detection in PixelShift files
Thanks so much for reporting these results with RT. A real game changer and makes pixel shift a viable tool for landscape work.

May 11, 2018 at 12:53 PM
Fred Miranda
Offline
Admin
Upload & Sell: On
Details
p.1 #5Motion detection in PixelShift files
ogniw wrote:
No, it doesn't. Currently (for pixelshift) it supports reading (and processing) Sony ARQ and Pentax PEF/DNG pixelshift files.



Any plans for a RT Lightroom Plug-in? This would be a workflow time-saver!
May 11, 2018 at 01:13 PM
RoseandCharles
Offline
Details
p.1 #6Motion detection in PixelShift files
This is awesome! Do you think this is a better when you know there will be motion rather than single exposure? Often I hesitate between maximum sharpness and usability of the image.
May 11, 2018 at 09:23 PM
ogniw
Offline
Details
p.1 #7Motion detection in PixelShift files
RoseandCharles wrote:
This is awesome! Do you think this is a better when you know there will be motion rather than single exposure? Often I hesitate between maximum sharpness and usability of the image.


Well, if you know there will be 90% motion in the picture, using pixelshift does not make much sense. On the other hand, you don't lose anything by using pixelshift (ok, time to capture the pictures increases, needs more space on memory card...), but you also get 4 frames and if there's too much motion to get a benefit combining them, you just can select the one which you like most or simulate a long time exposure using the Median option in RT pixelshift processing (works nice when moving water is in the scene).
May 15, 2018 at 01:09 PM
ogniw
Offline
Details
p.1 #8Motion detection in PixelShift files
Fred Miranda wrote:
ogniw wroteNo, it doesn't. Currently (for pixelshift) it supports reading (and processing) Sony ARQ and Pentax PEF/DNG pixelshift files.
Any plans for a RT Lightroom Plug-in? This would be a workflow time-saver!


Currently there are no plans for a LR plugin.
May 15, 2018 at 02:44 PM
Fred Miranda
Offline
Admin
Upload & Sell: On
Details
p.1 #9Motion detection in PixelShift files
What is the workflow with RawTherapee? It supports ARQ files, so first use Sony pixel shift software and than load it into Rawtherapee?
May 15, 2018 at 04:15 PM
ogniw
Offline
Details
p.1 #10Motion detection in PixelShift files
Fred Miranda wrote:
What is the workflow with RawTherapee? It supports ARQ files, so first use Sony pixel shift software and than load it into Rawtherapee?


Yes, currently that's the way to go for Sony pixelshift captures. You don't lose information by combining 4 ARW files to an ARQ file. There's also https://github.com/agriggio/make_arq if you prefer an open source way ;-)

Ingo
May 15, 2018 at 04:41 PM
ogniw
Offline
Details
p.1 #11Motion detection in PixelShift files
Fred,

currently Rawtherapee supports pixelshift container files (Sony ARQ, Pentax PS PEF and DNG), containing the full information of the 4 frames.
That's because Pentax was first wit PS and put the 4 frames into one raw file.
May 15, 2018 at 04:47 PM
ogniw
Offline
Details
p.1 #12Motion detection in PixelShift files
Forgot to mention:

DNG files produced from 4 ARW files by SonyPixelShift2DNG don't allow motion detection based on green channel differences because the green channel in this files is already averaged.
May 15, 2018 at 05:06 PM
Fred Miranda
Offline
Admin
Upload & Sell: On
Details
p.1 #13Motion detection in PixelShift files
ogniw wrote:
Forgot to mention:

DNG files produced from 4 ARW files by SonyPixelShift2DNG don't allow motion detection based on green channel differences because the green channel in this files is already averaged.


Is RT"s motion detection overly sensitive? I just tested this capturing a Pixel shift sequence on a very sturdy tripod and indoors, and RT picked up lots of motion where there was none.
May 15, 2018 at 05:11 PM
DavidBM
Offline
Details
p.1 #14Motion detection in PixelShift files
Fred Miranda wrote:
ogniw wroteForgot to mention:

DNG files produced from 4 ARW files by SonyPixelShift2DNG don't allow motion detection based on green channel differences because the green channel in this files is already averaged.
Is RT"s motion detection overly sensitive? I just tested this capturing a Pixel shift sequence on a very sturdy tripod and indoors, and RT picked up lots of motion where there was none.


Slight changes in light due to clouds outside or artificial light?
May 16, 2018 at 01:28 AM
ogniw
Offline
Details
p.1 #15Motion detection in PixelShift files
Fred Miranda wrote:
ogniw wroteForgot to mention:

DNG files produced from 4 ARW files by SonyPixelShift2DNG don't allow motion detection based on green channel differences because the green channel in this files is already averaged.
Is RT"s motion detection overly sensitive? I just tested this capturing a Pixel shift sequence on a very sturdy tripod and indoors, and RT picked up lots of motion where there was none.


Yes, in RT 5.4 the automatic mode is overly sensitive. I already changed that for RT 5.5.
For now you can switch from automatic to custom mode and set the ISO adaption slider to -1.
Maybe also untick the red/blue detection checkbox.
May 16, 2018 at 03:31 AM
Fred Miranda
Offline
Admin
Upload & Sell: On
Details
p.1 #16Motion detection in PixelShift files
I'm getting softer results with RT when comparing to Sony's ARQ conversion or SonyPixelShift2DNG. That's true for the entire image, even for the areas that had zero motion. (not green)
As a matter of fact the RT conversion (final Tiff) is not as sharp compared to the one of the original ARW files from the PShift sequence.
All I'm doing is converting, so no editing in any of these softwares. When comparing the results in Lightroom (Using the exact same settings), this is what I see.
Am I doing something wrong?

I love the fact that RT detects motion automatically but wish the resulting image was as the ARQ for the areas of no motion.
May 16, 2018 at 08:45 AM
ogniw
Offline
Details
p.1 #17Motion detection in PixelShift files
Fred Miranda wrote:
I'm getting softer results with RT when comparing to Sony's ARQ conversion or SonyPixelShift2DNG. That's true for the entire image, even for the areas that had zero motion. (not green)
As a matter of fact the RT conversion (final Tiff) is not as sharp compared to the one of the original ARW files from the PShift sequence.
All I'm doing is converting, so no editing in any of these softwares. When comparing the results in Lightroom (Using the exact same settings), this is what I see.
Am I doing something wrong?

I love the fact that RT detects motion automatically but wish the
...Show more →

May it be that Lightroom applies some sharpening behind the scenes for raw files but not for Tiff?

At default settings RT does not apply sharpening. Even pixelshift files need sharpening.
Here's a screenshot with some sharpening applied. Left is unsharpened, right is with the settings from PS ISO low profile. Both are without motion detection, means the plain simple pixelshift combine.
May 16, 2018 at 09:43 AM
Fred Miranda
Offline
Admin
Upload & Sell: On
Details
p.1 #18Motion detection in PixelShift files
Lightroom applies zero sharpening to Tiff files but I have matched the same sharpness for the ARQ, DNG and the RT files.
As far as I can see, the RT Tiff file (from an ARQ) looks noticeably softer than a ARW* (from a pixel shift sequence), ARQ (Sony's software) or DNG (SonyPixelShift2DNG). With LR sharpening settings equalized for all files and checking the areas of zero motion.

* I don't know how this is even possible since RT is processing an ARQ file, only fixing the motion issues.
May 16, 2018 at 09:48 AM
ogniw
Offline
Details
p.1 #19Motion detection in PixelShift files
Can you post a screenshot? I don't have Lightroom.
May 16, 2018 at 10:06 AM
ogniw
Offline
Details
p.1 #20Motion detection in PixelShift files
Here's another screenshot. Both processed using the same settings. One is PS from ARQ, the other one is first frame of the series demosaiced.
May 16, 2018 at 10:25 AM
FM ForumsSony ForumJoin Upload & Sell
  
 

You are not logged inLog inRegister