Ignore:
Timestamp:
11/27/06 18:33:08 (18 years ago)
Author:
mattausch
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • GTP/trunk/Lib/Vis/Preprocessing/src/ViewCellsManager.cpp

    r1790 r1811  
    61826182    cout << "Evaluating view cell partition ... " << endl; 
    61836183 
     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 
    61846210        while (castSamples < numSamples) 
    61856211        {                
     
    61946220                cout << "casting " << samplesPerPass << " samples ... "; 
    61956221                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); 
    62056224                //CastPassSamples(samplesPerPass, mStrategies, evaluationSamples); 
    62066225                 
Note: See TracChangeset for help on using the changeset viewer.