Git Product home page Git Product logo

handheld-multi-frame-super-resolution's People

Contributors

dependabot[bot] avatar heidenrei avatar jamy-l avatar teboli avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

handheld-multi-frame-super-resolution's Issues

Different .dng tags

Hi!
I'm trying to use this method for my own photos in .dng format, but i have

Traceback (most recent call last):
File "/home/jovyan/fominaav/Multi-frame-SR/Handheld-Multi-Frame-Super-Resolution/run_handheld.py", line 176, in
handheld_output = process(args.impath, options, params)
File "/home/jovyan/fominaav/Multi-frame-SR/Handheld-Multi-Frame-Super-Resolution/handheld_super_resolution/super_resolution.py", line 325, in process
ref_raw, raw_comp, ISO, tags, CFA, xyz2cam, ref_path = load_dng_burst(burst_path)
File "/home/jovyan/fominaav/Multi-frame-SR/Handheld-Multi-Frame-Super-Resolution/handheld_super_resolution/utils_dng.py", line 85, in load_dng_burst
white_level = tags['Image Tag 0xC61D'].values[0] # there is only one white level
KeyError: 'Image Tag 0xC61D'

I checked the tags in your .dng-s and mine - they are different. Is there amy tool to fix it?

Noise curves instead of alpha/beta params ?

Hello Jamy

This method doesn't give alpha and beta parameters, but gives mean curve and std curve instead.

In run_fast_MC method alpha and beta parameters are used in calculation of std curve and mean difference curve if I understand right.

Can I use mean and std curves ? Magnitudes and number of sampling points on the curves that are returned by run_fast_MC are wildly different.

linalg.py debug

    linalg.py    line157  e2[0] = 0; e2[0] = 1, should be e2[0] = 0; e2[1] = 1 .

Assuming no rotation between blocks during matching?

Hi this repo contains really nice and detailed implementation and explanation. I have a more methodology question: I'm reading your IPOL paper, and judging from eq1, it appears the registration algorithms assume no rotational mismatch between blocks from different frames. Could you please kindly confirm that, or am I missing something? Thank you.

Result color problem

Hello, I noticed that when running your program, the colors in the generated results appear different from the low-resolution images. I'm not sure if this is normal. I have tried adjusting various parameters, but I couldn't match the colors with the low-resolution photos.

I have attached my results. The left side is the low-resolution first frame, the middle is the super-resolution result with color correction, and the right side is the super-resolution result without color correction.

Thank you so much.
question

using with png

Hi!
I'm trying to use this method with images i have only in PNG format. Is there any way to do this?

flat domain

Hi Jamy,
when in the flat field, after using the kernel did you find it blur ? And how did you solve it?Thanks.

Artifacts in output

I'm getting weird artifacts in very fine parts of my images in certain color channels. Any idea what part of the model I can play with to try to resolve these artifacts?

Screenshot from 2023-12-12 18-22-24

Add an option for a processed DNG output

Would be great to have an option to generate a 16-bit processed LinearRaw DNG for further manual tonemapping. I briefly grepped the code and see that you are using int8 during the processing so not sure if it would be easy to rewrite the program for the stated goal. Regarding the file metadata, you would probably want to still apply the white balance and change the coefficients in the output file while not doing any color transforms and just passing those and other tags to the new DNG. These use exiftool and could be helpful:
https://github.com/gluijk/dng-from-tiff/blob/main/dngmaker.bat https://github.com/antonwolf/dng_stacker/blob/master/dng_stacker.bat

AttributeError: 'int' object has no attribute 'decimal'

I'm getting this output and error both when I try to run your code on my local machine and when I try to run your online demo.

RAW images are taken with a Galaxy S22+

DR=dr-limule-docker-gpu
Non-zero exit code (1): Parameters:

Upscaling factor: 2

Super-resolution with 25 images.

Robustness: enabled
-------------------------
t: 0.12
s1: 2.00
s2: 12.00
Mt: 0.80
Robustness denoising: enabled

Alignment:
-------------------------
ICA Iterations: 3

Fusion:
-------------------------
Kernel shape: handheld
k_stretch: 4.00
k_shrink: 2.00
k_detail: SNR based
k_denoise: SNR based

Processing with handheld super-resolution
Traceback (most recent call last):
File "/workdir/bin//demo.py", line 185, in
handheld_output, debug_dict = process(args.impath, options, params)
File "/workdir/bin/handheld_super_resolution/super_resolution.py", line 360, in process
black_levels = np.array([int(x.decimal()) for x in black_levels.values])
File "/workdir/bin/handheld_super_resolution/super_resolution.py", line 360, in
black_levels = np.array([int(x.decimal()) for x in black_levels.values])
AttributeError: 'int' object has no attribute 'decimal'

Output PNGs are green

I'm using raw images captured on a Hikrobot machine vision camera in bayer rg8 pixel format, then converting them to dng and adding exif data myself. The dng images look totally normal, but the output I get from running them this model is all green. Is there a parameter I can change somewhere or something else I can do to get the output images back to normal?

Your project is amazing by the way!

High resolution problem

Hello, I have a question to ask. I have downloaded the Samsung dataset and obtained low-resolution images, and the program runs successfully. However, I have been searching for a long time but cannot find the high-resolution images to compare the results and calculate PSNR and SSIM. I appreciate any help.

Thank you so much.

Odd strip on left side of image

Along the entire left side of each high resolution image I generate there is a peculiar strip of about a few pixels in width where it appears to be a reflection of somewhere else in the scene. Any idea what could be causing this?

To be clear in the image below, the blue is my desktop wallpaper.
Screenshot from 2024-05-27 16-37-13

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.