Comments (4)
D=V(α,α) is omitted because D=V(α,α)=0 from the definition of the smoothness term.
from localexpstereo.
haha,i found it.but i can't sure,because the paper said the A is a constant ,while i found the D is 0. is someone else found the paper's mistake?
from localexpstereo.
should i believe the D in graph is the variable A?
from localexpstereo.
what are going to happen that we ignore the border of rect region 's cost?
bool x0 = x == 0;
bool x1 = x == region.width - 1;
bool y0 = y == 0;
bool y1 = y == region.height - 1;
if (x0 || x1 || y0 || y1){
for (int k = 0; k < stereoEnergy->neighbors.size(); k++)
{ cv::Point ps = cv::Point(x, y) + region.tl();
cv::Point pt = ps + stereoEnergy->neighbors[k];
if (region.contains(pt))
continue;
if (imageDomain.contains(pt) == false)
continue;
// pt is always label0,
float _cost00 = stereoEnergy->computeSmoothnessTerm(currentLabeling.at<Plane>(ps), currentLabeling.at<Plane>(pt), ps, k, mode);
float _cost10 = stereoEnergy->computeSmoothnessTerm(label1, currentLabeling.at<Plane>(pt), ps, k, mode);
graph.add_tweights(s, _cost00, _cost10);\
auto s_trap=graph.get_trcap(s);
}
}
is there will have a big change if we delete the code below?
from localexpstereo.
Related Issues (18)
- zlib1.dll is missing HOT 5
- Evaluation failure HOT 1
- what's the mean of ‘ee'? such as: "cv::Mat IL_ee = I_m(rect_ee);" HOT 1
- How to get the first correct plane after Label Randomization? HOT 4
- Third step:what do we need to input? HOT 1
- How do you bulid a graph HOT 1
- Regarding Building the solution
- 1>main.obj : error LNK2001: 无法解析的外部符号 "class cv::String __cdecl cv::format(char const *,...)" (?format@cv@@YA?AVString@1@PEBDZZ)
- cannot bind non-const lvalue reference to an rvalue
- unresolved external symbol Graph<float,float,double>::reallocate_nodes(int) HOT 1
- Trial with new data set failed (crashed) HOT 4
- using new images to generate disparity image HOT 10
- Assertion Failed when run on 'cones' data HOT 2
- Is there a little bug in Plane.h? HOT 1
- Different results with Middlebury results HOT 2
- HI i will work on a very simple homework via your methods,more details about my question is in comment HOT 1
- hello, there are somethings wrong with the output image, it has been perversion,how can I fix it thanks you! HOT 2
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 localexpstereo.