AForge.NET

  :: AForge.NET Framework :: Articles :: Forums ::

IntegralImage class.

The forum is to discuss topics related to different areas of image processing and computer vision.

IntegralImage class.

Postby edurazee » Sun Jan 07, 2018 4:06 pm

Why can't the integral image class work with RGB images?

Why does it only work with Grayscale images?
edurazee
 
Posts: 12
Joined: Sat Dec 03, 2016 10:06 am

Re: IntegralImage class.

Postby andrew.kirillov » Mon Jan 08, 2018 8:11 am

If it would be possible to use it with RGB images, how would you see it? Would you want to have 3 integral images - one for each RGB channel? You can do so manually, by extracting RGB channels. Or would you want to have one integral image, which is a sum of RGB values? In this case, what will it give you? Looking into the final integral image, you will not be able to find which RGB channel contributed more or less.
With best regards,
Andrew


Interested in supporting AForge.NET Framework?
User avatar
andrew.kirillov
Site Admin, AForge.NET Developer
 
Posts: 3293
Joined: Fri Jan 23, 2009 9:12 am
Location: UK

Re: IntegralImage class.

Postby edurazee » Mon Jan 08, 2018 9:00 am

Okay.

Check these two posts:

https://www.codeproject.com/Tips/456916 ... Csharp-NET

https://stackoverflow.com/questions/394 ... ter-output


In these posts, they are working with 3d integer arrays. So, an RGB image can be conveniently represented by a 3d integer array.
edurazee
 
Posts: 12
Joined: Sat Dec 03, 2016 10:06 am

Re: IntegralImage class.

Postby andrew.kirillov » Mon Jan 08, 2018 10:51 am

Yes, you can represent RGB image as 3D array if you want. What is the relation with the original question though?
With best regards,
Andrew


Interested in supporting AForge.NET Framework?
User avatar
andrew.kirillov
Site Admin, AForge.NET Developer
 
Posts: 3293
Joined: Fri Jan 23, 2009 9:12 am
Location: UK

Re: IntegralImage class.

Postby edurazee » Mon Jan 08, 2018 1:03 pm

https://www.quora.com/How-can-I-convert ... f-integers

The relation is, an IntegalImage class which can handle R,G,B images is needed to directly operate on color images.

I think AForge.NET should also incorporate DoubleImage class.

Lack of these features is making AForge.NET a weak framework. That is why people are either going to Accord.NET or EmguCV.net.
edurazee
 
Posts: 12
Joined: Sat Dec 03, 2016 10:06 am




Return to Image Processing and Computer Vision

cron