Commit 0443fc70 authored by Laurent Claustre's avatar Laurent Claustre

Merge branch '2-double-flip-in-accumulation-mode' into 'master'

Resolve "Double flip in accumulation mode"

Closes #2

See merge request !59
parents 301effed f3612beb
Pipeline #6366 passed with stages
in 10 minutes and 26 seconds
......@@ -877,10 +877,12 @@ void CtControl::readOneImageBuffer(Data &aReturnData,long frameNumber,
m_ct_saving->_ReadImage(aReturnData,frameNumber);
} else {
m_ct_buffer->getFrame(aReturnData,frameNumber,readBlockLen);
// if the processing is not in place,
// the processed buffer is lost.
// need to re-do the internal processing
if(!m_hw->firstProcessingInPlace())
// if the processing is not in place, the processed buffer is lost.
// need to re-do the internal processing. Except for the accumulation
// mode: accumulated images are already processed
AcqMode acqMode;
m_ct_acq->getAcqMode(acqMode);
if(!m_hw->firstProcessingInPlace() && (acqMode != Accumulation))
{
TaskMgr mgr;
mgr.setInputData(aReturnData);
......
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