~ubuntu-branches/ubuntu/trusty/hugin/trusty-proposed

« back to all changes in this revision

Viewing changes to src/hugin_base/algorithms/basic/CalculateOverlap.cpp

  • Committer: Bazaar Package Importer
  • Author(s): Andreas Metzler
  • Date: 2011-01-06 14:28:24 UTC
  • mfrom: (1.1.9 upstream) (0.1.21 experimental)
  • Revision ID: james.westby@ubuntu.com-20110106142824-zn9lxylg5z44dynn
* Drop Cyril Brulebois from Uploaders. Thank you very much for your work.
* Bump package version. (rc3 was re-released as 2010.4.0).

Show diffs side-by-side

added added

removed removed

Lines of Context:
145
145
    };
146
146
};
147
147
 
 
148
UIntSet CalculateImageOverlap::getOverlapForImage(unsigned int i)
 
149
{
 
150
    UIntSet overlapImgs;
 
151
    for(unsigned int j=0;j<m_nrImg;j++)
 
152
    {
 
153
        if(i!=j)
 
154
        {
 
155
            if(getOverlap(i,j)>0)
 
156
            {
 
157
                overlapImgs.insert(j);
 
158
            };
 
159
        };
 
160
    };
 
161
    return overlapImgs;
 
162
};
 
163
 
148
164
void CalculateImageOverlap::limitToImages(UIntSet img)
149
165
{
150
166
    testImages=img;