Changeset 1811 for GTP/trunk/Lib/Vis/Preprocessing/src/ViewCellsManager.cpp
- Timestamp:
- 11/27/06 18:33:08 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/Lib/Vis/Preprocessing/src/ViewCellsManager.cpp
r1790 r1811 6182 6182 cout << "Evaluating view cell partition ... " << endl; 6183 6183 6184 vector<int> evalStrats; 6185 6186 // mix of sampling strategies 6187 if (0) 6188 { 6189 evalStrats.push_back(SamplingStrategy::OBJECT_BASED_DISTRIBUTION); 6190 evalStrats.push_back(SamplingStrategy::SPATIAL_BOX_BASED_DISTRIBUTION); 6191 evalStrats.push_back(SamplingStrategy::REVERSE_OBJECT_BASED_DISTRIBUTION); 6192 6193 Debug << "casting volume strategies" << endl; 6194 cout << "casting volume strategies" << endl; 6195 } 6196 else 6197 { 6198 //evalStrats.push_back(SamplingStrategy::VIEWSPACE_BORDER_BASED_DISTRIBUTION); 6199 evalStrats.push_back(SamplingStrategy::OBJECT_BASED_DISTRIBUTION); 6200 6201 // ratio 3:1 6202 evalStrats.push_back(SamplingStrategy::REVERSE_VIEWSPACE_BORDER_BASED_DISTRIBUTION); 6203 //evalStrats.push_back(SamplingStrategy::REVERSE_VIEWSPACE_BORDER_BASED_DISTRIBUTION); 6204 //evalStrats.push_back(SamplingStrategy::REVERSE_VIEWSPACE_BORDER_BASED_DISTRIBUTION); 6205 6206 Debug << "casting surface strategies" << endl; 6207 cout << "casting surface strategies" << endl; 6208 } 6209 6184 6210 while (castSamples < numSamples) 6185 6211 { … … 6194 6220 cout << "casting " << samplesPerPass << " samples ... "; 6195 6221 Debug << "casting " << samplesPerPass << " samples ... "; 6196 6197 vector<int>dummyStrat; 6198 6199 dummyStrat.push_back(SamplingStrategy::OBJECT_BASED_DISTRIBUTION); 6200 dummyStrat.push_back(SamplingStrategy::SPATIAL_BOX_BASED_DISTRIBUTION); 6201 dummyStrat.push_back(SamplingStrategy::REVERSE_OBJECT_BASED_DISTRIBUTION); 6202 //dummyStrat.push_back(SamplingStrategy::REVERSE_VIEWSPACE_BORDER_BASED_DISTRIBUTION); 6203 6204 CastPassSamples(samplesPerPass, dummyStrat, evaluationSamples); 6222 6223 CastPassSamples(samplesPerPass, evalStrats, evaluationSamples); 6205 6224 //CastPassSamples(samplesPerPass, mStrategies, evaluationSamples); 6206 6225
Note: See TracChangeset
for help on using the changeset viewer.