labplot  2.8.2
About: LabPlot is an application for plotting and analysis of 2D and 3D functions and data. It is a complete rewrite of LabPlot1 and lacks in the first release a lot of features available in the predecessor. On the other hand, the GUI and the usability is more superior.
  Fossies Dox: labplot-2.8.2.tar.gz  ("unofficial" and yet experimental doxygen-generated source code documentation)  

ImageEditor.cpp File Reference
#include "ImageEditor.h"
#include <QThreadPool>
#include <QElapsedTimer>
#include <QMutex>
#include <gsl/gsl_math.h>
Include dependency graph for ImageEditor.cpp:

Go to the source code of this file.


class  DiscretizeTask


static const QRgb white = QColor(Qt::white).rgb()
static const QRgb black = QColor(Qt::black).rgb()
static const double colorScale = gsl_hypot3(255, 255, 255)
static const int maxIntensity = 100
static const int maxForeground = 100
static const int maxHue = 360
static const int maxSaturation = 100
static const int maxValue = 100
QMutex mutex

Variable Documentation

◆ black

◆ colorScale

const double colorScale = gsl_hypot3(255, 255, 255)

◆ maxForeground

const int maxForeground = 100

◆ maxHue

const int maxHue = 360

◆ maxIntensity

const int maxIntensity = 100

◆ maxSaturation

const int maxSaturation = 100

◆ maxValue

const int maxValue = 100

◆ mutex

QMutex mutex

Definition at line 48 of file ImageEditor.cpp.

Referenced by DiscretizeTask::run().

◆ white

const QRgb white = QColor(Qt::white).rgb()

File : ImageEditor.cpp Project : LabPlot

Description : Edit Image on the basis of input color attributes

Copyright : (C) 2015 by Ankit Wagadre ( Copyright : (C) 2015-2016 Alexander Semke (

  • This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. *
  • This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. *
  • You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, * Boston, MA 02110-1301 USA *

Definition at line 37 of file ImageEditor.cpp.

Referenced by OriginProjectParser::color(), ImageEditor::discretize(), DatapickerImageView::drawBackground(), Axis::init(), CartesianPlotLegend::init(), Histogram::init(), XYCurve::init(), PlotArea::init(), CustomPointDock::init(), HistogramDock::init(), XYCurveDock::init(), Worksheet::loadTheme(), Axis::loadThemeConfig(), TextLabel::loadThemeConfig(), CartesianPlotLegend::loadThemeConfig(), PlotArea::loadThemeConfig(), OriginProjectParser::loadWorksheet(), DatapickerImageView::print(), RandomValuesDialog::RandomValuesDialog(), XYFitCurveDock::setupGeneral(), and GuiTools::updateBrushStyles().