deTrident / aforge

Automatically exported from code.google.com/p/aforge
Other
0 stars 0 forks source link

Sobel filter crashes on 228x240 32bit PNG #302

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?

1. Load solid.png into Image Processing Lab
2. Click "Grayscale"
3. Click "Sobel"

What is the expected output? What do you see instead?

It crashes. 

What version of the product are you using?

2.2.4 

Please provide any additional information below.

I use AForge's sobel filter from the ImageResizing.NET library, which is 
designed for server-side use. AccessViolationExceptions are really bad in that 
situation.

Original issue reported on code.google.com by Nathanae...@gmail.com on 2 Jun 2012 at 3:20

Attachments:

GoogleCodeExporter commented 9 years ago
Fixed Sobel edge detector so it does not write beyond image buffer when doing 
intensity scaling step.

Fixed in revision 1693.

P.S. Sobel edge detector from AForge.NET framework can not crash on 32 bpp 
images by definition. Because it simply can not process them ... Just to 
clarify things.

Original comment by andrew.k...@gmail.com on 2 Jun 2012 at 3:49

GoogleCodeExporter commented 9 years ago

Original comment by andrew.k...@gmail.com on 16 Jul 2013 at 9:52