Skip to content

Commit

Permalink
GEMSe: Small fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
codeling committed Jun 4, 2016
1 parent 7fe28d2 commit a5a6e07
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion modules/GEMSe/dlg_GEMSe.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -802,7 +802,10 @@ void dlg_GEMSe::ExportAttributeRangeRanking(QString const &fileName)
{
t << m_attributes->Get(i)->GetName();
if (!m_charts[i])
{
t << "\n";
continue;
}
size_t numBin = m_charts[i]->GetNumBin();
double min = m_attributes->Get(i)->GetMin();
double max = m_attributes->Get(i)->GetMax();
Expand Down Expand Up @@ -1109,7 +1112,7 @@ void dlg_GEMSe::CalculateRefImgComp(QSharedPointer<iAImageClusterNode> node, Lab

CalculateMeasures(refImg, lblImg, labelCount, measures[1], measures[2], measures[3], measures[4]);
for (int i=0; i<MeasureCount; ++i)
{o
{
leaf->SetAttribute(m_refCompMeasureStart + i, measures[i]);
m_attributes->Get(m_refCompMeasureStart + i)->AdjustMinMax(measures[i]);
}
Expand Down
2 changes: 1 addition & 1 deletion modules/GEMSe/iAGEMSeConstants.h
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ const int MaxSelectedClusters = 8;
const int ChartColoringHeight = 5;

//! the spacing between charts
const int ChartSpacing = 5;
const int ChartSpacing = 10;

// CAMERA VIEW

Expand Down

0 comments on commit a5a6e07

Please sign in to comment.