Commit 9a015955 authored by Guillaume Lazzara's avatar Guillaume Lazzara
Browse files

Small fixes.

	* demo/viewer/image_region.hh: Add Q_INTERFACES.

	* scribo/binarization/internal/niblack_threshold_functor.hh,
	* scribo/binarization/internal/singh_functor.hh: Fix declaration
	of init() member.
parent 66cb484a
2013-03-20 Guillaume Lazzara <z@lrde.epita.fr>
Small fixes.
* demo/viewer/image_region.hh: Add Q_INTERFACES.
* scribo/binarization/internal/niblack_threshold_functor.hh,
* scribo/binarization/internal/singh_functor.hh: Fix declaration
of init() member.
2013-03-20 Guillaume Lazzara <z@lrde.epita.fr>
Small fixes.
......
// Copyright (C) 2010 EPITA Research and Development Laboratory (LRDE)
// Copyright (C) 2010, 2013 EPITA Research and Development Laboratory
// (LRDE)
//
// This file is part of Olena.
//
......@@ -23,7 +24,8 @@
class ImageRegion
: public QObject, public QGraphicsItem
{
Q_OBJECT
Q_OBJECT;
Q_INTERFACES(QGraphicsItem);
public:
ImageRegion(region::RegionId id,
......
......@@ -66,6 +66,8 @@ namespace scribo
niblack_threshold_functor(const Image<I>& input,
double K);
void init();
// Run every 4 pixels.
void exec(double mean, double stddev);
......
......@@ -67,6 +67,8 @@ namespace scribo
singh_functor(const Image<I>& input, double K);
void init();
// Run every 4 pixels.
void exec(double mean, double stddev);
......@@ -104,7 +106,7 @@ namespace scribo
template <typename I>
void
niblack_functor<I>::init()
singh_functor<I>::init()
{
// This initialization MUST be done here since input image
// borders may have changed!
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment