agriggio / make_arq Goto Github PK
View Code? Open in Web Editor NEWA command-line tool for generating Sony A7RIII Pixel-Shift ARQ files
License: Other
A command-line tool for generating Sony A7RIII Pixel-Shift ARQ files
License: Other
Since make_arq is able to handle frames produced by the A7R IV camera, it should also be able to handle its "A" variant, but it currently rejects the ARW files.
Dear Agriggio,
First of all, thank you for creating the make_arq code repository. I have a question to ask you. I have a Sony A7RIV camera that can shoot Pixel Shift images. For one scene, I can get 4 ARW files and one ARQ file. I found that the ARW files are 6376×9568 in size, while the ARQ file is 6376×9568×4. I believe that the ARQ file contains one R channel, one B channel, and two G channels. How can I get a demosaiced image with three channels?
Best regards,
I have tested three versions of make_arq:
old (2020):
python-3.7.8-r2
tifffile 2020.11.18
glibc-2.31-r6
new (2023):
python-3.9.16_p3 (can be switched to version python-3.10.11)
tifffile 2023.4.12
glibc-2.37-r2
<tifffile.TiffWriter 'out16-new-2.ARQ'> not writing extratag 258
Recent version of make_arq displays only quater image.
Only oldest make_arg on old gentoo displays full image.
https://drive.google.com/file/d/1iJwx1Mh-BLHi6RoFdn1Q7TyYzvOn1KgA/view?usp=sharing
When combining 4 or 16 images from an R4 I get the following message:
KeyError: 1.25
I removed the try/catch block and got a stack trace:
Traceback (most recent call last):
File "/home/alexander/media/sw/make_arq/make_arq.py", line 218, in <module>
main()
File "/home/alexander/media/sw/make_arq/make_arq.py", line 205, in main
frames, width, height = get_frames(opts.frames)
File "/home/alexander/media/sw/make_arq/make_arq.py", line 134, in get_frames
frames.sort(key=key)
File "/home/alexander/media/sw/make_arq/make_arq.py", line 132, in key
g = seq2idx[1 + sn / 4]
KeyError: 1.25
I tried different methods to call the program, made no difference:
make_arq.py -o out.arq AR400274.ARW AR400275.ARW AR400276.ARW AR400277.ARW
make_arq.py AR400274.ARW AR400275.ARW AR400276.ARW AR400277.ARW -o out.arq
make_arq.py *ARW -o out.arq
I'm using Debian testing (bullseye).
Using python 3.9 or 3.10 images are green
(something like demosaicing none on page
https://rawpedia.rawtherapee.com/Demosaicing
).
With python 3.7 all looks good.
Hi Albert, I don't believe this supports the GFX100s which should be very similar to the GFX100 files. I tried to make it work by modifying the accepted camera models and it generated an ARQ output file which didn't seem to work. Beyond my skill. Hoping support for GFX100s could be added. :)
I tried to use this for images taken with a Sony Alpha 1 and it told me it can't do that. I took a couple of example pictures, both with full frame and with APSC-crop, both with 4x and with 16x (uploading should be done in an hour):
https://drive.google.com/drive/folders/1uLr24eDGNvRDVZznfHXzKRSsLgJayyI-?usp=share_link
The Alpha 7R V has the exact same sensor resolution as the 7R IV so that would probably work by just treating it the same, but I don't have examples.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.