Forgot Password
Pentax Camera Forums Home
 

Reply
Show Printable Version Search this Thread
06-02-2016, 05:23 PM   #1
Forum Member




Join Date: Aug 2009
Location: Asheville
Posts: 54
Can you Extract a non-Pixel shift image from Silkypix Pro 7?

Digital Camera Utility 5 allows you to export a pixel shifted DNG with Pixel Shift, Pixel Shift MC or no PS. Can you also extract a non-pixel shift version of the pixel shifted DNG file in Silkypix 7?

06-02-2016, 05:27 PM   #2
Administrator
Site Webmaster
Adam's Avatar

Join Date: Sep 2006
Location: Arizona
Photos: Gallery | Albums
Posts: 51,594
My guess would be that silkypix won't know what to do the file, so it will be opened as a standard image. That's what ACR did before the updates were released.

Adam
PentaxForums.com Webmaster (Site Usage Guide | Site Help | My Photography)



PentaxForums.com server and development costs are user-supported. You can help cover these costs by donating or purchasing one of our Pentax eBooks. Or, buy your photo gear from our affiliates, Adorama, B&H Photo, KEH, or Topaz Labs, and get FREE Marketplace access - click here to see how! Trusted Pentax retailers:
06-02-2016, 10:25 PM   #3
Pentaxian




Join Date: Apr 2007
Location: Romania
Posts: 15,132
Silkypix supports Pixel Shift Resolution. It's not perfect, but it does.
However, in Silkypix 6 I wasn't able to control the process; if there's some setting it's well hidden.
06-02-2016, 11:31 PM   #4
Loyal Site Supporter
Loyal Site Supporter




Join Date: May 2015
Location: Melbourne
Posts: 1,513
QuoteOriginally posted by Andr3w Quote
Digital Camera Utility 5 allows you to export a pixel shifted DNG with Pixel Shift, Pixel Shift MC or no PS. Can you also extract a non-pixel shift version of the pixel shifted DNG file in Silkypix 7?
I doubt it, but you can with dcrawps.

Cheers,
Terry

06-02-2016, 11:43 PM   #5
New Member




Join Date: Jan 2015
Photos: Gallery
Posts: 15
Shutter shake ist much lower when using Pixel-Shift-Modus. With long lenses on a tripod I often used the Pixel-Shift-Modus, but develop only a normal picture in Digital Camera Utility 5.
06-19-2016, 05:22 PM   #6
Site Supporter
Site Supporter
MJSfoto1956's Avatar

Join Date: Dec 2013
Location: Boston
Posts: 1,305
can you extract a single image from DCU-5?

quick answer: Yes.
I just tested a K-3ii pixel shift image with DCU-5. There are four export settings under Image/PixelShiftResolution:
  • Camera Setting
  • Off
  • On (motion detection off)
  • On (motion detection on)

I set DCU-5 PixelShiftResolution to "on", then exported the image. Then I set it to "off" and exported a 2nd image. Layered the two images in Photoshop with layers setting to "difference". The attached screenshot shows that the two exported images are clearly NOT the same, suggesting that one can indeed export a single image from the set of four embedded into the 128mb pixel shift PEF (presumably the first?) .

Michael

---------- Post added 06-19-16 at 08:51 PM ----------

I should also point out that all four settings provide slight differences that require an extreme curve setting to visualize (see the screenshot above)

M
Attached Images
 
06-19-2016, 11:18 PM - 3 Likes   #7
Site Supporter
Site Supporter




Join Date: Mar 2008
Location: Prince George, BC
Photos: Gallery | Albums
Posts: 3,546
To expand on Terry's post about dcrawps, the following is a little primer on dcrawps.

Here is how I split a pixel-shifted DNG. This would be for those who would like to layer images and paint over pixels themselves:

$ dcrawps -s all -T -4 -w K1A_2688.DNG (-s all = split all constituent layers into separate images; -T = write out in tiff format; -4 = write out in linear 16-bit, i.e. no gamma curve, no brightness changes; -w = use camera WB).

