AnsweredAssumed Answered

IIM bloc problem

Question asked by jihen on Oct 5, 2012
Latest reply on Oct 16, 2012 by Prashant

Hi ,

 

I am trying to use The IIM1 bloc to compute summered area of a binary image.

 

I used the Summed Area Table (SAT) Mode.

 

The output of the IIM must be in 32 bits. The low byte (low byte from the 32 bits output) is correct for the whole frame. But the other 3 bytes are always zeros.

 

I configured the IIM1 as follows:

 

#define  IIM_OUT_ELEM_WIDTH  4

 

ADI_PVP_IIM_CONTROL  oIIMControl = {

ADI_PVP_IIM_MODE_RECTANGLE,

ADI_PVP_IIM_WIDTH_8BIT,

0}

 

oOPFControl.eInDataWidth   = ADI_PVP_OPF_IN_DATA_32BIT;

oOPFControl.eOutDataWidth   =  ADI_PVP_OPF_OUT_DATA_32BIT;

 

Can somebody help me to solve this problem?

 

Best Regards

 

Jihen Thabet

Outcomes