How is integral image used in image processing?
Show older comments
Hi,
With integral image, the task of calculating the area of an upright rectangular region is reduced to four operations. Thus, the computation time is invariant to size of the rectangular. HOWEVER the result of the four operation is the SUM of pixel (of integral image) within the rectangular region. SO HOW is the SUM used for object detection?
My understanding (correct me if i'm wrong)
Let say i have an image with 100*100 pixels. So the resultant integral image will be 100*100 pixels as well. The used of integral image is because its computational time of any rectangle region is almost constant(invariant to size). So let say i have an object of interest in the image, the object is in a 50*50 pixels window. So the calculate of the sum of pixel within the window is constant time even if the window size increase. >>>after this point i'm stuck. How is value of the sum of pixel within a rectangular window useful?
Thanks
4 Comments
Sean de Wolski
on 23 Aug 2011
It sounds like you're talking about something involving a convolution. I'm not sure what though. Please show an image and/or explain the goal.
Walter Roberson
on 23 Aug 2011
The calculation of the area of a rectangle is not invariant with the size of the rectangle: instead it is proportionate to the log of the maximum dimension of the rectangle. Make the rectangle size a few quadrillion digits long and you aren't going to be calculating the area in constant time.
Kyle
on 24 Aug 2011
Walter Roberson
on 24 Aug 2011
Technical note: "integral image" is defined at http://en.wikipedia.org/wiki/Summed_area_table
Accepted Answer
More Answers (0)
Categories
Find more on Image Filtering in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!