RegVis: fixed orboctree descriptor extractions. KeypointItem: fixed placeholder gray scale for yellow features.

This commit is contained in:
matlabbe
2019-04-22 19:50:41 -04:00
parent 191de5baea
commit d4585960fc
3 changed files with 60 additions and 29 deletions

View File

@@ -64,7 +64,7 @@ void KeypointItem::showDescription()
{
_placeHolder = new QGraphicsRectItem (this);
_placeHolder->setVisible(false);
if(qGray(pen().color().rgb() > 255/2))
if(qGray(pen().color().rgb()) > 255/2)
{
_placeHolder->setBrush(QBrush(QColor ( 0,0,0, 170 )));
}