Giter VIP home page Giter VIP logo

camerasr's People

Contributors

ngchc 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  avatar  avatar  avatar

camerasr's Issues

Has the raw data been normalized or subtracted the black level ?

Hi,
I have downloaded and opened the raw data (.MAT files). I found that the values of these .MAT files are within [0, 1]. Has the raw data already been normalized, such as "raw = (raw - black_level)/(white_level - black_level)"?

By the way, the paper said that white balance is fixed for each capture. Could you provide the white balance setting?

Thank you!

little question about the data

Sorry, I don’t understand very well. Why are the LR and HR images the same size? If I want to use your data to train a super-resolution network, I should enter a small LR and a large HR. How can I get a small LR in the real world?

How to use the City100 dataset for training?

Thank you for your meaningful work.
I would like to ask, when training VDSR model, is ’City100_NikonD5500‘ and ’City100_iPhoneX‘ dataset mixed together as training dataset?

Issue about raw data

Thanks for your great work. I have downloaded your raw data, but there is no information about the raw file such as white balance , bayer patterns etc, and I can not recover the color images correctly, could you please release the original raw files or give us the relevant information ? Thank you very much .

about the train data

能问下你们论文所说的R-V方法可不可以理解为就是真实拍摄的低清图像和高清图像对?
然后你们论文说所取得的高清图像是低清的2.9倍,但是这个训练集的高清低清图片大小是一样的,这个是低清图片经过差值的到的嘛

Why did the interpolated image (LR) and HR I tested always differ about two db from the results in the paper?

figure2(c)R-V degradation ,my test psnr 25.451540226734174,is different from paper
In Tabel1's five interpolated LR(s),my test psnr is 2 db lower。
My test code is below:
`def compute_psnr(im1, im2):

if im1.size != im2.size:
    raise Exception('the shapes of two images are not equal')

rmse = np.sqrt(((np.asfarray(im1) - np.asfarray(im2)) ** 2).mean())
psnr = 20 * np.log10(255.0 / rmse)
return psnr

path='../City100/City100_NikonD5500/'#27.1413
#path='../City100/City100_iphoneX/'#24.333565211970758

lr_path=path+'001L.png'

hr_path=path+'001H.png'
print(compute_psnr(Image.open(lr_path),Image.open(hr_path)))#26.544952727983393

'''

psnr_list=[]
bar=tqdm(range(1,101),desc='the bar')
for i in bar:

lr_path=path+"{:0>3d}".format(i)+'L.png'
hr_path=path+"{:0>3d}".format(i)+'H.png'
lr=Image.open(lr_path)
hr=Image.open(hr_path)


hr=ToTensor()(hr)
lr=ToTensor()(lr)
mse = ((hr - lr) ** 2).mean()
#print(mse)
psnr = 10 * log10(1 / mse)

psnr_list.append(psnr)

PSNR=np.array(psnr_list)
print('average')
print(PSNR.mean())
`

Gan Model test

Excuse Me,
I find there are three model.data-00000-of-00001 files, I use command "tar -zxvf model.data-00000-of-00001.tar.gz.0" ,but it can not untar it, how to use your Gan model ?
Thanks in advance.

Downsampling after alignment

After you align the interpolated LR image with the HR ground truth image, what method of downsampling do you use to get the low resolution inputs down to 1/4 the resolution of the high resolution outputs as required by the SRGAN architecture?

Some questions related to the paper

Hello,
Thanks for your paper https://openaccess.thecvf.com/content_CVPR_2019/papers/Chen_Camera_Lens_Super-Resolution_CVPR_2019_paper.pdf and sharing code.

I would like to ask you some questions

  1. For the section 6.1 in your paper "Advanced digital zoom"
    Once the training done, we have 3 trained networks BicubicSR, GaussianSR, CameraSR.
    To get the figure 8, figure 9 and figure 6b, what is input LR image that you use to inference with 3 above trained networks ?
    a. Is it always the low resolution image obtained from the camera for all 3 networks ?
    b. Or downsampled bicubic image for BicubicSR network; downsampled gaussian image for GaussianSR and low resolution image obtained from the camera for the CameraSR ?

If it is (a) then the explication is a domain gap between the the low resolution image obtained from the camera and the one with simulated method (bicubic or Gaussian) (you already mention this observation in section 5.1 :-) )

If it is (b) : ouf, I don't understand the logic of your work. Please give more information in this case

  1. If it is (a), hence for the section 6.2. Generalizability : if we observe this generalization, it means that there is no (or if exist, very small) difference in degradation pipeline between different devices. And the bicubic/gaussian degradation is a simple model but it is not realistic at all.

Thanks !

issue about training data

你好,我发些你的训练数据集里都是png 图片,这些图片是照相机或者手机拍出来的么,一般我们手机拍的都是jpg 的图输入压缩后的图,不是无损图,我知道的是GAN的方法对压缩的图无法消除振铃效应,请问你有遇到此类问题么?

Code of how to generate paired images

It's a meaningful work for real world super resolution. May you share your code of generating paired images? It will help us build our own datasets. Thanks.

downaload dataset fail

Hello, I try to download the dataset you shared, but seems there is some problem, it shows 0 kb in baidu cloud, also it is fail to download. Plz help to check it.

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.