And I get K1A_2688_0.tiff (bayer filtered), K1A_2688_1.tiff (R data), K1A_2688_2.tiff (G data), K1A_2688_3.tiff (B data)

Here is an example of how dcrawps is used for motion correction of a pixel shifted image. It has two abilities: motion detection and motion correction.

Motion detection -

dcrawps -X -G 1 -T -4 -w K1A_2685.DNG

The -X option highlights motion-detected pixels in magenta.

The -G option sets the threshold (in percent) for detecting differences between the two green channel pixels (a lower threshold will have more pixels highlighted).

The -T option produces a tiff file.

The -4 option produces a linear 16-bit tiff (no gamma curve applied, no brightening done).

The -w option uses the white balance settings from the camera.

Here is an image resulting from the above command. Prepare to be shocked. A 1% difference can be exceeded just by the effects of air motion:



This was taken in the morning when the mountain breezes were just getting started with slight swaying of the lupines and rustling of the aspen leaves.

Here is the command setting a 20% green channel threshold to be exceeded:

dcrawps -X -G 20 -T -4 -w K1A_2685.DNG

And the resulting image:



That is more like it. Only the vegetation is showing some movement. So replacing the marked pixels should result in a motion corrected image.

Motion repair -

dcrawps motion correction works by comparing the bayer filtered green channel to the 3rd G data image. If any pixel differences in the G channel exceed the threshold you gave in the command, those pixels are replaced by the ones from the bayer filtered image. However, the syntax is different than what one would intuitively think. You need to think about what percentage of the pixels you do not want replaced for the repair command. So to keep 80% of the image pixels (i.e., replace 20% of the pixels), the command would be:

dcrawps -G 80 -T -4 -w K1A_2685.DNG

And you get this:



You will notice that there is still a tiny amount of movement visible in the lupines. Setting the repair threshold to 70 takes care of that.

dcrawps -G 70 -T -4 -w K1A_2685.DNG



There is always some "slop" with the motion correction using dcrawps and trial and error is the best way to get the best results. Note that since I asked for a linear tiff, the image will be flat as a board and will need some tender loving care in post to bring it back to life.

I am nowhere saying that this method is superior to the motion correction achieved by DCU or any of the other programs out there that are able to decipher Pentax's pixel shifted images. It is just one more tool in the arsenal. Personally, I think the motion detection is worth the price of admission (free).

- Jack

06-19-2016, 11:37 PM   #8
Loyal Site Supporter
Loyal Site Supporter




Join Date: May 2015
Location: Melbourne
Posts: 1,513
A very useful post Jack, that should help all and sundry get to grips with this very useful software.

Cheers,
Terry
06-19-2016, 11:39 PM   #9
Site Supporter
Site Supporter




Join Date: Mar 2008
Location: Prince George, BC
Photos: Gallery | Albums
Posts: 3,546
I forgot to post where dcrawps can be found:

https://github.com/tomtor/dcrawps

Both linux source code and compiled windows binaries can be found there.

Jack
06-20-2016, 07:56 PM   #10
Loyal Site Supporter
Loyal Site Supporter




Join Date: May 2015
Location: Melbourne
Posts: 1,513
QuoteOriginally posted by jbinpg Quote
$ dcrawps -s all -T -4 -w K1A_2688.DNG (-s all = split all constituent layers into separate images; -T = write out in tiff format; -4 = write out in linear 16-bit, i.e. no gamma curve, no brightness changes; -w = use camera WB).

And I get K1A_2688_0.tiff (bayer filtered), K1A_2688_1.tiff (R data), K1A_2688_2.tiff (G data), K1A_2688_3.tiff (B data)
Just a follow up on this.
Are you sure that the above are the 4 output images using "-s all"?
I was under the impression that the PS RAW simply contained the 4 images from the 4 sensor shifts, i.e. R, G, B, G, and that the dcrawps "-s all" just provided these as separate images, but I haven't really looked at the details of dcrawps since the update to support the K-1.
Do you have a reference to where the behaviour you described is explained?

Cheers,
Terry
06-20-2016, 11:57 PM   #11
Site Supporter
Site Supporter




