修补627f666提交没注意的曝光bug
This commit is contained in:
@ -218,7 +218,7 @@ double XimeaImager::autoExposure()
|
|||||||
m_imager.get_frame(m_buffer);
|
m_imager.get_frame(m_buffer);
|
||||||
m_imager.stop();
|
m_imager.stop();
|
||||||
|
|
||||||
maxValueOfOneFrame=getMaxValueOfOneFrame(m_buffer,m_imager.get_band_count()*m_imager.get_sample_count());
|
maxValueOfOneFrame=getMaxValueOfOneFrame((short unsigned int*)m_imager.m_image.bp,m_imager.get_band_count()*m_imager.get_sample_count());
|
||||||
|
|
||||||
if(maxValueOfOneFrame <= suitableMaxValue)
|
if(maxValueOfOneFrame <= suitableMaxValue)
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user