@@ -215,11 +215,7 @@ int LscAlgorithm::init(const ValueNode &tuningData, ControlInfoMap::Map &control
impl_ = std::make_unique<LscTable>();
LOG(Lsc, Debug) << "Using table-based Lsc";
} else if (type == "polynomial") {
- /*
- * \todo: Most likely the reference frame should be native_size.
- * Let's wait how the internal discussions progress.
- */
- impl_ = std::make_unique<LscPolynomial>(descriptor.sensorSize);
+ impl_ = std::make_unique<LscPolynomial>();
polynomial_ = true;
LOG(Lsc, Debug) << "Using polynomial Lsc";
} else {
@@ -78,6 +78,9 @@ void Interpolator<lsc::Components>::
* \var LscDescriptor::sensorSize
* \brief The physical sensor size. This is the largest frame size used to
* generate the LSC table. Only used by the polynomial LSC algorithm
+ *
+ * \todo: Most likely the reference frame should be native_size.
+ * Let's wait how the internal discussions progress.
*/
/**
@@ -123,13 +123,6 @@ void Polynomial::setReferenceImageSize(const Size &size)
* \sa LscImplementation
*/
-/**
- * \fn LscPolynomial::LscPolynomial
- * \param[in] sensorSize The physical sensor size
- *
- * Construct an LscPolynomial
- */
-
/**
* \brief Parse polynomial LSC data
* \param[in] sets The tuning file content
@@ -57,11 +57,6 @@ private:
using PolynomialComponentsMap = std::map<unsigned int, PolynomialComponents>;
public:
- LscPolynomial(const Size &sensorSize)
- : sensorSize_(sensorSize)
- {
- }
-
int parseLscData(const ValueNode &sets,
const LscDescriptor &descriptor) override;
@@ -75,7 +70,6 @@ private:
Span<const double> yPositions,
const Rectangle &cropRectangle);
PolynomialComponentsMap lscData_;
- Size sensorSize_;
};
} /* namespace ipa */