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

Cannot identify the proper settings for Redmi 6A #197

Open
KianaKaslana638 opened this issue May 4, 2022 · 3 comments
Open

Cannot identify the proper settings for Redmi 6A #197

KianaKaslana638 opened this issue May 4, 2022 · 3 comments
Labels

Comments

@KianaKaslana638
Copy link

KianaKaslana638 commented May 4, 2022

Describe the bug
FreeDcam can take pure raw sensor data from Redmi 6A, but it's too fiddly to get the Bayer data to be converted into DNG. Plus the Raw to DNG converter crashes too often whenever I try to convert with invalid parameters.
mtk1651589879798pure__4224x3136_10_0.zip

To Reproduce
Steps to reproduce the behavior:

  1. Take a photo and save it as Bayer
  2. Open the FreeDcam Gallery, and open the Bayer file to the DNG converter

Expected behavior
Raw Bayer data converted into usable DNG
mtk1651589879798pure__4224x3136_10_0.zip

Smartphone (please complete the following information):
Xiaomi Redmi 6A EU

@KianaKaslana638 KianaKaslana638 changed the title Cannot identify the proper settings for Redmi 6 Cannot identify the proper settings for Redmi 6A May 4, 2022
@KillerInk
Copy link
Owner

Screenshot_2022-05-04-14-42-21-981_troop com freedcam

not sure whats your problem. its working as it should.
cannot realy say if the colors are correct or red blue is switched, or if its the matrix. that stuff you have to find out by yourself.
but bggr looks more correct to me

maybe you are lucky and one is already added that works with your raw
if not you have to create on your own or extract it from chromatix libs
for color matrix read this https://github.com/KillerInk/FreeDcam#how-to-create-a-custom-matrix

@KianaKaslana638
Copy link
Author

KianaKaslana638 commented May 4, 2022 via email

@KillerInk
Copy link
Owner

KillerInk commented May 5, 2022

You can manually add a dngprofiles.xml with that content into sdcard/Android/data/troop.com.freedcam/files

<devices>
<device name = "">
<opcodes>
</opcodes>
<filesize size= "0">
<blacklvl>64</blacklvl>
<whitelvl>1023</whitelvl>
<width>4224</width>
<height>3136</height>
<rawtype>6</rawtype>
<colorpattern>bggr</colorpattern>
<rowsize>0</rowsize>
<matrixset>Nexus6</matrixset>
</filesize>
</device>
</devices>

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

No branches or pull requests

2 participants