Suggestions
No results found for struct_pii___binary_function.
An adaptable unary function for taking the absolute value.
<class T>
An adaptable unary function for taking the absolute value of the square of a real number.
<class T>
An adaptable binary function that calculates the absolute difference of its arguments, .
<class T>
An adaptable binary function that raises the absolute value of its first argument to the power of the second argument.
<class T, class U, class R>
An adaptable binary function that calculates the sum of absolute values, .
<class T>
A template that performs a logical AND operation on its boolean template parameters.
<bool, bool, bool, bool, bool, bool, bool>
An adaptable binary functor that performs the binary AND operation.
<class T>
A unary/binary function adaptor that makes the results of two unary functions the arguments of a binary function.
<class AdaptableBinaryFunction, class AdaptableUnaryFunction1, class AdaptableUnaryFunction2>
An stl-compatible model for an adaptable binary function.
<class, class, class>
An adaptable binary unary functor that performs the binary NOT operation.
<class T>
An adaptable binary functor that performs the binary OR operation.
<class T>
An adaptable binary binary functor that shifts the left operand left as many times as indicated by the right operand.
<class T>
An adaptable binary binary functor that shifts the left operand right as many times as indicated by the right operand.
<class T>
An adaptable binary functor that performs the binary XOR operation.
<class T>
A unary function that bounds its argument to a predefined range.
<class T>
An adaptable unary function that casts its argument from type From to type To.
<class From, class To>
A unary function that returns ceil(x).
<class T>
An adaptable unary function that returns the complex conjugate of a real number (which is the argument itself) or a complex number.
<class T>
A unary function that increments/decrements its internal counter by a predefined value each time the function is called.
<class T>
Implements eigenvalue calculations and stores the results of the calculations (eigenvalues and eigenvectors).
<class tT, class tReal>
An empty structure.
An adaptable unary function for calculating the base-e exponential.
<class T>
A structure whose constant boolValue member evaluates to false.
An adaptable binary function that uses a fast approximation (0.01 rad accuracy) to calculate the arc tangent of two variables.
<class T>
An adaptable binar function that uses a very fast but crude approximation (0.07 rad accuracy) to calculate the arc tangent of two variables.
<class T>
A unary function that returns floor(x).
<class T>
Helper function for algorithms that involve scrolling elements.
<class FuItem, class FuMemory>
An stl-compatible model for a generator function that takes no arguments.
<class>
An adaptable binary function that calculates the hypotenuse given two orthogonal sides of a triangle, .
<class T>
A structure whose nested type, Type, is T.
<class T>
A unary function that returns its argument: f(x) = x.
<class T>
A class that wraps a floating-point number and allows one to twiddle its bits.
<class >
A traits structure that specifies the bit counts and corresponding integer types for the double type.
A conditional template that accepts a type name as the condition parameter.
<class Condition, class Then, class Else>
A unary function that returns the imaginary part of its argument.
<class T>
<int>
An adaptable unary function that returns the inverse of its argument (1/x).
<class T>
A structure whose boolValue member evaluates statically to true if (and only if) Base is a base class of Derived.
<class Base, class Derived>
A type trait for checking the colorness of a type.
<class T>
A tester struct whose boolValue member evaluates statically to true if the template parameter T is a complex number (std::complex).
<class T>
A tester struct whose boolValue member evaluates statically to true if the template parameter T is a const type.
<class T>
A tester struct whose boolValue member evaluates statically to true if the template parameter T is a floating point number type.
<class T>
A tester struct whose boolValue member evaluates statically to true if the template parameter T is an integer type (either signed or unsigned).
<class T>
A tester struct whose boolValue member evaluates statically to true if the template parameter T is a numeric primitive (non-bool) type.
<class T>
A tester struct whose boolValue member evaluates statically to true if the template parameter T is a numeric primitive (non-bool) type or a complex number (std::complex).
<class T>
A tester struct whose boolValue member evaluates statically to true if the template parameter T is a primitive type.
<class T>
A tester struct whose boolValue member evaluates statically to true if the template parameter T is a reference.
<class T>
A tester struct whose boolValue member evaluates statically to true if the template parameter T is an unsigned integer type.
<class T>
An adaptable unary function for calculating the natural logarithm.
<class T>
A unary function that adds rows to a matrix.
<class T>
An adaptable binary function that returns the maximum of its two arguments.
<class T>
<int, int>
An adaptable unary function that calculates the sum of its arguments in successive calls and records the number of times the function has been called.
<class, class>
An adaptable binary function that returns the minimum of its two arguments.
<class T>
<int, int>
A unary function (predicate) that always returns false.
<class T>
Logical not operation.
<bool>
Logical not operation.
<class T>
Utility for miscellaneous numerical property definitions.
<class T>
A structure that has a nested type Type if and only if T is a numeric primitive type.
<class T>
A structure that has a nested type Type if and only if T is a floating-point type.
<class T>
A structure that has a nested type Type if and only if T is a numeric primitive type.
<class T>
A structure that has a nested type Type if and only if T is a numeric primitive type or a complex number.
<class T>
A structure that has a nested type Type if and only if T is a primitive type.
<class T>
A template that performs a logical OR operation on its boolean template parameters.
<bool, bool, bool, bool, bool, bool, bool>
An adaptable binary function that raises its first argument to the power of the second argument.
<class T, class U>
A static functor that converts pointers to values and keeps other types as such.
<class T>
A unary function that returns the real part of its argument.
<class T>
A trait structure that converts any input type to a real output type.
<class T>
A static functor that converts references to values and keeps other types as such.
<class T>
An adaptable unary function that rounds its argument to the closest integer.
<class From, class To>
A binary function that returns its first argument: f(x,y) = x.
<class T, class U>
A binary function that returns its second argument: f(x,y) = y.
<class T, class U>
A unary function that returns the sign (1, 0, or -1) of its argument.
<class T>
An adaptable unary function that returns the square of its argument.
<class T>
An adaptable binary function that calculates the squared difference of its arguments, .
<class T>
A model for an adaptable ternary function.
<class, class, class, class>
Converts a type to a corresponding floating-point type.
<class T>
A structure whose member type Type is a non-const version of the template parameter T.
<class>
A static functor that converts pointers to references and keeps references as such.
<class T>
A structure whose constant boolValue member evaluates to true.
A unary function adaptor that makes the result of one unary function the argument of another.
<class AdaptableUnaryFunction1, class AdaptableUnaryFunction2>
An stl-compatible model for an adaptable unary function.
<class, class>
Type for values passed through the va_arg mechanism ("..." in function parameters).
<class>
A unary function (predicate) that always returns true.
<class T>
A generic template for absolute value.
(T value, typename OnlyNumeric< T >::Type )
Returns the absolute value ov value squared.
(T value, typename OnlyNumeric< T >::Type )
Loops through all values in the range [begin, end) and applies func to each element and the current value of initialValue.
(InputIterator begin, InputIterator end, BinaryFunction func, T initialValue)
Loops through all values in the range [begin, end) and applies func to each element and the current value of initialValue, if predicate returns a non-zero value for the element.
(InputIterator begin, InputIterator end, UnaryPredicate predicate, BinaryFunction func, T initialValue)
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. This fuction works in the range [begin, begin + n).
(InputIterator begin, int n, BinaryFunction func, T initialValue)
Align a memory address.
(T address, size_t bitMask)
Compares each element in the range [begin, end) to the corresponding element in the range starting at begin2.
(InputIterator1 begin1, InputIterator1 end1, InputIterator2 begin2, typename std::iterator_traits< InputIterator1 >::value_type tolerance)
Returns the difference between two angles (in radians).
(T angle1, T angle2, typename Pii::OnlyFloatingPoint< T >::Type )
Converts args to to a QVariantList, assuming that each argument is a valid pointer of the type specified by types.
(const QList< int > & types, void ** args)
Performs array copy of non-overlapping arrays.
(T * to, const T * from, const size_type itemCount)
A fast (but slower than fastAtan2()) approximation to four-quadrant arctan.
(float y, float x)
Reduces a rectangular matrix to a bidiagonal form.
(PiiMatrix< Real > & A, PiiMatrix< Real > & tauQ, PiiMatrix< Real > & tauP)
Unpacks the result of bidiagonal decomposition.
(PiiMatrix< Real > & A)
Unpacks the result of bidiagonal decomposition.
(const PiiMatrix< Real > & A, Real * d, Real * e)
Unpacks the result of bidiagonal decomposition.
(PiiMatrix< Real > & V, const Real * tauP, const int diagonal, PiiMatrix< Real > & T)
Unpacks the result of bidiagonal decomposition.
(PiiMatrix< Real > & V, const Real * tauQ, const int diagonal, PiiMatrix< Real > & T)
Calculates the area of a triangle, given the lenghts of its sides.
(double a, double b, double c)
Calculates the angle between sides a and b, given the known lengths of the sides and the angle opposite to side a.
(double a, double b, double angle)
Calculates the angle opposite to side a, given the known lengths of all sides of a triangle.
(double a, double b, double c)
Calculates the length of the third side of a triangle, given the lengths of two adjacent sides and the angle between them.
(double a, double b, double angle)
Calculates two-point central difference.
(const PiiMatrix< U > & mat, MatrixDirection direction)
Convert any collection to a QVariantList that contains the same values as QVariant objects.
(const Collection & lst)
Get a column from a matrix as a collection (QList, QVector)
(const PiiMatrix< T > & matrix, int column)
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
(int n, int k, UnaryFunction func, Storage storage)
Concatenate two matrices.
(const PiiConceptualMatrix< Matrix1 > & mat1, const PiiConceptualMatrix< Matrix2 > & mat2, Pii::MatrixDirection direction)
Calculates the complex conjugate of a real number.
(T value, typename OnlyNumeric< T >::Type )
Converts any color image (rgb/indexed) to gray scale.
(QImage & img)
Converts any image to 32-bit rgb.
(QImage & img)
Copies all elements in the range [begin, end) to output.
(InputIterator begin, InputIterator end, OutputIterator output)
Copies the object pointed to by source to the memory location at target.
(QVariant::Type type, const void * source, void * target)
Copies n elements starting at begin to output.
(InputIterator begin, int n, OutputIterator output)
(T value, T sign)
Copies a variable number of arguments to a range of elements bounded by the iterators begin and end.
(Iterator begin, Iterator end, typename Pii::VaArg< typename std::iterator_traits< Iterator >::value_type >::Type first, ... )
Copies a variable argument list to a range of elements.
(Iterator begin, Iterator end, typename Pii::VaArg< typename std::iterator_traits< Iterator >::value_type >::Type first, va_list rest)
Get the number of ones in a binary number.
(unsigned int c, const unsigned char bits)
Get the number of 0-to-1 or 1-to-0 transitions in a binary number.
(unsigned int c, const unsigned char bits)
Calculates the covariance matrix for a set of measurements.
(const PiiMatrix< T > & mat, PiiMatrix< double > * mean)
(PiiMatrix< T > & matrix)
Calculates the cross product of two vectors m1 and m2.
(const PiiMatrix< T > & m1, const PiiMatrix< T > & m2)
Calculates two-dimensional cumulative sum of a matrix.
(const PiiRandomAccessMatrix & matrix, UnaryFunction func, CumulativeSumMode mode)
Decode string-encoded properties into a variant map.
(const QString & encodedProperties, QChar propertySeparator, QChar valueSeparator, QChar escape, PropertyDecodingFlags flags)
Convert an angle from degrees to radians.
(double deg)
Delete all members of a collection.
(Collection & c)
calculate the determinant of a matrix.
(const PiiMatrix< T > & mat)
Calculates determinant of 2x2 matrix with direct calculation.
(const PiiMatrix< T > & m)
Calculates determinant of 3x3 matrix with direct calculation.
(const PiiMatrix< T > & m)
Difference and approximate derivative.
(const PiiMatrix< T > & mat, int step, int order, MatrixDirection direction)
Divide the elements in m1 by the corresponding elements in m2.
(PiiConceptualMatrix< Matrix1 > & m1, const PiiConceptualMatrix< Matrix2 > & m2)
Divide the elements in m1 by the corresponding elements in m2.
(const PiiConceptualMatrix< Matrix1 > & m1, const PiiConceptualMatrix< Matrix2 > & m2)
Calculates the distance from abs(value) to the next real number larger in magnitude.
(Real value)
Compare two matrices.
(const PiiConceptualMatrix< Matrix1 > & mat1, const PiiConceptualMatrix< Matrix2 > & mat2)
Returns the value of the inverse normal cumulative distribution function (a.k.a the error function, erf) at p.
(double p)
Extend a matrix by adding new rows/columns to its sides.
(const PiiMatrix< T > & mat, int amount, ExtendMode mode, int sides)
Returns the factorial of n (n!).
(T n)
A very fast approximation to four-quadrant arctan.
(float y, float x)
Returns the median of all elements in data.
(Iterator data, int len)
Fast 2-D moving average.
(const PiiMatrix< T > & cumulativeSum, int windowRows, int windowColumns)
Fetch a list of files matching a wildcard.
(const QString & pattern, QDir::Filters filters, QDir::SortFlags sort)
Sets all values in the range [begin, end) to value.
(Iterator begin, Iterator end, typename std::iterator_traits< Iterator >::value_type value)
Sets all values in the range [begin, end) for which predicate returns a non-zero value to value.
(Iterator begin, Iterator end, UnaryPredicate predicate, typename std::iterator_traits< Iterator >::value_type value)
Sets all values in the range [begin, begin + b) to value.
(Iterator begin, int n, typename std::iterator_traits< Iterator >::value_type value)
Find the row and column coordinates of all elements in mat that match predicate.
(const PiiMatrix< T > & mat, UnaryPredicate predicate, int cnt)
Find all parent objects of obj up to maxParents parent objects.
(const QObject * obj, unsigned int maxParents)
Find the object that is the closest common ancestor of obj1 and obj2 in the object hierarchy.
(const QObject * obj1, const QObject * obj2, int * parentIndex)
Find the first occurrence of an element that matches Rule.
(const PiiMatrix< T > & matrix, T value, int & r, int & c)
Find the first parent of obj whose type matches T.
(const QObject * obj)
Find the last occurrence (bottom to top, right to left) of value in matrix.
(const PiiMatrix< T > & matrix, T value, int & r, int & c)
Find cnt largest values in mat.
(const PiiMatrix< T > & mat, int cnt)
Find cnt smallest values in mat.
(const PiiMatrix< T > & mat, int cnt)
Recursively connects neighbors given as a list of pairs.
(QLinkedList< QPair< int, int > > & pairs)
Returns the index of the first occurrence of separator in str, starting at startIndex.
(const QString & str, QChar separator, int startIndex, QChar escape)
Find a special value such as maximum or minimum in the range specified by begin and end.
(InputIterator begin, InputIterator end, BinaryPredicate op, UnaryFunction f)
Find the index of the first bit set to one.
(T c)
Fit a polynomial curve to data.
(unsigned int order, const PiiMatrix< double > & x, const PiiMatrix< double > & y)
Flip matrix in place either horizontally, vertically or both.
(PiiMatrix< T > & matrix, Pii::MatrixDirections directions)
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. This function doesn't modify the source matrix, but returns a copy.
(const PiiMatrix< T > & mat, Pii::MatrixDirections directions)
Returns the sign bit of value1 - value2.
(double value1, float value2)
Applies func to each element in the range [begin, end).
(InputIterator begin, InputIterator end, UnaryFunction func)
Applies func to each element in the range [begin, end) for which predicate returns a non-zero value.
(InputIterator begin, InputIterator end, UnaryPredicate predicate, UnaryFunction func)
A Gaussian function.
(T x, double mu, double sigma)
Find the greatest common divisor (gcd) for the given two numbers using Euclid's algorithm.
(T number1, T number2)
Sets all values in the range [begin, end) to the value returned by generator.
(Iterator begin, Iterator end, Generator generator)
Sets all values in the range [begin, begin + n) to the value returned by generatore.
(Iterator begin, int n, Generator generator)
Returns a color table with shades of gray from zero to 255.
Calculate the Hamming distance between two binary numbers.
(unsigned int a, unsigned int b, const unsigned char bits)
Generates an elementary reflector (a.k.a the Householder transformation).
(Iterator x, int n, typename std::iterator_traits< Iterator >::value_type * tau, typename std::iterator_traits< Iterator >::value_type * beta)
Calculates the hypotenuse given two orthogonal sides of a triangle.
(T a, T b)
Returns the imaginary part of a real number, i.e.
(T , typename OnlyNumeric< T >::Type )
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
(const PiiVector< T, D > & v1, const PiiVector< T, D > & v2)
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. Returns the inner product of two n-dimensional vectors.
(InputIterator1 begin1, int n, InputIterator2 begin2, T initialValue)
Classical insertion sort.
(T * data, int size)
Find the intersection of two lists.
(const Collection & list1, const Collection & list2)
Invert a matrix.
(const PiiMatrix< T > & mat)
Tests if a matrix is antisymmetric.
(const PiiMatrix< T > & mat)
Test if a matrix is diagonal.
(const PiiMatrix< T > & mat)
Returns true if f equals Inf.
(T f)
Returns true if f is NaN.
(T f)
Tests whether the given real matrix is "orthogonal-like".
(const PiiMatrix< T > & mat, const T & tolerance)
Returns true if parent is a parent of child.
(const QObject * parent, const QObject * child)
Test if a matrix is singular.
(const PiiMatrix< T > & mat)
Tests whether the given matrix is square matrix.
(const PiiMatrix< T > & mat)
Test if a matrix is symmetric about the diagonal.
(const PiiMatrix< T > & mat)
Find the union of two lists.
(const Collection & list1, const Collection & list2)
Returns the k:th smallest element from array.
(T * data, int size, int k)
Find the index of the last bit set to one.
(T c)
Converts a collection to a row matrix.
(const Collection & lst, Pii::MatrixDirection direction)
Convert a QList to a QVariantList that contains the same values as QVariant objects.
(const QList< T > & lst)
Applies a unary function func to all elements in the range [begin, end), and stores the result in place.
(Iterator begin, Iterator end, UnaryFunction func)
Applies a unary function func to all elements in the range [begin, end) for which predicate returns a non-zero value.
(Iterator begin, Iterator end, UnaryPredicate predicate, UnaryFunction func)
Applies the unary function func to all elements of matrix.
(PiiConceptualMatrix< Matrix > & matrix, UnaryFunction func)
Applies the unary function func to all elements of matrix that match the given predicate.
(PiiConceptualMatrix< Matrix > & matrix, UnaryPredicate predicate, UnaryFunction func)
Applies a binary function func to all elements in the range [begin1, begin1 + n), and stores the result in place.
(Iterator1 begin1, int n, Iterator2 begin2, BinaryFunction func)
Applies the unary function func to all elements of matrix.
(PiiConceptualMatrix< Matrix > & matrix, UnaryFunction func)
Applies the unary function func to all elements of matrix that match the given predicate.
(const PiiConceptualMatrix< Matrix > & matrix, UnaryPredicate predicate, UnaryFunction func)
Match a list of crontab-like strings against the given time stamp.
(QStringList list, QDateTime timeStamp)
Parse a string that describes a matrix in Matlab syntax.
(const QString & str)
Print out a matrix in a matlab-friendly format.
(Stream & out, const PiiConceptualMatrix< Matrix, RandomAccessMatrix > & mat)
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. This specialization just returns mat.
(const PiiMatrix< T > & mat)
Calculates the maximum among all elements in the specified direction.
(const PiiMatrix< T > & mat, MatrixDirection direction)
Like maxAll(), but finds the maximum absolute value.
(const PiiMatrix< T > & mat, int * r, int * c)
Shorthand for maxAll(collection.begin(), collection.end()).
(const Collection & collection)
Calculates the mean of matrix elements in the specified direction.
(const PiiRandomAccessMatrix & mat, MatrixDirection direction)
Calculates the mean of all entries in a matrix.
(const PiiConceptualMatrix< Matrix > & mat)
Returns the median of all elements in data.
(Iterator data, int len)
Median of 25 values optimized to the theoretical maximum efficiency.
(Iterator data)
Median of three values optimized to the theoretical maximum efficiency.
(Iterator data)
Median of five values optimized to the theoretical maximum efficiency.
(Iterator data)
Median of seven values optimized to the theoretical maximum efficiency.
(Iterator data)
Median of nine values optimized to the theoretical maximum efficiency.
(Iterator data)
Returns the median of all elements in mat.
(const PiiMatrix< T > & mat)
Calculates the minimum among all elements in the specified direction.
(const PiiMatrix< T > & mat, MatrixDirection direction)
Calculates the minimum of all elements in a matrix.
(const PiiMatrix< T > & mat, int * r, int * c)
Find the maximum and maximum of all elements in a matrix.
(const PiiMatrix< T > & mat, T * minimum, T * maximum, int * minR, int * minC, int * maxR, int * maxC)
Returns the "modulus" of a floating point number.
(T d1, T d2, typename OnlyFloatingPoint< T >::Type )
Calculates the moving average of a sequence bounded by begin and end.
(Iterator begin, Iterator end, int width)
Multiplies the elements in m1 and m2.
(const PiiConceptualMatrix< Matrix1 > & m1, const PiiConceptualMatrix< Matrix2 > & m2)
Multiply the elements in m1 by the corresponding elements in m2.
(PiiConceptualMatrix< Matrix1 > & m1, const PiiConceptualMatrix< Matrix2 > & m2)
Normalizes vectors in a matrix.
(PiiRandomAccessMatrix & mat, MatrixDirection direction)
Normalizes vectors in a matrix.
(const PiiRandomAccessMatrix & mat, MatrixDirection direction)
Returns a random number from a distribution that follows N(0,1) (zero mean, unit variance Gaussian distribution).
Returns a rows x columns matrix filled with normally distributed random numbers.
(int rows, int columns)
Write a QString to an std output stream.
(std::ostream & out, const QString & str)
Converts comma-separated type names to a list of type IDs.
(const QByteArray & types)
Returns array which is arranged so that; there exist index k which value is restricted to 0 <= k < size.
(T * data, int size, int pivot)
Decorrelates a possibly correlated set of data.
(const PiiRandomAccessMatrix & X)
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
(int n, UnaryFunction func, Storage storage)
PII_DECLARE_EXPORTED_FUNCTION_TEMPLATE
(void , setProperties< QSettings > , (QObject &obj, const QStringList &properties, const QSettings &valueMap, Qt::CaseSensitivity sensitivity, const QString &commentMark) , PII_BUILDING_CORE )
Returns a matrix whose elements are absolute values of mat squared.
(abs2 , Abs2 )
Raise value to an integer power (n).
(T value, int n, typename OnlyNumeric< T >::Type )
Returns the PCA base vectors for a data set in X.
(const PiiRandomAccessMatrix & X, PiiMatrix< typename Matrix::value_type > * S)
Print matrix in a user-defined format.
(Stream & out, const PiiConceptualMatrix< Matrix, RandomAccessMatrix > & mat, const ColSeparator & columnSeparator, const RowSeparator & rowSeparator)
Fetch the properties of a QObject as a map of name-value pairs.
(const QObject & obj, int propertyOffset, PropertyFlags flags)
Returns the properties of obj as a list.
(const QObject & obj, int propertyOffset, PropertyFlags flags)
Finds the name of a property in obj that matches name in a case-insensitive manner.
(const QObject & obj, const QString & name)
Returns the Moore-Penrose pseudoinverse of an m-by-n matrix.
(const PiiRandomAccessMatrix & A)
(MatrixDirections , MatrixDirection )
(MatrixDirection MatrixDirections)
Hash function for null-terminated C strings.
(const char * key)
QR decomposition.
(PiiRandomAccessMatrix & A, PiiMatrix< typename Matrix::value_type > & tau)
Unpacks the result of QR decomposition.
(PiiMatrix< Real > & A, const Real * tau, PiiMatrix< Real > & T, PiiMatrix< Real > & gram)
Convert an angle from radians to degrees.
(double rad)
Set random elements from range specified by parameters lowerBound and upperBound to matrix.
(PiiMatrix< T > & mat, const T & lowerBound, const T & upperBound)
Estimates the number of linearly independent rows or columns of a matrix.
(const PiiRandomAccessMatrix & mat, typename Matrix::value_type tolerance)
Returns the real part of a complex number.
(const std::complex< T > & value)
Applies a reflection transform to a rectangular matrix from the left.
(PiiConceptualMatrix< Matrix, Pii::RandomAccessMatrix > & A, InputIterator v, typename Matrix::value_type tau, typename Matrix::value_type * bfr)
Applies a reflection transform to a rectangular matrix from the right.
(PiiConceptualMatrix< Matrix, Pii::RandomAccessMatrix > & A, InputIterator v, typename Matrix::value_type tau)
Replaces variables in string and returns a new string.
(const QString & string, const VariableMap & variables)
Replicate a matrix vertical times vertically and horizontal times horizontally.
(const PiiMatrix< T > & matrix, int vertical, int horizontal)
(unsigned short c, const unsigned char n)
(unsigned int c, const unsigned char n)
Rotate a binary code right by n positions.
(unsigned int c, const unsigned char n, const unsigned char bits)
(unsigned int c, const unsigned char n)
(mat , 0 , 1 )
Rotate a binary number to its minimum value.
(unsigned int n, const unsigned char bits)
Rounds a double argument to the closest integer.
(double value)
Get a row from a matrix as a collection (QList, QVector)
(const PiiMatrix< T > & matrix, int row)
Returns a numerical score for the goodness of a parameter set given a list of expected types.
(const QVariantList & params, const QList< int > & types)
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. Randomly selects n distinct integers in [0, max-1] and stores them to indices.
(QVector< int > & indices, int n, int max)
Assigns sequentially increasing values to the range [begin, end).
(Iterator begin, Iterator end, typename std::iterator_traits< Iterator >::value_type initialValue)
Assigns sequentially increasing values to the range [begin, end + n).
(Iterator begin, int n, typename std::iterator_traits< Iterator >::value_type initialValue)
Sets diagonal entries in matrix to the values read from vector.
(PiiRandomAccessMatrix & matrix, Iterator vector)
Sets diagonal entries in matrix to ones and other entries to zero.
(PiiRandomAccessMatrix & matrix)
Sets many properties in a bunch.
(QObject & obj, const QVariantMap & lstProperties)
(QObject & obj, const QList< QPair< QString, QVariant > > & lstProperties)
(T value, PiiMatrix< T > & img, double dr, double dc)
Randomize the order of elements in a collection.
(Collection & lst)
Randomize the order of elements in a sequence.
(Iterator begin, PII_DIFF_TYPE n)
Returns the sign of value.
(T value, typename OnlyNumeric< T >::Type )
Returns the sign bit of value1 - value2.
(T value1, T value2)
Sort matrix rows.
(const PiiMatrix< T > & matrix, int column)
Sort matrix rows into ascending order based on the value on the specified column.
(PiiMatrix< T > & matrix, LessThan lessThan, int column)
Splits a string in which each part may be quoted.
(const QString & str, QChar separator, QChar quote, QString::SplitBehavior behavior)
Returns the square root of value.
(T value, typename OnlyNumeric< T >::Type )
Returns the value * value.
(T value, typename OnlyNumericOrComplex< T >::Type )
Calculates the standard deviation over all elements in a matrix.
(const PiiMatrix< T > & mat, U * mean)
Convert a string to any type.
(const QString & number, bool * ok)
(const QString & number, bool * ok)
(const QString & number, bool * ok)
(const QString & number, bool * ok)
(const QString & number, bool * ok)
(const QString & number, bool * ok)
(const QString & number, bool * ok)
(const QString & number, bool * ok)
(const QString & number, bool * ok)
stringTo< unsigned long long >
(const QString & number, bool * ok)
(const QString & number, bool * ok)
Create a list that consists of the elements of list1 that are not present in list2.
(const Collection & list1, const Collection & list2)
Subtracts sample mean from a data set.
(PiiRandomAccessMatrix & matrix, Pii::MatrixDirection direction)
Calculates the sum of matrix elements in the specified direction.
(const PiiRandomAccessMatrix & mat, MatrixDirection direction)
Calculates the sum of all entries in a matrix.
(const PiiConceptualMatrix< Matrix > & mat)
(Iterator1 begin1, Iterator1 end1, Iterator2 begin2)
(Iterator1 begin1, int n, Iterator2 begin2)
Converts a string into a number.
(const QString & number, bool * ok)
Applies a binary function func to all elements in the range [begin1, end1), using the corresponding element in the range starting at begin2 as the second argument to the function.
(InputIterator1 begin1, InputIterator1 end1, InputIterator2 begin2, OutputIterator output, BinaryFunction func)
Performs func on each column of the given matrix.
(PiiConceptualMatrix< Matrix, RandomAccessMatrix > & matrix, InputIterator input, BinaryFunction func)
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. Returns a new matrix.
(const PiiRandomAccessMatrix & matrix, InputIterator input, BinaryFunction func)
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. Returns a new matrix.
(const PiiConceptualMatrix< Matrix, RandomAccessMatrix > & matrix, InputIterator input, BinaryFunction func)
Applies a unary function func to all elements in the range [begin, begin + n), and stores the returned value to output.
(InputIterator begin, int n, OutputIterator output, UnaryFunction func)
Performs func on each row of the given matrix.
(PiiConceptualMatrix< Matrix, RandomAccessMatrix > & matrix, InputIterator input, BinaryFunction func)
Returns a rows x columns matrix filled with uniformly distributed random numbers in [0,1].
(int rows, int columns)
Unpacks a matrix in which a series of elementary reflections are represented as row or column vectors.
(MatrixDirection direction, const PiiConceptualMatrix< Matrix, RandomAccessMatrix > & V, const typename Matrix::value_type * tau, PiiMatrix< typename Matrix::value_type > & T, PiiMatrix< typename Matrix::value_type > & gram, int diagonal)
Sample a matrix (typically an image) at continuous positions.
(const PiiMatrix< T > & img, double dr, double dc)
Calculates the variance of matrix elements in the specified direction.
(const PiiMatrix< T > & mat, MatrixDirection direction)
Calculates the variance over all elements in a matrix.
(const PiiMatrix< T > & mat, U * mean)
Converts a list of QVariant objects into a QList of type T.
(const QVariantList & variants)
Convert a list of QVariant objects into a QVector of type T.
(const QVariantList & variants)
Convert a QVector to a QVariantList that contains the same values as QVariant objects.
(const QVector< T > & lst)
Calculates the sum of neighbors in a sequence bounded by begin and end.
(Iterator begin, Iterator end, int width, UnaryFunction function)
Other classes
A template that adds support for arithmetic operators for any data structure that can be iterated over.
A utility class for calling functions asynchronously.
An iterator that uses two iterators in parallel and transforms their values using a binary function.
Stores the center and radius of a circle.
A three-channel color.
A four-channel color.
Type information structure for PiiColor4.
A structure that represents a three-channel color.
Type information structure for PiiColorBase.
Type information structure for PiiColor.
This is an interface class, which can be used for setting and getting the configuration values for the class inherited from this interface.
A wrapper structure for const char pointers that can be used with QHash and QMap as a light-weight replacement for QString.
This class adds to the base class PiiConfigurable some functionality related to handling the meta configuration information.
A utility class that reveals the protected msleep() member of QThread so that program flow can be delayed anywhere.
A home-made event loop.
A utility class that automatically starts the event processing thread upon construction and stops it when destructed.
PiiException is the base class of all exceptions.
A first in first out I/O device.
An iterator that picks selected elements out of another iterator.
A replacement for float/double numbers.
A template class that represents fractions.
An exception for situations in which invalid arguments were used in a function or constructor call.
An exception for input/output errors.
PiiMathException is thrown when errors occur in calculations.
This class provides meta information about a configuration value in the class derived from the interface class PiiConfigurable.
A two-dimensional point.
An interface for objects that control the functioning of operations that take a long time.
A matrix that shares data with a QImage, and an image that shares data with a PiiMatrix.
A read-write lock.
Stores the upper left corner and the size of a rectangle.
A database that stores statements about resources.
A class used by PiiResourceDatabase to store statements about resources.
A shared object.
An implicitly shared pointer.
A simple segregated storage.
Stores the width and height of an area.
A utility class that works as a simple alternative to std::auto_ptr.
PiiTimer uses QTime to achieve microsecond-resolution timing of intervals.
An iterator that transforms another iterator using a unary function.
An interface for UI components that support undo/redo functionality.
An object that can be used as a slot for any signal.
An extensible variant class that can store any data type.
A D -dimensional vector.
Type information structure for PiiVector.
A class that can be used to compare version numbers composed of multiple dot-separated parts.
Macros
Other classes
Geometric overlays are drawn with a pen and optionally filled with a brush.
A class provides an image display window.
Image overlay is a layer that is drawn on PiiImageDisplay Each overlay has a paint method that is called by display.
A widget for viewing QImages.
This widget provides a measuring tape for other widgets, like PiiImageDisplay and PiiDefectMap.
A class used by PiiTableModel to store item data for table cells and the header.
A class provides a simple speedometer display.
A hybrid of a table model and an item "delegate".
A widget with Add, Delete, Move up, and Move down buttons for controlling a PiiTableModel.
A class provides a simple thermometer display.
A pair of arrow buttons.
An adaptable unary function for taking the absolute value.
<class T>
An adaptable unary function for taking the absolute value of the square of a real number.
<class T>
An adaptable binary function that calculates the absolute difference of its arguments, .
<class T>
An adaptable binary function that raises the absolute value of its first argument to the power of the second argument.
<class T, class U, class R>
An adaptable binary function that calculates the sum of absolute values, .
<class T>
A template that performs a logical AND operation on its boolean template parameters.
<bool, bool, bool, bool, bool, bool, bool>
An adaptable binary functor that performs the binary AND operation.
<class T>
A unary/binary function adaptor that makes the results of two unary functions the arguments of a binary function.
<class AdaptableBinaryFunction, class AdaptableUnaryFunction1, class AdaptableUnaryFunction2>
An stl-compatible model for an adaptable binary function.
<class, class, class>
An adaptable binary unary functor that performs the binary NOT operation.
<class T>
An adaptable binary functor that performs the binary OR operation.
<class T>
An adaptable binary binary functor that shifts the left operand left as many times as indicated by the right operand.
<class T>
An adaptable binary binary functor that shifts the left operand right as many times as indicated by the right operand.
<class T>
An adaptable binary functor that performs the binary XOR operation.
<class T>
A unary function that bounds its argument to a predefined range.
<class T>
An adaptable unary function that casts its argument from type From to type To.
<class From, class To>
A unary function that returns ceil(x).
<class T>
An adaptable unary function that returns the complex conjugate of a real number (which is the argument itself) or a complex number.
<class T>
A unary function that increments/decrements its internal counter by a predefined value each time the function is called.
<class T>
Implements eigenvalue calculations and stores the results of the calculations (eigenvalues and eigenvectors).
<class tT, class tReal>
An empty structure.
An adaptable unary function for calculating the base-e exponential.
<class T>
A structure whose constant boolValue member evaluates to false.
An adaptable binary function that uses a fast approximation (0.01 rad accuracy) to calculate the arc tangent of two variables.
<class T>
An adaptable binar function that uses a very fast but crude approximation (0.07 rad accuracy) to calculate the arc tangent of two variables.
<class T>
A unary function that returns floor(x).
<class T>
Helper function for algorithms that involve scrolling elements.
<class FuItem, class FuMemory>
An stl-compatible model for a generator function that takes no arguments.
<class>
An adaptable binary function that calculates the hypotenuse given two orthogonal sides of a triangle, .
<class T>
A structure whose nested type, Type, is T.
<class T>
A unary function that returns its argument: f(x) = x.
<class T>
A class that wraps a floating-point number and allows one to twiddle its bits.
<class >
A traits structure that specifies the bit counts and corresponding integer types for the double type.
A conditional template that accepts a type name as the condition parameter.
<class Condition, class Then, class Else>
A unary function that returns the imaginary part of its argument.
<class T>
<int>
An adaptable unary function that returns the inverse of its argument (1/x).
<class T>
A structure whose boolValue member evaluates statically to true if (and only if) Base is a base class of Derived.
<class Base, class Derived>
A type trait for checking the colorness of a type.
<class T>
A tester struct whose boolValue member evaluates statically to true if the template parameter T is a complex number (std::complex).
<class T>
A tester struct whose boolValue member evaluates statically to true if the template parameter T is a const type.
<class T>
A tester struct whose boolValue member evaluates statically to true if the template parameter T is a floating point number type.
<class T>
A tester struct whose boolValue member evaluates statically to true if the template parameter T is an integer type (either signed or unsigned).
<class T>
A tester struct whose boolValue member evaluates statically to true if the template parameter T is a numeric primitive (non-bool) type.
<class T>
A tester struct whose boolValue member evaluates statically to true if the template parameter T is a numeric primitive (non-bool) type or a complex number (std::complex).
<class T>
A tester struct whose boolValue member evaluates statically to true if the template parameter T is a primitive type.
<class T>
A tester struct whose boolValue member evaluates statically to true if the template parameter T is a reference.
<class T>
A tester struct whose boolValue member evaluates statically to true if the template parameter T is an unsigned integer type.
<class T>
An adaptable unary function for calculating the natural logarithm.
<class T>
A unary function that adds rows to a matrix.
<class T>
An adaptable binary function that returns the maximum of its two arguments.
<class T>
<int, int>
An adaptable unary function that calculates the sum of its arguments in successive calls and records the number of times the function has been called.
<class, class>
An adaptable binary function that returns the minimum of its two arguments.
<class T>
<int, int>
A unary function (predicate) that always returns false.
<class T>
Logical not operation.
<bool>
Logical not operation.
<class T>
Utility for miscellaneous numerical property definitions.
<class T>
A structure that has a nested type Type if and only if T is a numeric primitive type.
<class T>
A structure that has a nested type Type if and only if T is a floating-point type.
<class T>
A structure that has a nested type Type if and only if T is a numeric primitive type.
<class T>
A structure that has a nested type Type if and only if T is a numeric primitive type or a complex number.
<class T>
A structure that has a nested type Type if and only if T is a primitive type.
<class T>
A template that performs a logical OR operation on its boolean template parameters.
<bool, bool, bool, bool, bool, bool, bool>
An adaptable binary function that raises its first argument to the power of the second argument.
<class T, class U>
A static functor that converts pointers to values and keeps other types as such.
<class T>
A unary function that returns the real part of its argument.
<class T>
A trait structure that converts any input type to a real output type.
<class T>
A static functor that converts references to values and keeps other types as such.
<class T>
An adaptable unary function that rounds its argument to the closest integer.
<class From, class To>
A binary function that returns its first argument: f(x,y) = x.
<class T, class U>
A binary function that returns its second argument: f(x,y) = y.
<class T, class U>
A unary function that returns the sign (1, 0, or -1) of its argument.
<class T>
An adaptable unary function that returns the square of its argument.
<class T>
An adaptable binary function that calculates the squared difference of its arguments, .
<class T>
A model for an adaptable ternary function.
<class, class, class, class>
Converts a type to a corresponding floating-point type.
<class T>
A structure whose member type Type is a non-const version of the template parameter T.
<class>
A static functor that converts pointers to references and keeps references as such.
<class T>
A structure whose constant boolValue member evaluates to true.
A unary function adaptor that makes the result of one unary function the argument of another.
<class AdaptableUnaryFunction1, class AdaptableUnaryFunction2>
An stl-compatible model for an adaptable unary function.
<class, class>
Type for values passed through the va_arg mechanism ("..." in function parameters).
<class>
A unary function (predicate) that always returns true.
<class T>
A generic template for absolute value.
(T value, typename OnlyNumeric< T >::Type )
Returns the absolute value ov value squared.
(T value, typename OnlyNumeric< T >::Type )
Loops through all values in the range [begin, end) and applies func to each element and the current value of initialValue.
(InputIterator begin, InputIterator end, BinaryFunction func, T initialValue)
Loops through all values in the range [begin, end) and applies func to each element and the current value of initialValue, if predicate returns a non-zero value for the element.
(InputIterator begin, InputIterator end, UnaryPredicate predicate, BinaryFunction func, T initialValue)
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. This fuction works in the range [begin, begin + n).
(InputIterator begin, int n, BinaryFunction func, T initialValue)
Align a memory address.
(T address, size_t bitMask)
Compares each element in the range [begin, end) to the corresponding element in the range starting at begin2.
(InputIterator1 begin1, InputIterator1 end1, InputIterator2 begin2, typename std::iterator_traits< InputIterator1 >::value_type tolerance)
Returns the difference between two angles (in radians).
(T angle1, T angle2, typename Pii::OnlyFloatingPoint< T >::Type )
Converts args to to a QVariantList, assuming that each argument is a valid pointer of the type specified by types.
(const QList< int > & types, void ** args)
Performs array copy of non-overlapping arrays.
(T * to, const T * from, const size_type itemCount)
A fast (but slower than fastAtan2()) approximation to four-quadrant arctan.
(float y, float x)
Reduces a rectangular matrix to a bidiagonal form.
(PiiMatrix< Real > & A, PiiMatrix< Real > & tauQ, PiiMatrix< Real > & tauP)
Unpacks the result of bidiagonal decomposition.
(PiiMatrix< Real > & A)
Unpacks the result of bidiagonal decomposition.
(const PiiMatrix< Real > & A, Real * d, Real * e)
Unpacks the result of bidiagonal decomposition.
(PiiMatrix< Real > & V, const Real * tauP, const int diagonal, PiiMatrix< Real > & T)
Unpacks the result of bidiagonal decomposition.
(PiiMatrix< Real > & V, const Real * tauQ, const int diagonal, PiiMatrix< Real > & T)
Calculates the area of a triangle, given the lenghts of its sides.
(double a, double b, double c)
Calculates the angle between sides a and b, given the known lengths of the sides and the angle opposite to side a.
(double a, double b, double angle)
Calculates the angle opposite to side a, given the known lengths of all sides of a triangle.
(double a, double b, double c)
Calculates the length of the third side of a triangle, given the lengths of two adjacent sides and the angle between them.
(double a, double b, double angle)
Calculates two-point central difference.
(const PiiMatrix< U > & mat, MatrixDirection direction)
Convert any collection to a QVariantList that contains the same values as QVariant objects.
(const Collection & lst)
Get a column from a matrix as a collection (QList, QVector)
(const PiiMatrix< T > & matrix, int column)
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
(int n, int k, UnaryFunction func, Storage storage)
Concatenate two matrices.
(const PiiConceptualMatrix< Matrix1 > & mat1, const PiiConceptualMatrix< Matrix2 > & mat2, Pii::MatrixDirection direction)
Calculates the complex conjugate of a real number.
(T value, typename OnlyNumeric< T >::Type )
Converts any color image (rgb/indexed) to gray scale.
(QImage & img)
Converts any image to 32-bit rgb.
(QImage & img)
Copies all elements in the range [begin, end) to output.
(InputIterator begin, InputIterator end, OutputIterator output)
Copies the object pointed to by source to the memory location at target.
(QVariant::Type type, const void * source, void * target)
Copies n elements starting at begin to output.
(InputIterator begin, int n, OutputIterator output)
(T value, T sign)
Copies a variable number of arguments to a range of elements bounded by the iterators begin and end.
(Iterator begin, Iterator end, typename Pii::VaArg< typename std::iterator_traits< Iterator >::value_type >::Type first, ... )
Copies a variable argument list to a range of elements.
(Iterator begin, Iterator end, typename Pii::VaArg< typename std::iterator_traits< Iterator >::value_type >::Type first, va_list rest)
Get the number of ones in a binary number.
(unsigned int c, const unsigned char bits)
Get the number of 0-to-1 or 1-to-0 transitions in a binary number.
(unsigned int c, const unsigned char bits)
Calculates the covariance matrix for a set of measurements.
(const PiiMatrix< T > & mat, PiiMatrix< double > * mean)
(PiiMatrix< T > & matrix)
Calculates the cross product of two vectors m1 and m2.
(const PiiMatrix< T > & m1, const PiiMatrix< T > & m2)
Calculates two-dimensional cumulative sum of a matrix.
(const PiiRandomAccessMatrix & matrix, UnaryFunction func, CumulativeSumMode mode)
Decode string-encoded properties into a variant map.
(const QString & encodedProperties, QChar propertySeparator, QChar valueSeparator, QChar escape, PropertyDecodingFlags flags)
Convert an angle from degrees to radians.
(double deg)
Delete all members of a collection.
(Collection & c)
calculate the determinant of a matrix.
(const PiiMatrix< T > & mat)
Calculates determinant of 2x2 matrix with direct calculation.
(const PiiMatrix< T > & m)
Calculates determinant of 3x3 matrix with direct calculation.
(const PiiMatrix< T > & m)
Difference and approximate derivative.
(const PiiMatrix< T > & mat, int step, int order, MatrixDirection direction)
Divide the elements in m1 by the corresponding elements in m2.
(PiiConceptualMatrix< Matrix1 > & m1, const PiiConceptualMatrix< Matrix2 > & m2)
Divide the elements in m1 by the corresponding elements in m2.
(const PiiConceptualMatrix< Matrix1 > & m1, const PiiConceptualMatrix< Matrix2 > & m2)
Calculates the distance from abs(value) to the next real number larger in magnitude.
(Real value)
Compare two matrices.
(const PiiConceptualMatrix< Matrix1 > & mat1, const PiiConceptualMatrix< Matrix2 > & mat2)
Returns the value of the inverse normal cumulative distribution function (a.k.a the error function, erf) at p.
(double p)
Extend a matrix by adding new rows/columns to its sides.
(const PiiMatrix< T > & mat, int amount, ExtendMode mode, int sides)
Returns the factorial of n (n!).
(T n)
A very fast approximation to four-quadrant arctan.
(float y, float x)
Returns the median of all elements in data.
(Iterator data, int len)
Fast 2-D moving average.
(const PiiMatrix< T > & cumulativeSum, int windowRows, int windowColumns)
Fetch a list of files matching a wildcard.
(const QString & pattern, QDir::Filters filters, QDir::SortFlags sort)
Sets all values in the range [begin, end) to value.
(Iterator begin, Iterator end, typename std::iterator_traits< Iterator >::value_type value)
Sets all values in the range [begin, end) for which predicate returns a non-zero value to value.
(Iterator begin, Iterator end, UnaryPredicate predicate, typename std::iterator_traits< Iterator >::value_type value)
Sets all values in the range [begin, begin + b) to value.
(Iterator begin, int n, typename std::iterator_traits< Iterator >::value_type value)
Find the row and column coordinates of all elements in mat that match predicate.
(const PiiMatrix< T > & mat, UnaryPredicate predicate, int cnt)
Find all parent objects of obj up to maxParents parent objects.
(const QObject * obj, unsigned int maxParents)
Find the object that is the closest common ancestor of obj1 and obj2 in the object hierarchy.
(const QObject * obj1, const QObject * obj2, int * parentIndex)
Find the first occurrence of an element that matches Rule.
(const PiiMatrix< T > & matrix, T value, int & r, int & c)
Find the first parent of obj whose type matches T.
(const QObject * obj)
Find the last occurrence (bottom to top, right to left) of value in matrix.
(const PiiMatrix< T > & matrix, T value, int & r, int & c)
Find cnt largest values in mat.
(const PiiMatrix< T > & mat, int cnt)
Find cnt smallest values in mat.
(const PiiMatrix< T > & mat, int cnt)
Recursively connects neighbors given as a list of pairs.
(QLinkedList< QPair< int, int > > & pairs)
Returns the index of the first occurrence of separator in str, starting at startIndex.
(const QString & str, QChar separator, int startIndex, QChar escape)
Find a special value such as maximum or minimum in the range specified by begin and end.
(InputIterator begin, InputIterator end, BinaryPredicate op, UnaryFunction f)
Find the index of the first bit set to one.
(T c)
Fit a polynomial curve to data.
(unsigned int order, const PiiMatrix< double > & x, const PiiMatrix< double > & y)
Flip matrix in place either horizontally, vertically or both.
(PiiMatrix< T > & matrix, Pii::MatrixDirections directions)
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. This function doesn't modify the source matrix, but returns a copy.
(const PiiMatrix< T > & mat, Pii::MatrixDirections directions)
Returns the sign bit of value1 - value2.
(double value1, float value2)
Applies func to each element in the range [begin, end).
(InputIterator begin, InputIterator end, UnaryFunction func)
Applies func to each element in the range [begin, end) for which predicate returns a non-zero value.
(InputIterator begin, InputIterator end, UnaryPredicate predicate, UnaryFunction func)
A Gaussian function.
(T x, double mu, double sigma)
Find the greatest common divisor (gcd) for the given two numbers using Euclid's algorithm.
(T number1, T number2)
Sets all values in the range [begin, end) to the value returned by generator.
(Iterator begin, Iterator end, Generator generator)
Sets all values in the range [begin, begin + n) to the value returned by generatore.
(Iterator begin, int n, Generator generator)
Returns a color table with shades of gray from zero to 255.
Calculate the Hamming distance between two binary numbers.
(unsigned int a, unsigned int b, const unsigned char bits)
Generates an elementary reflector (a.k.a the Householder transformation).
(Iterator x, int n, typename std::iterator_traits< Iterator >::value_type * tau, typename std::iterator_traits< Iterator >::value_type * beta)
Calculates the hypotenuse given two orthogonal sides of a triangle.
(T a, T b)
Returns the imaginary part of a real number, i.e.
(T , typename OnlyNumeric< T >::Type )
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
(const PiiVector< T, D > & v1, const PiiVector< T, D > & v2)
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. Returns the inner product of two n-dimensional vectors.
(InputIterator1 begin1, int n, InputIterator2 begin2, T initialValue)
Classical insertion sort.
(T * data, int size)
Find the intersection of two lists.
(const Collection & list1, const Collection & list2)
Invert a matrix.
(const PiiMatrix< T > & mat)
Tests if a matrix is antisymmetric.
(const PiiMatrix< T > & mat)
Test if a matrix is diagonal.
(const PiiMatrix< T > & mat)
Returns true if f equals Inf.
(T f)
Returns true if f is NaN.
(T f)
Tests whether the given real matrix is "orthogonal-like".
(const PiiMatrix< T > & mat, const T & tolerance)
Returns true if parent is a parent of child.
(const QObject * parent, const QObject * child)
Test if a matrix is singular.
(const PiiMatrix< T > & mat)
Tests whether the given matrix is square matrix.
(const PiiMatrix< T > & mat)
Test if a matrix is symmetric about the diagonal.
(const PiiMatrix< T > & mat)
Find the union of two lists.
(const Collection & list1, const Collection & list2)
Returns the k:th smallest element from array.
(T * data, int size, int k)
Find the index of the last bit set to one.
(T c)
Converts a collection to a row matrix.
(const Collection & lst, Pii::MatrixDirection direction)
Convert a QList to a QVariantList that contains the same values as QVariant objects.
(const QList< T > & lst)
Applies a unary function func to all elements in the range [begin, end), and stores the result in place.
(Iterator begin, Iterator end, UnaryFunction func)
Applies a unary function func to all elements in the range [begin, end) for which predicate returns a non-zero value.
(Iterator begin, Iterator end, UnaryPredicate predicate, UnaryFunction func)
Applies the unary function func to all elements of matrix.
(PiiConceptualMatrix< Matrix > & matrix, UnaryFunction func)
Applies the unary function func to all elements of matrix that match the given predicate.
(PiiConceptualMatrix< Matrix > & matrix, UnaryPredicate predicate, UnaryFunction func)
Applies a binary function func to all elements in the range [begin1, begin1 + n), and stores the result in place.
(Iterator1 begin1, int n, Iterator2 begin2, BinaryFunction func)
Applies the unary function func to all elements of matrix.
(PiiConceptualMatrix< Matrix > & matrix, UnaryFunction func)
Applies the unary function func to all elements of matrix that match the given predicate.
(const PiiConceptualMatrix< Matrix > & matrix, UnaryPredicate predicate, UnaryFunction func)
Match a list of crontab-like strings against the given time stamp.
(QStringList list, QDateTime timeStamp)
Parse a string that describes a matrix in Matlab syntax.
(const QString & str)
Print out a matrix in a matlab-friendly format.
(Stream & out, const PiiConceptualMatrix< Matrix, RandomAccessMatrix > & mat)
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. This specialization just returns mat.
(const PiiMatrix< T > & mat)
Calculates the maximum among all elements in the specified direction.
(const PiiMatrix< T > & mat, MatrixDirection direction)
Like maxAll(), but finds the maximum absolute value.
(const PiiMatrix< T > & mat, int * r, int * c)
Shorthand for maxAll(collection.begin(), collection.end()).
(const Collection & collection)
Calculates the mean of matrix elements in the specified direction.
(const PiiRandomAccessMatrix & mat, MatrixDirection direction)
Calculates the mean of all entries in a matrix.
(const PiiConceptualMatrix< Matrix > & mat)
Returns the median of all elements in data.
(Iterator data, int len)
Median of 25 values optimized to the theoretical maximum efficiency.
(Iterator data)
Median of three values optimized to the theoretical maximum efficiency.
(Iterator data)
Median of five values optimized to the theoretical maximum efficiency.
(Iterator data)
Median of seven values optimized to the theoretical maximum efficiency.
(Iterator data)
Median of nine values optimized to the theoretical maximum efficiency.
(Iterator data)
Returns the median of all elements in mat.
(const PiiMatrix< T > & mat)
Calculates the minimum among all elements in the specified direction.
(const PiiMatrix< T > & mat, MatrixDirection direction)
Calculates the minimum of all elements in a matrix.
(const PiiMatrix< T > & mat, int * r, int * c)
Find the maximum and maximum of all elements in a matrix.
(const PiiMatrix< T > & mat, T * minimum, T * maximum, int * minR, int * minC, int * maxR, int * maxC)
Returns the "modulus" of a floating point number.
(T d1, T d2, typename OnlyFloatingPoint< T >::Type )
Calculates the moving average of a sequence bounded by begin and end.
(Iterator begin, Iterator end, int width)
Multiplies the elements in m1 and m2.
(const PiiConceptualMatrix< Matrix1 > & m1, const PiiConceptualMatrix< Matrix2 > & m2)
Multiply the elements in m1 by the corresponding elements in m2.
(PiiConceptualMatrix< Matrix1 > & m1, const PiiConceptualMatrix< Matrix2 > & m2)
Normalizes vectors in a matrix.
(PiiRandomAccessMatrix & mat, MatrixDirection direction)
Normalizes vectors in a matrix.
(const PiiRandomAccessMatrix & mat, MatrixDirection direction)
Returns a random number from a distribution that follows N(0,1) (zero mean, unit variance Gaussian distribution).
Returns a rows x columns matrix filled with normally distributed random numbers.
(int rows, int columns)
Write a QString to an std output stream.
(std::ostream & out, const QString & str)
Converts comma-separated type names to a list of type IDs.
(const QByteArray & types)
Returns array which is arranged so that; there exist index k which value is restricted to 0 <= k < size.
(T * data, int size, int pivot)
Decorrelates a possibly correlated set of data.
(const PiiRandomAccessMatrix & X)
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
(int n, UnaryFunction func, Storage storage)
PII_DECLARE_EXPORTED_FUNCTION_TEMPLATE
(void , setProperties< QSettings > , (QObject &obj, const QStringList &properties, const QSettings &valueMap, Qt::CaseSensitivity sensitivity, const QString &commentMark) , PII_BUILDING_CORE )
Returns a matrix whose elements are absolute values of mat squared.
(abs2 , Abs2 )
Raise value to an integer power (n).
(T value, int n, typename OnlyNumeric< T >::Type )
Returns the PCA base vectors for a data set in X.
(const PiiRandomAccessMatrix & X, PiiMatrix< typename Matrix::value_type > * S)
Print matrix in a user-defined format.
(Stream & out, const PiiConceptualMatrix< Matrix, RandomAccessMatrix > & mat, const ColSeparator & columnSeparator, const RowSeparator & rowSeparator)
Fetch the properties of a QObject as a map of name-value pairs.
(const QObject & obj, int propertyOffset, PropertyFlags flags)
Returns the properties of obj as a list.
(const QObject & obj, int propertyOffset, PropertyFlags flags)
Finds the name of a property in obj that matches name in a case-insensitive manner.
(const QObject & obj, const QString & name)
Returns the Moore-Penrose pseudoinverse of an m-by-n matrix.
(const PiiRandomAccessMatrix & A)
(MatrixDirections , MatrixDirection )
(MatrixDirection MatrixDirections)
Hash function for null-terminated C strings.
(const char * key)
QR decomposition.
(PiiRandomAccessMatrix & A, PiiMatrix< typename Matrix::value_type > & tau)
Unpacks the result of QR decomposition.
(PiiMatrix< Real > & A, const Real * tau, PiiMatrix< Real > & T, PiiMatrix< Real > & gram)
Convert an angle from radians to degrees.
(double rad)
Set random elements from range specified by parameters lowerBound and upperBound to matrix.
(PiiMatrix< T > & mat, const T & lowerBound, const T & upperBound)
Estimates the number of linearly independent rows or columns of a matrix.
(const PiiRandomAccessMatrix & mat, typename Matrix::value_type tolerance)
Returns the real part of a complex number.
(const std::complex< T > & value)
Applies a reflection transform to a rectangular matrix from the left.
(PiiConceptualMatrix< Matrix, Pii::RandomAccessMatrix > & A, InputIterator v, typename Matrix::value_type tau, typename Matrix::value_type * bfr)
Applies a reflection transform to a rectangular matrix from the right.
(PiiConceptualMatrix< Matrix, Pii::RandomAccessMatrix > & A, InputIterator v, typename Matrix::value_type tau)
Replaces variables in string and returns a new string.
(const QString & string, const VariableMap & variables)
Replicate a matrix vertical times vertically and horizontal times horizontally.
(const PiiMatrix< T > & matrix, int vertical, int horizontal)
(unsigned short c, const unsigned char n)
(unsigned int c, const unsigned char n)
Rotate a binary code right by n positions.
(unsigned int c, const unsigned char n, const unsigned char bits)
(unsigned int c, const unsigned char n)
(mat , 0 , 1 )
Rotate a binary number to its minimum value.
(unsigned int n, const unsigned char bits)
Rounds a double argument to the closest integer.
(double value)
Get a row from a matrix as a collection (QList, QVector)
(const PiiMatrix< T > & matrix, int row)
Returns a numerical score for the goodness of a parameter set given a list of expected types.
(const QVariantList & params, const QList< int > & types)
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. Randomly selects n distinct integers in [0, max-1] and stores them to indices.
(QVector< int > & indices, int n, int max)
Assigns sequentially increasing values to the range [begin, end).
(Iterator begin, Iterator end, typename std::iterator_traits< Iterator >::value_type initialValue)
Assigns sequentially increasing values to the range [begin, end + n).
(Iterator begin, int n, typename std::iterator_traits< Iterator >::value_type initialValue)
Sets diagonal entries in matrix to the values read from vector.
(PiiRandomAccessMatrix & matrix, Iterator vector)
Sets diagonal entries in matrix to ones and other entries to zero.
(PiiRandomAccessMatrix & matrix)
Sets many properties in a bunch.
(QObject & obj, const QVariantMap & lstProperties)
(QObject & obj, const QList< QPair< QString, QVariant > > & lstProperties)
(T value, PiiMatrix< T > & img, double dr, double dc)
Randomize the order of elements in a collection.
(Collection & lst)
Randomize the order of elements in a sequence.
(Iterator begin, PII_DIFF_TYPE n)
Returns the sign of value.
(T value, typename OnlyNumeric< T >::Type )
Returns the sign bit of value1 - value2.
(T value1, T value2)
Sort matrix rows.
(const PiiMatrix< T > & matrix, int column)
Sort matrix rows into ascending order based on the value on the specified column.
(PiiMatrix< T > & matrix, LessThan lessThan, int column)
Splits a string in which each part may be quoted.
(const QString & str, QChar separator, QChar quote, QString::SplitBehavior behavior)
Returns the square root of value.
(T value, typename OnlyNumeric< T >::Type )
Returns the value * value.
(T value, typename OnlyNumericOrComplex< T >::Type )
Calculates the standard deviation over all elements in a matrix.
(const PiiMatrix< T > & mat, U * mean)
Convert a string to any type.
(const QString & number, bool * ok)
(const QString & number, bool * ok)
(const QString & number, bool * ok)
(const QString & number, bool * ok)
(const QString & number, bool * ok)
(const QString & number, bool * ok)
(const QString & number, bool * ok)
(const QString & number, bool * ok)
(const QString & number, bool * ok)
stringTo< unsigned long long >
(const QString & number, bool * ok)
(const QString & number, bool * ok)
Create a list that consists of the elements of list1 that are not present in list2.
(const Collection & list1, const Collection & list2)
Subtracts sample mean from a data set.
(PiiRandomAccessMatrix & matrix, Pii::MatrixDirection direction)
Calculates the sum of matrix elements in the specified direction.
(const PiiRandomAccessMatrix & mat, MatrixDirection direction)
Calculates the sum of all entries in a matrix.
(const PiiConceptualMatrix< Matrix > & mat)
(Iterator1 begin1, Iterator1 end1, Iterator2 begin2)
(Iterator1 begin1, int n, Iterator2 begin2)
Converts a string into a number.
(const QString & number, bool * ok)
Applies a binary function func to all elements in the range [begin1, end1), using the corresponding element in the range starting at begin2 as the second argument to the function.
(InputIterator1 begin1, InputIterator1 end1, InputIterator2 begin2, OutputIterator output, BinaryFunction func)
Performs func on each column of the given matrix.
(PiiConceptualMatrix< Matrix, RandomAccessMatrix > & matrix, InputIterator input, BinaryFunction func)
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. Returns a new matrix.
(const PiiRandomAccessMatrix & matrix, InputIterator input, BinaryFunction func)
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. Returns a new matrix.
(const PiiConceptualMatrix< Matrix, RandomAccessMatrix > & matrix, InputIterator input, BinaryFunction func)
Applies a unary function func to all elements in the range [begin, begin + n), and stores the returned value to output.
(InputIterator begin, int n, OutputIterator output, UnaryFunction func)
Performs func on each row of the given matrix.
(PiiConceptualMatrix< Matrix, RandomAccessMatrix > & matrix, InputIterator input, BinaryFunction func)
Returns a rows x columns matrix filled with uniformly distributed random numbers in [0,1].
(int rows, int columns)
Unpacks a matrix in which a series of elementary reflections are represented as row or column vectors.
(MatrixDirection direction, const PiiConceptualMatrix< Matrix, RandomAccessMatrix > & V, const typename Matrix::value_type * tau, PiiMatrix< typename Matrix::value_type > & T, PiiMatrix< typename Matrix::value_type > & gram, int diagonal)
Sample a matrix (typically an image) at continuous positions.
(const PiiMatrix< T > & img, double dr, double dc)
Calculates the variance of matrix elements in the specified direction.
(const PiiMatrix< T > & mat, MatrixDirection direction)
Calculates the variance over all elements in a matrix.
(const PiiMatrix< T > & mat, U * mean)
Converts a list of QVariant objects into a QList of type T.
(const QVariantList & variants)
Convert a list of QVariant objects into a QVector of type T.
(const QVariantList & variants)
Convert a QVector to a QVariantList that contains the same values as QVariant objects.
(const QVector< T > & lst)
Calculates the sum of neighbors in a sequence bounded by begin and end.
(Iterator begin, Iterator end, int width, UnaryFunction function)
Other classes
A matrix that models the matrix concept by using a binary function that operates on two other matrices.
A superclass for classes that implement the matrix concept.
A model of the matrix concept that accesses selected elements of another matrix.
A two-dimensional array that models the matrix concept.
A structure that stores a value and its location in a matrix.
Represents a rotation parallel to a plane spanned by two coordinates axes.
A matrix that provides a mutable reference to a PiiMatrix.
Transposed matrix.
A two-dimensional dynamic array of non-typed data.
A matrix that models the matrix concept by applying a unary function to another matrix.
Returns "application/x-www-form-urlencoded".
Other classes
Default implementation of the PiiStreamFilter interface.
A generic socket descriptor that can be used with many native socket descriptor types.
A class that stores header information for multipart messages as defined in RFC 1341, 2045, and 2387.
An I/O device for HTTP/1.1 communication.
Thrown when a HTTP request handler cannot complete a request.
An implementation of the HTTP protocol.
A HTTP server.
A threaded server that runs an application layer protocol over a local socket.
Used to indicate error conditions in MIME headers.
A class that stores header information for multipart messages as defined in RFC 1341, 2045, and 2387.
A class that decodes MIME multipart messages.
An output filter that buffers data into itself until #flush() is called.
A generic client for network connections.
Used to indicate errors in network connections.
An interface for all network communication protocols.
An implementation of a threaded network server.
A worker thread that handles an incoming network connection.
A class that provides a client-side interface for a PiiQObjectServer.
An object that maps QObject's functions and properties into the URI space of a PiiHttpProtocol.
A wrapper class that works as a generic socket device.
An output filter that buffers data into itself until flushFilter() is called.
An interface for stream filters.
A threaded TCP server.
Operations
An operation that calculates the absolute value of any numeric or complex type or a matrix containing such types.
An operation that performs simple arithmetic like adding and subtracting values.
Calculate the average of all values in a matrix.
An operation that emits current time whenever a trigger is received or whenever a timer times out.
Compare two values and output a binary outcome.
An operation that prints all objects passing through it to the debug console.
Calculates the difference between two successive input objects.
Scans directory hierarchies finding files that match filters.
An operation for monitoring directories for new files.
On operation for generating running IDs.
An operation that calculates the logarithm of its input.
An operation that maps integers into arbitrary data.
An operation that applies a mathematical function to its input.
An operation that puts multiple matrices into a grid that produces a larger matrix.
Composes an output matrix from N inputs of primitive data types.
Decomposes input matrix so that each row element corresponds one output.
Flip a matrix vertically or horizontally.
Scale the values in a matrix so that its values are limited to a predefined range.
Calculates the minimum/maximum of two arguments, or the minimum/maximum value in a matrix.
Calculate the moving average over a window of a predefined size.
Emits a received objects as a Qt signal.
Counts received objects.
An operation that splits strings into pieces based on a regular expression.
An operation that generates sequences of numbers.
Converts strings to numbers.
An operation that composes formatted strings out of data read from a configurable number of inputs.
Convert (almost) any type to a string.
A source operation that can be triggered with Qt's signals.
An operation that converts the data type of a matrix.
A structure that stores all intrinsic camera parameters estimated by the calibration functions.
A structure that stores the extrinsic parameters related to a scene viewed.
Calculate the position of the camera reference frame with respect to the world coordinate system.
(const PiiMatrix< double > & worldPoints, const PiiMatrix< double > & imagePoints, const CameraParameters & intrinsic)
Calculate the relative position of camera2 with respect to camera1.
(const RelativePosition & camera1, const RelativePosition & camera2)
Calibrate a camera.
(const QList< PiiMatrix< double > > & worldPoints, const QList< PiiMatrix< double > > & imagePoints, CameraParameters & intrinsic, QList< RelativePosition > * extrinsic, CalibrationOptions options)
Transforms points from camera reference frame to pixel coordinates.
(const PiiMatrix< double > & points, const CameraParameters & intrinsic)
Transform points from camera reference frame to world coordinates.
(const PiiMatrix< double > & points, const RelativePosition & extrinsic)
Transforms a point from normalized image coordinates to pixel coordinates.
(const CameraParameters & intrinsic, double x, double y, double * newX, double * newY)
Perform perspective projection on points.
(const PiiMatrix< double > & points, double zValue)
(CalibrationOptions , CalibrationOption )
Convert a rotation matrix to a rotation vector.
(const PiiMatrix< double > & matrix)
Convert a rotation vector rotation to a rotation matrix.
(const PiiVector< double, 3 > & rotation)
Converts pixel coordinates to normalized image coordinates.
(const CameraParameters & intrinsic, double x, double y, double * newX, double * newY)
Removes lens distortions from sourceImage.
(const PiiMatrix< T > & sourceImage, const CameraParameters & intrinsic)
Creates a coordinate map that converts distorted pixel coordinates to undistorted ones.
(int rows, int columns, const CameraParameters & intrinsic)
Creates a coordinate map that converts distorted pixel coordinates to undistorted ones.
(int rows, int columns, const CameraParameters & intrinsic)
Transform points from world coordinate system to the camera reference frame.
(const PiiMatrix< double > & points, const RelativePosition & extrinsic)
Transform points from world coordinates to pixel coordinates.
(const PiiMatrix< double > & points, const RelativePosition & extrinsic, const CameraParameters & intrinsic)
Operations
Corrects lens distortion.
Other classes
A class that can be used to find calibration points in a set of unreliable detections.
A class that calculates 3D world coordinates for objects seen from 2 to N viewpoints.
A structure used for handling different Bayer encoding schemes with bayerToRgb().
<class, class, class, class, class, class, class, class, class, class, class, class>
Bayer decoding structure for BGGR color ordering.
<class T>
A Bayer decoding functor that extracts the blue channel only.
<class T>
An interpolation functor that always returns the value of the center of a neighborhood without interpolation.
<class T>
An interpolation functor that calculates the value of a color channel by averaging the four diagonal neighbors of a pixel.
<class T>
A Bayer decoding functor that directly converts the image to gray levels by averaging RGB channels.
<class T>
Bayer decoding structure for GRBG color ordering.
<class T>
A Bayer decoding functor that extracts the green channel only.
<class T>
An interpolation functor that calculates the value of a color channel by averaging the two horizontal neighbors of a pixel.
<class T>
An interpolation functor that does nothing.
A Bayer decoding functor that extracts the red channel only.
<class T>
Four-channel rgb color pixel type functor for Bayer decoding.
<class T>
Rgb color pixel type functor for Bayer decoding.
<class T>
Bayer decoding structure for RGGB color ordering.
<class T>
An interpolation functor that calculates the value of a color channel by averaging the four straight neighbors of a pixel.
<class T>
An interpolation functor that calculates the value of a color channel by averaging the two vertical neighbors of a pixel.
<class T>
Convert a Bayer-encoded color image to RGB colors.
(const PiiMatrix< T > & encoded, Decoder decoder, Pixel pixel)
A convenience function that decodes a GRBG-encoded 8-bit image into a 32-bit RGB color image.
(const PiiMatrix< unsigned char > & encoded)
A convenience function that decodes an RGGB-encoded 8-bit image into a 32-bit RGB color image.
(const PiiMatrix< unsigned char > & encoded)
Operations
PiiCameraOperation description.
An operation for reading frames from IEEE1394 cameras.
A camera interface that reads images from a network camera.
Other classes
A common interface for cameras that read images into a frame buffer.
An interface to IEEE-1394 cameras.
An implementation of the PiiCameraDriver interface for EureSys grabber boards.
Stores and restores captured frames to/from a sequence file.
A listener for PiiCameraDriver that writes received frames into a sequence file.
FeatureReader< PiiMatrix< T > >
A function object that reads an input socket and converts the incoming object to a PiiMatrix<T>, if possible.
Adapt a code vector towards sample with the given strength alpha.
(FeatureIterator code, ConstFeatureIterator sample, int length, double alpha)
Generate a distance matrix.
(const SampleSet & samples, const DistanceMeasure & measure, bool symmetric, bool calculateDiagonal)
Calculates classification error.
(const QVector< double > & knownLabels, const QVector< double > & hypothesis, const QVector< double > & weights)
Counts the number of distinct labels in labels.
(const QVector< double > & labels)
Counts the number of distinct integer labels in labels.
(const QVector< double > & labels)
Create a confusion matrix.
(const QVector< double > & knownLabels, const QVector< double > & hypothesis)
Creates a non-linearly separable binary sample set so that the samples in class one are surrounded by those in the other one.
(int samples1, int samples2, PiiMatrix< double > & samples, QVector< double > & labels)
Creates a non-linearly separable sample set in which two classes spiral around each other on a plane.
(int samplesPerSet, double rounds, PiiMatrix< double > & samples, QVector< double > & labels)
Create a random sample set.
(int samples, int features, double minimum, double maximum)
Go through the row matrix labels and replace each -1 with the label of the closest code vector in codeBook.
(const PiiMatrix< int > & labels, const PiiMatrix< T > & codeBook, DistanceMeasure measure)
Find the closest match for sample in modelSet.
(typename PiiSampleSet::Traits< SampleSet >::ConstFeatureIterator sample, const SampleSet & modelSet, const DistanceMeasure & measure, double * distance)
Find the n closest matches for sample in modelSet.
(typename PiiSampleSet::Traits< SampleSet >::ConstFeatureIterator sample, const SampleSet & modelSet, const DistanceMeasure & measure, int n)
K-means clustering algorithm.
(const SampleSet & samples, unsigned int k, const DistanceMeasure & measure, unsigned int maxIterations)
Classify a sample using the k nearest neighbors rule.
(typename PiiSampleSet::Traits< SampleSet >::ConstFeatureIterator sample, const SampleSet & modelSet, const QVector< double > & labels, const DistanceMeasure & measure, int k, double * distance, int * closestIndex)
(LearnerCapabilities , LearnerCapability )
(LearnerCapabilities )
Calculate the squared distance between two nodes in a SOM with a hexagonal topology.
(int bx, int by, int tx, int ty)
Calculate the squared distance between two nodes in a SOM with a square topology.
(int bx, int by, int tx, int ty)
Defines the traits of any PiiMatrix when used as a sample set.
Adds sample to the and of a sample set.
(PiiMatrix< T > & samples, const T * sample)
Returns the number of samples a sample set can hold without reallocation.
(const PiiMatrix< T > & samples)
Clears a sample set.
(PiiMatrix< T > & samples)
Creates a new sample set with sampleCount samples and featureCount features.
(int sampleCount, int featureCount)
Returns true if set1 is equal to set2, and false otherwise.
(PiiMatrix< T > & set1, PiiMatrix< T > & set2)
Returns the number of features in a sample set.
(const PiiMatrix< T > & samples)
Removes the sample at index.
(PiiMatrix< T > & samples, int index)
Reserves space for sampleCount samples with featureCount features.
(PiiMatrix< T > & samples, int sampleCount, int featureCount)
Resizes a sample set to hold sampleCount samples with featureCount features.
(PiiMatrix< T > & samples, int sampleCount, int featureCount)
Returns the number of samples in a sample set.
(const PiiMatrix< T > & samples)
Replaces the feature vector at index in samples with features.
(PiiMatrix< T > & samples, int index, const T * features)
Operations
An operation that classifies samples using a boosted cascade of weak classifiers.
A superclass for classifier operations.
An operation that maps indices into other indices.
An operation that maps class indices to arbitrary data.
An operation that builds a confusion matrix out of classification results.
An operation that divides incoming feature vectors by their sum.
Feature combiner is an operation that combines feature vectors into a larger compound feature vector.
An operation that classifies samples according to the k nearest neighbors rule.
An Ydin-compatible Perceptron classifier operation.
An operation that balances training sets by giving more weight to rare samples.
An operation that stores names of samples belonging to N different classes.
An Ydin-compatible SOM classifier operation.
PiiTableLabelerOperation can be used for classification where the classification rules are given in a table format.
A superclass for classifier operations that use classifiers derived from PiiVectorQuantizer.
Other classes
A template that implements the PiiDistanceMeasure interface by using Measure as the distance measure implementation.
An generic implementation of a boosted classifier.
PiiClassificationException is thrown when errors occur in classification.
An interface for classification and regression algorithms.
Confusion matrix is a handy tool for inspecting classification results.
A primitive learner that works by thresholding a single feature.
Default implementation of PiiBoostClassifier::Factory.
Gaussian kernel function.
K-dimensional tree.
An implementation of the Kernel Adatron algorithm.
An implementation of the Kernel Perceptron algorithm.
K nearest neighbors classifier.
An interface for learning algorithms.
A distance measure that combines many distance measures into one.
Implementation of the Perceptron algorithm.
A learning algorithm that just collects all incoming data into a sample set.
An implementation of the self-organizing map (Kohonen map).
A vector quantizer.
An adaptable binary function that performs gamma correction.
<class T>
An adaptable binary function that performs gamma correction on scaled image channels.
<class T>
An adaptable binary function that multiplies a color with a 3-by-3 matrix.
<class Clr>
An adaptable unary function that converts an HSV color to an RGB color.
<class Clr>
An adaptable binary function that converts an L*a*b* color to an XYZ color, given the white point of the imaging equipment in XYZ.
<class Clr>
A unary function for converting color distances to "likelihoods".
An adaptable unary function that inverses the order of color channels.
<class Clr>
An adaptable unary function that converts an RGB color to an HSV color.
<class Clr>
An adaptable binary function that converts a non-linear RGB color to Y709 luminance.
<class Clr>
An adaptable unary function for converting from non-linear RGB to Y'CbCr.
<class T>
An adaptable unary function for converting from non-linear RGB to Y'PbPr.
<class T>
An adaptable binary function that converts an XYZ color to an L*a*b* color, given the white point of the imaging equipment in XYZ.
<class Clr>
An adaptable unary function for converting from Y'CbCr to non-linear RGB.
<class T>
An adaptable unary function for converting from Y'PbPr to non-linear RGB.
<class T>
Calculate the autocorrelogram of an indexed color image.
(const PiiMatrix< int > & image, int maxDistance, int levels)
Apply gamma correction to a color channel.
(T value, double gamma, double maximum)
Convert all colors in an image with a generic conversion matrix.
(const PiiMatrix< Clr > & colorImage, const PiiMatrix< float > & conversionMatrix)
Convert a color in an HSV color space into an RGB color space.
(const Clr & hsvColor)
Convert a color in the CIE 1976 L*a*b* color space into the CIE XYZ color space.
(const Clr & labColor, const Clr & whitePoint)
Measure the distribution of colors in an image.
(const PiiMatrix< ColorType > & clrImage, PiiMatrix< double > & baseVectors, PiiMatrix< double > & center, int maxPixels)
Project colors into a new base and translate to a new center.
(const PiiMatrix< ColorType > & clrImage, const PiiMatrix< double > & baseVectors, const PiiMatrix< double > & center)
Convert an RGB color image to normalized RGB and separate two of the normalized color layers.
(const PiiMatrix< T > & image, PiiMatrix< typename T::Type > & ch1, PiiMatrix< typename T::Type > & ch2, float multiplier, int ch1Index, int ch2Index)
Reverse the order of color channels.
(const Clr & color)
Reverse the order of color channels in a color image.
(const PiiMatrix< Clr > & clrImage)
Convert an RGB color image into an HSV color image.
(const PiiMatrix< Clr > & rgbColorImage)
Convert a color image from a non-linear RGB color space to Y709 luminance.
(const PiiMatrix< Clr > & clrImage)
Convert a non-linear (gamma-adjusted) RGB color into Y'CbCr.
(const Clr & clr, double maximum)
Convert a non-linear (gamma-adjusted) RGB color into Y'PbPr.
(const Clr & clr)
Convert a color image into indexed colors.
(const PiiMatrix< ColorType > & clrImage, int redLevels, int greenLevels, int blueLevels)
Convert an XYZ color image into an L*a*b* color image.
(const PiiMatrix< Clr > & xyzColorImage, const Clr & whitePoint)
Convert a color image in a Y'CbCr space to non-linear RGB.
(const PiiMatrix< T > & image, double maximum)
Convert a color image in a Y'PbPr space to non-linear RGB.
(const PiiMatrix< T > & image)
Operations
Sets indidivual color channels in images.
An operation that splits color images into channels.
Convert color spaces.
Calculate the color autocorrelogram of an image.
An operation that converts a color image into an intensity map.
An operation that calculates percentiles from color histograms.
PiiImageConversionSwitch is an operation which convert a receiving image from the color/gray to the gray/color type if necessary.
An operation that converts images to normalized RGB.
Operations
An abstract superclass for operations that read/write databases.
PiiDatabaseReader description.
An operation that writes rows into SQL databases and flat files.
A structure that stores information about a peak detected by findPeaks().
Two-dimensional convolution of two matrices.
(const PiiMatrix< T > & a, const PiiMatrix< U > & b, FilterMode mode)
Two-dimensional correlation of two matrices.
(const PiiMatrix< T > & a, const PiiMatrix< U > & b, FilterMode mode)
Create an orthogonal wavelet filter set from the given scaling filter.
(const PiiMatrix< T > & filter)
Get the indexth Daubechies scaling wavelet.
(int index)
Perform a dyadic downsampling on the input matrix.
(const PiiMatrix< T > & mat, Pii::MatrixDirections directions, int odd)
Performs a two-dimensional one-level discrete wavelet transform on the input matrix.
(const PiiMatrix< T > & mat, const PiiMatrix< T > & lo, const PiiMatrix< T > & hi)
Swap opposing halves or quadrands of a matrix.
(const PiiMatrix< T > & matrix, bool inverse)
Two-dimensional filter of two matrices.
(const PiiMatrix< T > & a, const PiiMatrix< U > & b, FilterMode mode)
Find peaks in noisy one-dimensional data.
(const PiiMatrix< double > & data, double levelThreshold, double sharpnessThreshold, int smoothWidth, int windowWidth)
Take the central part of a matrix.
(const PiiMatrix< T > & mat, int rows, int cols)
Normalized cross-correlation of two-dimensional signals.
(const PiiMatrix< T > & a, const PiiMatrix< U > & b, FilterMode mode)
Compute a quadrature mirror filter for a filter.
(const PiiMatrix< T > & filter, int odd)
Get the wavelet scaling filter for a certain mother wavelet.
(WaveletFamily wavelet, int member)
Operations
An operation that calculates the fast fourier transform for any matrix.
Detect peaks in noisy data.
Discrete wavelet decomposition in two dimensions.
Other classes
A class for performing forward and inverse FFT for 1D and 2D signals.
Operations
An operation that calculates the geometry of a defect area within a detection window.
An operation that calculates the maximum vertical and horizontal gradient in a gray-level image.
Extracts a configurable set of simple gray-level features from images.
Calculates simple features based on image geometry.
Operations
An operation that caches processing results.
A demultiplexer.
An operation that changes the flow level of data passed through it.
Limits object rate based on frequency.
Replicate or sample input objects.
An operation that replicates an object received in its data input.
A parallel-to-serial converter.
An operation that passes objects conditionally depending on a trigger input.
Calculate the shortest distance between two 3D lines.
(const PiiMatrix< T > & first, const PiiMatrix< T > & second)
Point distance from a line segment.
(const PiiMatrix< T > & line, const PiiMatrix< T > & point)
Douglas-Peucker recursive polyline simplification algorithm.
(const PiiMatrix< T > & vertices, double tolerance, int start, int end, PiiMatrix< T > & result)
<class ThresholdFunc>
A region-of-interest function object that returns true if the alpha channel has a non-zero value at (r,c) and false otherwise.
<class T>
<class Clr>
CutFunction compares value to a threshold and outputs either value or threshold based on the comparison result.
<class T, class U>
A class that collects object labels as the labelImage() function processes the input image.
Default region-of-interest function object for feature extraction and image analysis methods that support ROI processing.
A Default struct which is used in line sweeper.
<class ResultType, class ImageType>
DropFunction compares value to a threshold and outputs either value - threshold or 0 based on the comparison result.
<class T, class U>
Traits for floating-point images.
<class T>
<class T>
Traits for integer-valued images.
<class T>
InverseCutFunction compares value to a threshold and outputs either value or threshold based on the comparison result.
<class T, class U>
InverseThresholdFunction compares two values and outputs either 0 or 1 based on the comparison result.
<class T, class U>
InverseTwoLevelThresholdFunction
InverseTwoLevelThresholdFunction works analogously to TwoLevelThresholdFunction, but inverses the result.
<class T, class U>
A function that calculates a local threshold t as , where r stands for relativeThreshold.
<class BinaryFunction, class UnaryFunction>
An object size limiter for labelImage().
A unary function that converts radians to points of the compass.
<class T>
A function that calculates a local threshold t as , where r stands for relativeThreshold and for the maximum possible standard deviation.
<class BinaryFunction, class UnaryFunction>
A Functional that collects points which intensity is higher then given threshold.
<class ResultType, class ImageType>
ThresholdFunction compares two values and outputs either 0 or 1 based on the comparison result.
<class, class>
<class T>
The Traits structure specifies default properties of different image types.
<class T>
TwoLevelThresholdFunction compares its input argument to two thresholds and returns one if the argument is in between them (inclusive).
<class T, class U>
ZeroAboveFunction works analogously to ZeroBelowFunction, but outputs zero for values that are above or equal to the threshold.
<class T, class U>
ZeroBelowFunction compares value to a threshold and outputs either value or 0 based on the comparison result.
<class T, class U>
Threshold an image adaptively.
(const PiiRandomAccessMatrix & image, BinaryFunction func, float relativeThreshold, float absoluteThreshold, int windowRows, int windowColumns)
(const ThresholdFunc & func, float relativeThreshold, float absoluteThreshold)
Returns the alpha channel of image as a boolean mask.
(const PiiMatrix< PiiColor4< T > > & image)
Two-dimensional histogram backprojection.
(const PiiMatrix< T > & ch1, const PiiMatrix< T > & ch2, const PiiMatrix< U > & histogram)
Extract the border of binary objects.
(const PiiMatrix< T > & image)
Bottom-hat transform.
(const PiiMatrix< T > & image, const PiiMatrix< U > & mask)
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. This function takes a decision function as a parameter.
(const PiiMatrix< T > & mat, UnaryFunction decisionRule, double * length, double * width, int * pixels)
Calculate areas, centroids and bounding boxes for labeled objects.
(const PiiMatrix< T > & mat, int labels, PiiMatrix< int > & areas, PiiMatrix< int > & centroids, PiiMatrix< int > & bbox)
Morphological closing.
(const PiiMatrix< T > & image, const PiiMatrix< U > & mask)
(const PiiRandomAccessMatrix & image, UnaryFunction decisionRule)
Extract a channel from a color image.
(const PiiMatrix< ColorType > & image, int channel)
Create a morphological mask.
(MaskType type, int rows, int columns)
Creates a binary ROI mask out of a set of rectangular regions.
(int rows, int columns, const PiiMatrix< int > & rectangles)
Creates a transform that rotates a coordinate system theta radians around its origin.
(float theta)
Creates a transform that scales a coordinate system by scaleX horizontally and by scaleY vertically.
(float scaleX, float scaleY)
Creates a transform that shears a coordinate system by shearX horizontally and by shearY vertically.
(float shearX, float shearY)
Creates a transform that translates a coordinate system by x horizontally and by y vertically.
(float x, float y)
Crop a rectangular area out of a transformed image, in which the target may not appear as a rectangular object.
(const PiiMatrix< T > & image, int x, int y, int width, int height, const PiiMatrix< float > & transform)
Calculate the cumulative frequency distribution of the given frequency distribution (histogram).
(const PiiMatrix< T > & histogram)
Cut gray levels.
(const PiiMatrix< T > & image, T threshold)
Detect edges in a gray-level image.
(const PiiMatrix< T > & image, int smoothWidth, T lowThreshold, T highThreshold)
Detects corners in image using the FAST corner detector.
(const PiiMatrix< T > & image, T threshold)
Dilation.
(const PiiMatrix< T > & image, const PiiMatrix< U > & mask)
Histogram equalization.
(const PiiMatrix< T > & img, unsigned int levels)
Perform a morphological erosion operation on a image.
(const PiiMatrix< T > & image, const PiiMatrix< U > & mask, bool handleBorders)
Filter an image with the given filter.
(const PiiMatrix< T > & image, const PiiMatrix< U > & filter, Pii::ExtendMode mode)
Calculate gradient angle from gradient magnitude components.
(const PiiMatrix< T > & gradX, const PiiMatrix< T > & gradY)
Calculate total gradient magnitude from gradient magnitude components.
(const PiiMatrix< T > & gradX, const PiiMatrix< T > & gradY, bool fast)
(PiiInputSocket * input, RoiType roiType, const PiiMatrix< T > & image, Processor & process)
Calculate the histogram of a one-channel image.
(const PiiMatrix< U > & image, const Roi & roi, const PiiQuantizer< U > & quantizer)
Hit-and-miss transform.
(const PiiMatrix< T > & image, const PiiMatrix< U > & mask, const PiiMatrix< U > & significance)
Perform hysteresis thresholding on image.
(const PiiMatrix< T > & image, T lowThreshold, T highThreshold, Connectivity connectivity)
Filters an integer image by a double-valued filter.
(const PiiMatrix< int > & image, const PiiMatrix< double > & doubleFilter, Pii::ExtendMode mode, double scale)
Inversely cut gray levels.
(const PiiMatrix< T > & image, T threshold)
Inverse hysteresis thresholding.
(const PiiMatrix< T > & image, T lowThreshold, T highThreshold, Connectivity connectivity)
Threshold and invert an image.
(const PiiMatrix< T > & image, T threshold)
Label image using 4-connectivity.
(const PiiConceptualMatrix< Matrix, Pii::RandomAccessMatrix > & mat, UnaryOp rule, Limiter limiter, int * labelCount)
Label all 4-connected objects whose size (in pixels) is larger than sizeLimit.
(const PiiConceptualMatrix< Matrix, Pii::RandomAccessMatrix > & mat, int sizeLimit, int * labelCount)
Create an image filter.
(PrebuiltFilterType type, unsigned int size)
Create a size-by-size Gaussian low-pass filter.
(unsigned int size)
Create a size-by-size Laplacian-of-Gaussian filter.
(unsigned int size)
Filters an image with a median filter.
(const PiiMatrix< T > & image, int filterRows, int filterColumns, Pii::ExtendMode mode)
Perform a morphological operation on an image.
(const PiiMatrix< T > & image, const PiiMatrix< U > & mask, MorphologyOperation type, bool handleBorders)
Normalize the given histogram so that its elements sum up to one.
(const PiiMatrix< U > & histogram)
Morphological opening.
(const PiiMatrix< T > & image, const PiiMatrix< U > & mask)
The Otsu method is used in automatically selecting an optimal threshold.
(const PiiMatrix< T > & histogram)
Returns true if any two of the given rectangles overlap each other and false otherwise.
(const PiiMatrix< int > & rectangles)
Find the index of the first entry in a cumulative frequency distribution that exceeds or equals to the given value.
(const PiiMatrix< T > & cumulative, T value)
PII_DECLARE_EXPORTED_FUNCTION_TEMPLATE
Create a morphological mask.
(PiiMatrix< unsigned char > , createMask< unsigned char > , (MaskType type, int rows, int columns) , PII_BUILDING_IMAGE )
Transforms image according to the given coordinate map.
(const PiiMatrix< T > & image, const PiiMatrix< PiiPoint< U > > & map)
Rotates image theta radians around its center.
(const PiiMatrix< T > & image, double theta, TransformedSize handling, T backgroundColor)
Scales image to a specified size.
(const PiiMatrix< T > & image, int rows, int columns, Pii::Interpolation interpolation)
Split a color image into channels.
(const PiiMatrix< ColorType > & image, PiiMatrix< typename ColorType::Type > * channelImages, int channels)
Decompose a two-dimensional filter into two one-dimensional filters.
(const PiiMatrix< T > & filter, PiiMatrix< T > & horizontalFilter, PiiMatrix< T > & verticalFilter)
Set a color channel.
(PiiMatrix< ColorType > & image, int channel, const PiiMatrix< typename ColorType::Type > & values)
Remove object borders.
(const PiiMatrix< T > & image, int amount)
A Line sweeper.
(const PiiMatrix< ImageType > & image, const PiiMatrix< double > & coordinates, SweepFunction function, int radius)
Thin binary objects towards a skeleton.
(const PiiMatrix< T > & image, int amount)
Threshold an image.
(const PiiMatrix< T > & image, T threshold)
(const PiiMatrix< unsigned char > & image)
An explicit specialization of the toFloat() function.
(const PiiMatrix< float > & image)
(const PiiMatrix< PiiColor4< T > > & image)
Top-hat transform.
(const PiiMatrix< T > & image, const PiiMatrix< U > & mask)
Converts any integer matrix to a boolean matrix.
(const PiiVariant & obj)
Applies an arbitrary geometric transform to image.
(const PiiMatrix< T > & image, const PiiMatrix< float > & transform, TransformedSize handling, T backgroundColor)
Transforms a 2D point using transform.
(const PiiMatrix< T > & transform, T sourceX, T sourceY, T * transformedX, T * transformedY)
Transforms 2D point coordinates using transform.
(const PiiMatrix< T > & transform, const PiiMatrix< U > & points)
Straighten an image that is wrapped around a cylinder.
(const PiiMatrix< T > & warpedImage, double focalLength, double center, double * cameraDistance, double * radius, double * sectorAngle, double * startAngle)
Zero values above or equal to threshold.
(const PiiMatrix< T > & image, T threshold)
Zero values below threshold.
(const PiiMatrix< T > & image, T threshold)
Operations
An operation that models static background of a scene with moving objects.
Extracts boundaries of connected objects in images.
Detects corners in gray-level images using the FAST corner detector.
Detect edges on images.
Operation cuts features from feature-vectors by using the first one as a reference.
Perform histogram back-projection.
Histogram equalizer.
An operation that calculates the histogram of a gray-scale or a color image.
An operation that draws graphics primitives on an image.
An operation that takes a piece of an image or any other matrix.
An operation for reading images from files.
An operation that writes images into files in standard image formats.
An operation that implements basic image filtering operations.
An operation that combines adjacent sub-images to larger compounds.
A base class for image sources.
Rotate images to arbitrary angles in two dimension.
Scale images to arbitrary sizes.
An operation for splitting images into pieces.
An operation that straightens cylindrically warped images.
Basic labeling operations.
An operation that creates binary mask images.
Basic binary morphology operations.
Calculates geometric properties for labeled objects.
Quantizes any numeric matrix to discrete levels.
A threshold operation with one threshold value.
Other classes
An algorithm that traverses object boundaries.
A class that generates two-dimensional cloud-like fractal pictures.
A class that quantizes (floating point) values to integers.
Operations
PiiIoOutputOperation description.
Other classes
The default implementation of the PiiIoChannel-interface for input/output channels.
The default implementation of the PiiIoDriver-interface for input/output drivers.
An interface for input/output channels.
An interface for input/output drivers.
I/O channel accessed through the MultiCam driver.
Operations
An abstract superclass for feature point matching operations.
A superclass for operations that use RANSAC for matching points.
An operation that matches a set of feature points to a database assuming that only in-plane affine transforms are possible.
An operation that calculates shape descriptors using the Shape Context technique.
Other classes
A generic algorithm that can be used to match objects to a model database using feature points.
Operations
An operation that receives objects through a network connection with the HTTP protol.
A base class for network input/output operations.
PiiNetworkOutputOperation description.
Allocates a new CvMat object with the given data type T.
(int rows, int columns)
Operations
Correlates a template against an image.
Other classes
A class that makes it possible to reuse the data in a PiiMatrix in an CvMat.
A class that makes it possible to reuse the data in a PiiMatrix in an IplImage.
An interface for functions that can be optimized.
<class T>
An interface for optimizable functions that are provided with gradient information.
<class T>
An interface for functions optimized with respect to residual values.
<class>
Solves the linear assignment problem.
(const PiiRandomAccessMatrix & cost, PiiMatrix< int > * solution, PiiMatrix< typename Matrix::value_type > * duals)
The Broyden-Fletcher-Goldfarb-Shanno (BFGS) method is a method to solve an unconstrained nonlinear optimization problem.
(const GradientFunction< double > * function, const PiiMatrix< double > & initialParams, double epsG, double epsF, double epsX, int maxIterations)
The Levenberg-Marquardt is a method of non-linear optimization.
(const ResidualFunction< double > * function, const PiiMatrix< double > & initialParams, int maxIterations, double ftol, double xtol, double gtol, double epsilon, double stepbound)
Operations
An operation that collects a histogram of any numeric data.
An operation that builds histograms out of correlated variables.
Operations
An operation that calculates the contrast in a local neighborhood in a gray-scale image.
The LBP texture feature.
An operation that estimates the orientation of texture.
Find repeating components in textures.
An operation that extracts texture features with discrete wavelet decomposition.
Other classes
An implementation of the Local Binary Patterns (LBP) texture operator.
An evaluation function that returns the average measurement fitness of trajectory.
(PiiCoordinateTrackerNode< T, D > * trajectory)
An evaluation function that returns the minimum fitness of trajectory and the next node in chain.
(PiiCoordinateTrackerNode< T, D > * trajectory)
Predict the location of a measurement at time instant t given a trajectory.
(PiiCoordinateTrackerNode< T, D > * trajectory, int t, int maxPredictionLength)
Other classes
A simple tracker that assumes movement has constant velocity.
PiiCoordinateTracker tracks points in Cartesian coordinates.
A trajectory node for PiiCoordinateTracker.
A tracker that follows trajectories in D dimensions.
The tracking algorithm uses a greedy breadth-first search algorithm to find the most likely measurement sequence, given a measurement model.
A utility class that can be used as the Trajectory type with PiiMultiHypothesisTracker.
A function object that randomly selects pixels whose gradient magnitude is higher than or equal to threshold.
A function object that selects pixels whose gradient magnitude is higher than or equal to threshold.
Circular Hough transform.
(const PiiMatrix< T > & gradientX, const PiiMatrix< T > & gradientY, Selector select, U radius, double angleError, GradientSign sign)
Find peaks in the Hough transform domain.
(PiiMatrix< int > & transformation, int cnt)
Linear Hough transform.
(const PiiMatrix< U > & img, UnaryOp rule, double angleResolution, double distanceResolution, int angleStart, int angleEnd, int distanceStart, int distanceEnd)
Convert the rescaled peak coordinates into points on the boundary of an image with the given number of rows and columns.
(double d, double theta, int rows, int columns)
Rescale the angle (column) coordinate in a Hough transform accumulator.
(int column, int angleStart, double angleResolution)
Rescale the distance (row) coordinate in a Hough transform accumulator.
(int row, int rows, int columns, double distanceResolution, double distanceStart)
Operations
Operation interface for Hough transform.
Operations
An operation for reading videos from files.
An operation that writes images into video files in standard video formats.
Other classes
An interface for reading videos with avcodec.
An interface for writing video files with avcodec.
A proxy through which calls to serialization member functions are passed.
This function is used to check if the real type of the class is known at compile time or not.
(const void * )
Default implementation of a serialization function.
(Archive & archive, T & value, const unsigned int version)
PiiSerializationTraits namespace
A type trait for checking the abstractness of a type.
<class T>
A type trait for checking the primitiveness of a type.
<class T>
Other classes
Default implementation of the generic input archive interface.
Common base class for all archive types.
A wrapper for serializing a base class.
PiiBinaryInputArchive reads raw binary data.
A serialization wrapper for binary data.
Binary output archive stores data in a raw binary format.
A polymorphic implementation of the archive interface.
A polymorphic implementation of the archive interface.
A base class for input archive implementations.
Meta objects store information specific to a certain data type.
A template that wraps a name and a value into a pair.
A base class for output archive implementations.
A serialization wrapper for user types in QVariants.
Thrown when an error occurs in (de)serializing data.
Serializer is an object that takes care of serializing objects.
A template class that is statically instantiated to add serializable classes to an archive's serializer registry.
TextInputArchive reads space-separated textual data.
Text output archive stores data in a space-separated textual format.
A class that is used by PiiOutputArchive to store tracked pointers while serializing them.
A template that is instantiated for all user types intended to be serialized as QVariants.
Operations
A bare bones implementation of the PiiOperation interface.
A functional implementation of the PiiOperation interface.
An execution engine.
A superclass for operations that can be run by Ydin.
PiiOperationCompound is a class that controls a set of operations.
Other classes
An abstract superclass for input sockets.
An abstract superclass for output sockets.
A superclass for socket interfaces.
An interface that provides different UI components a way of communicating with the controlling program.
The default flow controller handles inter-operation synchronization by grouping synchronous sockets and injecting special synchronization tags into the sockets.
Thrown when an operation cannot be started, or an error is detected during execution.
An interface for algorithms that synchronize object flow in sockets.
An interface for classes that receive objects from input sockets.
Default implementation of an input socket.
This class provides an interface for handling a data structure called a .
Thrown when the loading of a plug-in fails.
A flow controller that synchronizes a group of sockets with the same group ID.
A flow controller that does not handle synchronization between sibling sockets.
A class that makes it easier to write unit tests for operations.
An output socket.
An input socket that works without a controlling operation.
An input-output socket.
An interface for classes that connect resource instances together.
Socket is a connection point between operations.
A structure that stores information about a socket's state at run time.
Provides waiting/waking conditions between two threads.
No results found for struct_pii___binary_function.