Export to GitHub

aforge - issue #302

Sobel filter crashes on 228x240 32bit PNG


Posted on Jun 2, 2012 by Quick Ox

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.

Attachments

Comment #1

Posted on Jun 2, 2012 by Grumpy Camel

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.

Comment #2

Posted on Jul 16, 2013 by Grumpy Camel

(No comment was entered for this change.)

Status: Released

Labels:
Type-Defect Project-Imaging