Arrived at given DB_DIR in a "normal" walk.
Reimplemented from Impala::Core::ImageSet::Listener. Definition at line 87 of file InterestPointProc.h. References Impala::Core::Feature::FeatureDefinition::AddParameter(), Impala::Core::Feature::FeatureDefinition::AsString(), Impala::Core::Feature::InterestPointFeature::GetFeatureDefinition(), Impala::Core::Feature::InterestPointFeature::GetFeatureName(), Impala::CmdOptions::GetInstance(), ILOG_INFO, ILOG_WARNING, Impala::Core::Feature::InterestPointFeature::mClusterInput, mInterestPointFeature, mNoZIP, mSkipThisFolder, and mTempFilenames. 00088 { 00089 ILOG_INFO("HandleNewDir: " << dirId); 00090 int fileId = is->GetFirstFileId(dirId); 00091 mTempFilenames.clear(); 00092 mSkipThisFolder = false; 00093 if (CmdOptions::GetInstance().GetBool("override")) 00094 return; // only support skipping if override is off 00095 00096 if (!mNoZIP) 00097 { 00098 // does the ZIP exist already? 00099 FeatureLocator loc(is->GetLocator(), false, false, "", 00100 mInterestPointFeature.GetFeatureName(), 00101 is->GetContainer(dirId)); 00102 loc.ExtendSuffix(".zip"); 00103 if (FeatureTableRepository().Exists(loc)) 00104 { 00105 mSkipThisFolder = true; 00106 ILOG_WARNING("Skipping folder " << dirId << 00107 "; ZIP file already exists"); 00108 } 00109 return; 00110 } 00111 00112 if (mInterestPointFeature.mClusterInput) 00113 { 00114 // clusterInput mode 00115 Feature::FeatureDefinition def = mInterestPointFeature.GetFeatureName(); 00116 def.AddParameter("clusterinput", "2"); 00117 FeatureLocator loc(is->GetLocator(), false, false, "", 00118 def.AsString(), is->GetContainer(dirId)); 00119 if (FeatureTableRepository().Exists(loc)) 00120 { 00121 mSkipThisFolder = true; 00122 ILOG_WARNING("Skipping folder " << dirId << 00123 "; FeatureData:ClusterInput file already exists"); 00124 } 00125 } 00126 else 00127 { 00128 // does the featuretable exist already? 00129 String f = mInterestPointFeature.GetFeatureDefinition().AsString(); 00130 FeatureLocator loc(is->GetLocator(), false, false, "", f, 00131 is->GetContainer(dirId)); 00132 if (FeatureTableRepository().Exists(loc)) 00133 { 00134 mSkipThisFolder = true; 00135 ILOG_WARNING("Skipping folder " << dirId << 00136 "; FeatureData file already exists"); 00137 } 00138 } 00139 }
Here is the call graph for this function:
|