Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for Sony NEX-6 and a6000 #120

Open
fabriziogiudici opened this issue Mar 28, 2017 · 15 comments
Open

Support for Sony NEX-6 and a6000 #120

fabriziogiudici opened this issue Mar 28, 2017 · 15 comments
Assignees

Comments

@fabriziogiudici
Copy link

Hello.

Nice job, and as per subject, I'd like to see support for those cameras. If nobody has objections, I'd fork and try the patch myself.

Notes: I'm a very experienced programmer and in the past I've also done a lot of reverse engineering work with EXIF and RAW metadata manipulation. Unfortunately I don't have experience in LUA. So, while I'm willing to try it, I can't be sure I'll be good on that. My message is: if somebody else wants to start working on the Sony support, please don't be blocked supposing I'm already near to provide a solution.

@baburh
Copy link

baburh commented Apr 23, 2017

Is it working with Sony A6000 now? Or with any other from the Sony mirrorless line? A6x00 series? A7 series?

@musselwhizzle
Copy link
Owner

No support for Sony. You're welcome to add it though. It would be appreciated

@baburh
Copy link

baburh commented Apr 24, 2017 via email

@musselwhizzle
Copy link
Owner

musselwhizzle commented Apr 24, 2017

if you put 4 raw files from whatever sony camera you have into a google drive zip link I'll take a look. Put 1 focus point in the center and for the others move the focus point somewhere else. No promises. I've never seen sony add the metadata to an image yet, but I've only seen center shot raws.

@baburh
Copy link

baburh commented Apr 24, 2017 via email

@baburh
Copy link

baburh commented Apr 24, 2017 via email

@baburh
Copy link

baburh commented Apr 24, 2017 via email

@musselwhizzle
Copy link
Owner

Hi, Can you try opening the ticket on the web and not replying from the email? The links aren't coming through.

@baburh
Copy link

baburh commented Apr 25, 2017

hello.
i m trying to post the link once again:
https://drive.google.com/drive/folders/0BzJJz2wN4bPzYTNMOTRwdEl6eFU?usp=sharing
thanks for bearing with me..

@musselwhizzle musselwhizzle reopened this Apr 25, 2017
@musselwhizzle
Copy link
Owner

musselwhizzle commented Apr 25, 2017

For 9856.txt

Focus Mode                           : AF-S
AF Area Mode Setting            : Flexible Spot
Flexible Spot Position            : 545 397
AF Points Used                      : (none)
Focal Plane AF Points Used    : (none)
Focus Location                      : 3984 2656 3392 2196
Focus Position 2                    : 160

The above are most likely the values that are needed. From what I'm seeing, the only thing that would make sense for where the camera focused is the Focus Location property but I'm not really sure what these values mean. Is it x y x y with 2 focus points active? Without a sony camera in my hand it's really hard to figure it out. If you can figure out how the metadata relates to the focus point, I might be able to program it. My guess right now is there was 2 focus points one at point {3984,2656} and one at {3392,2196}. If you were to map those points in photoshop does that look accurate? If not, I'm really not sure what Sony does for it's metadata. If you can figure that out and let me know how the metadata relates to the focus point, I might be able to add support for the camera.

@baburh
Copy link

baburh commented Apr 25, 2017

I believe this is for 9865.txt

For Focus Location, what I understand is we have a 3x2 area of (0,0) and (3984,-2656) and that the camera's AF can scan from (404,-332) to (3579,-2318) on top left and bottom right respectively.

Sony a7rii has 399 PDAF focus points. That would mean I should be able to move my 'small' flexible spot in an area of 21x19 but the fact is I can only do it 19x17. That means the smallest spot the camera allows the user is larger than a focus point. I covered the x axis with 19 test shots and looked at the x axis increment value in between each shot: 2x93 and the rest either 186 or 187..

In my opinion Flexible Spot Position looks meaningful much like Focus Location but maybe in a 4x3 area..

I guess not I'm not much help ...

PS.
I uploaded the xls file I worked on to plot exif data and jpg showing sony a7rii pdaf focus points.
Corrected a minor mistake on prev. xls file.

@musselwhizzle
Copy link
Owner

I think this is going to be too complicated for me to do with having access to a Sony. Unfortunately we're at the mercy of someone else adding support for the camera.

@fabriziogiudici
Copy link
Author

I could find some time in the next days, if I don't run into unforeseen troubles, to run more tests. I have the NEX-6 and the a6000 (the a6300 is on its way).

@vtashev
Copy link

vtashev commented Mar 3, 2019

Hi guys, are there any further plans to support Sony?
I can provide raw files from A7 mk3

@maisun
Copy link

maisun commented Aug 16, 2019

Support for Sony cameras would be nice!

marcisme added a commit to marcisme/Focus-Points that referenced this issue Sep 14, 2019
This work is based on files from an a7r3, so it may not work with other
models. The values used for calculations are guesses based on marketing
material from Sony and trial and error. The intended features are the
following.

* Show the focus point that was used
* Show the outer frame of the PDAF area
* Show active PDAF locations

Most Sony cameras that have PDAF only use it down to f/8 and only over a
subset of the sensor, so the lack of related EXIF data should not be an
error. No attempt was made to support eye/face detection, nor to
identify the specific focus area used for a given image.

Related to musselwhizzle#120
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants