Add optional normalization for flatfield

parent 7eaeb1f6
......@@ -144,7 +144,7 @@ namespace lima
SoftOpFlatfieldCorrection();
virtual ~SoftOpFlatfieldCorrection();
void setFlatFieldImage(Data &aData);
void setFlatFieldImage(Data &aData,bool normalize = true);
protected:
virtual bool addTo(TaskMgr&,int stage);
......
......@@ -544,7 +544,7 @@ public:
SoftOpFlatfieldCorrection();
virtual ~SoftOpFlatfieldCorrection();
void setFlatFieldImage(Data &aData);
void setFlatFieldImage(Data &aData,bool normalize = true);
};
class SoftOpFlip
......
......@@ -135,9 +135,9 @@ SoftOpFlatfieldCorrection::~SoftOpFlatfieldCorrection()
m_opt->unref();
}
void SoftOpFlatfieldCorrection::setFlatFieldImage(Data &aData)
void SoftOpFlatfieldCorrection::setFlatFieldImage(Data &aData,bool normalize)
{
m_opt->setFlatFieldImageData(aData);
m_opt->setFlatFieldImageData(aData,normalize);
}
bool SoftOpFlatfieldCorrection::addTo(TaskMgr &aMgr,int stage)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment