The Fib multimedia system
Fib is a system for storing multimedia data (like images or films).
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
fib::algorithms::nCorrectFibObject::nCorrectPoints Namespace Reference

Functions

list< cFibElement * > replaceWrongPoints (const list< pair< cVectorPosition, list< cVectorProperty > > > &liPointWithPropertiesOrginal, cFibElement *pToCorrectFibObject, list< doubleFib > liDistancesCountedWrong)

Function Documentation

list<cFibElement *> fib::algorithms::nCorrectFibObject::nCorrectPoints::replaceWrongPoints ( const list< pair< cVectorPosition, list< cVectorProperty > > > &  liPointWithPropertiesOrginal,
cFibElement pToCorrectFibObject,
list< doubleFib liDistancesCountedWrong 
)

This function corrects the wron points in pToCorrectFibObject and returns corrected fib -objects. For every entry in this list liDistancesCountedWrong a corrected fib -object is given back. Every point in the evalued pToCorrectFibObject, wich properties have a greater distance as the n'th entry, in the sorted and uniqe liDistancesCountedWrong, will be included in the n'th returned fib -object. This function will ignore points, wich are background point in both the given list liPointWithPropertiesOrginal and fib -object pToCorrectFibObject.

Parameters:
liPointWithPropertiesOrginala list with points and ther properties, wich are correct
pToCorrectFibObjectthe fib -object to correct
liDistancesCountedWrongthe list of distances of properties, till which a point is not wrong; for every entry in this list a corrected fib -object is given back; every point in the evalued pToCorrectFibObject, wich properties have a greater distance as the n'th entry, in the sorted and uniqe liDistancesCountedWrong, will be included in the n'th returned fib -object
Returns:
a list with the corrected fib -objects; the first element of the returned list is the changed pToCorrectFibObject