Comments (4)
Hi,
A detailed description of the patch extraction algorithm is provided in the paper. Mainly, in consists of two parts:
-
Rough image alignment using SIFT features (you can use this code as a reference: http://www.vlfeat.org/install-matlab.html)
-
Extracting precisely aligned patches from pre-aligned images obtained on the previous step using a sliding window approach. Basically, two sliding windows are shifting in parallel along a DSLR-phone image pair, and the position of one window is additionally adjusted by small shifts and rotations to maximize cross-entropy between the observed patches. If this cross-entropy is larger than a threshold (0.9), two current patches (from DSLR and phone image) are added into the training dataset.
Hope this helps.
from dped.
Is there any detail instruction about extracting patches @aiff22? Thank you
from dped.
Hi,
A detailed description of the patch extraction algorithm is provided in the paper. Mainly, in consists of two parts:
- Rough image alignment using SIFT features (you can use this code as a reference: http://www.vlfeat.org/install-matlab.html)
- Extracting precisely aligned patches from pre-aligned images obtained on the previous step using a sliding window approach. Basically, two sliding windows are shifting in parallel along a DSLR-phone image pair, and the position of one window is additionally adjusted by small shifts and rotations to maximize cross-entropy between the observed patches. If this cross-entropy is larger than a threshold (0.9), two current patches (from DSLR and phone image) are added into the training dataset.
Hope this helps.
Hi, aiff22,
You mentioned that the position of one window is additionally adjusted by small shifts and rotations. However, I still don't understand how to do it. Can you specify the details?
from dped.
2. cross-entropy
Can you provide the Extracting code ?
from dped.
Related Issues (20)
- Quite slow on my mac machine for given models. HOT 1
- I want to test this pretrained model on single image how can I do it HOT 2
- Unable to download the pre-trained VGG -19 Model HOT 1
- I want to change the network to single channel HOT 1
- Why "enhanced = tf.nn.tanh(conv2d(c11, W12) + b12) * 0.58 + 0.5"? HOT 1
- Do you have the file of '.meta'? HOT 1
- Resume learning HOT 1
- too slow when training (not using GPU)
- issue about preprocessing code
- collecting data HOT 1
- 感觉不如opencv一行代码提升效果明显 HOT 1
- Comparison with APE that is source-ignorant? HOT 1
- Download links no longer works
- discrim_predicitions
- A brilliant idea!
- Data set Download links no works HOT 3
- Not Good Result after training HOT 1
- can you upload how to generate Dataset scriptes? HOT 1
- Need RAW-RGB alignment code for custom dataset creation and training
- Cannot download DPED pre-trained model
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dped.