Git Product home page Git Product logo

deep_demosaick's People

Contributors

cig-skoltech 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

Watchers

 avatar  avatar

deep_demosaick's Issues

Some questions about input raw image size

Hi, this work is very interesting. When I testing the performance on my own captured image, I'm confused about the input shape of MMNet.

p = Demosaic(image_patch.float(), M_patch.float())
p.cuda_()
xcur = mmnet.forward_all_iter(p, max_iter=args.max_iter, init=args.init, noise_estimation=args.noise_estimation)

(1) In my testing, the size of image patch is (H, W) with rggb bayer pattern. The largest number of image patch should be 255.
(2) However, when I see the code in data_loader.py, the size of input seems to have size of H, W, 3.

image_mosaic = np.zeros(image_gt.shape).astype(np.int32)
image_mosaic[:, :, 0] = mask[..., 0] * image_input
image_mosaic[:, :, 1] = mask[..., 1] * image_input
image_mosaic[:, :, 2] = mask[..., 2] * image_input
#print(image_mosaic.dtype)
 image_input = np.sum(image_mosaic, axis=2, dtype='uint16')
# perform bilinear interpolation for bayer_rggb images
if self.apply_bilinear:
image_mosaic = self.preprocess(self.pattern, image_input)

image_gt = img_as_ubyte(image_gt)
image_input = image_mosaic.astype(np.float32)/65535*255

What's the right understanding of this question. Looking forward for your reply. Thank you.

Recommand to release test code.

When running the test code written by myself, I can't obtain the results in your paper. Can you also release your test code? It would help a lot to check my mistake. Thank you

How to train the net-final.mat before running the main.py?

Excuse me, I want to know how to train the net-final.mat before running the main.py to train the demosaicking model? As if I don't load the resDNetPRelu_color_prox-stages:5-conv:5x5x3@64-res:3x3x64@64-std:[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15]-solver:adam-jointTrain/net-final.mat before training the MSR dataset, the performance will drop dramatically. Could you please tell me how to train the net-final.mat?

Thank you

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.