Join Date: Mar 2008
Location: Prince George, BC
Photos: Gallery | Albums
Posts: 3,546
Sorry, you are right, Terry. All 4 images are complete. But the author did tell me that the green channel comparison is only done between the 1st and 3rd images since they are the only frames where the green pixels are in the same position and able to be compared.
06-21-2016, 12:03 AM   #12
Loyal Site Supporter
Loyal Site Supporter




Join Date: May 2015
Location: Melbourne
Posts: 1,513
QuoteOriginally posted by jbinpg Quote
Sorry, you are right, Terry. All 4 images are complete. But the author did tell me that the green channel comparison is only done between the 1st and 3rd images since they are the only frames where the green pixels are in the same position and able to be compared.
OK, thanks for clarifying.

Cheers,
Terry
06-21-2016, 12:30 AM   #13
Administrator
Site Webmaster
Adam's Avatar

Join Date: Sep 2006
Location: Arizona
Photos: Gallery | Albums
Posts: 51,594
QuoteOriginally posted by jbinpg Quote
Here is an image resulting from the above command. Prepare to be shocked. A 1% difference can be exceeded just by the effects of air motion:
Great post. It's nice that this tool has become available!

I think this also shows how much bigger of a benefit can be obtained with PSR when you're shooting in a perfectly controlled (i.e. indoor) environment.

Adam
PentaxForums.com Webmaster (Site Usage Guide | Site Help | My Photography)



PentaxForums.com server and development costs are user-supported. You can help cover these costs by donating or purchasing one of our Pentax eBooks. Or, buy your photo gear from our affiliates, Adorama, B&H Photo, KEH, or Topaz Labs, and get FREE Marketplace access - click here to see how! Trusted Pentax retailers:
06-21-2016, 01:02 AM - 1 Like   #14
Veteran Member




Join Date: Jun 2009
Posts: 11,913
Daily reminder that Pentax Digital Camera Utility 5 is not Silkypix Pro 7.
06-21-2016, 02:15 AM   #15
Senior Member




Join Date: May 2009
Location: Finland
Posts: 215
QuoteOriginally posted by Adam Quote
My guess would be that silkypix won't know what to do the file, so it will be opened as a standard image. That's what ACR did before the updates were released.
Silkypix Pro 7 does great job with pixel shift images. It even supports motion correction. What comes to original question I don't know if a single exposure can be extracted from pixel shifted raw file. I must try it when I have time to do it.
Reply

Bookmarks
  • Submit Thread to Facebook Facebook
  • Submit Thread to Twitter Twitter
  • Submit Thread to Digg Digg
Tags - Make this thread easier to find by adding keywords to it!
dng, dslr, export, full frame, full-frame, image, image from silkypix, images, k-1, k1, motion, non-pixel shift image, pentax k-1, pixel, settings, shift, silkypix
Thread Tools Search this Thread
Search this Thread:

Advanced Search


Similar Threads
Thread Thread Starter Forum Replies Last Post
How can I tell if Pixel Shift Worked ? Ian.morgan Pentax DSLR Discussion 11 05-27-2016 11:55 AM
Silkypix Pro 7 Manual Mikesul Digital Processing, Software, and Printing 3 05-09-2016 05:47 AM
How to extract a single frame from PixelShift image in DCU? Mel_PL Digital Processing, Software, and Printing 7 03-20-2016 07:53 PM
Pixel shift image size? Tony3d Pentax K-3 & K-3 II 6 01-28-2016 04:56 PM
Pixel Shift RAW: LR5 vs Silkypix 5 longbow Pentax K-3 & K-3 II 16 06-25-2015 04:27 PM



All times are GMT -7. The time now is 04:23 AM. | See also: NikonForums.com, CanonForums.com part of our network of photo forums!
  • Red (Default)
  • Green
  • Gray
  • Dark
  • Dark Yellow
  • Dark Blue
  • Old Red
  • Old Green
  • Old Gray
  • Dial-Up Style
Hello! It's great to see you back on the forum! Have you considered joining the community?
register
Creating a FREE ACCOUNT takes under a minute, removes ads, and lets you post! [Dismiss]
Top