Code Monkey home page Code Monkey logo

fast-edge's People

Watchers

James Cloos avatar Jonathan Andrade avatar

fast-edge's Issues

segfault in non_max_suppression

line 295 of fast-edge.c

if dir[x + y] is 0 in the first line of the image, then y is zero,
so then g[x + y - w] is out of bounds --> possible segfault.
similarly for y = max_y - w, then g[x + y + w] is out of bounds.

it looks like 3 of those cases can go out of the array bounds either before or 
after, so they need some bounds-checking.

Original issue reported on code.google.com by [email protected] on 1 Nov 2010 at 11:01

Bug in trace

I think there's a small bug in the trace() function.

In fast-edge.c on line 422:
if (!(y == 0 && x_off == 0) && ...

should be:
if (!(y_off == 0 && x_off == 0) && ...

Cheers!

Original issue reported on code.google.com by [email protected] on 15 Jun 2010 at 10:52

non_max_suppression : "ERROR - direction outside range 0 to 3"

What steps will reproduce the problem?
1. non_max_suppression
2.
3.

What is the expected output? What do you see instead?
I see "ERROR - direction outside range 0 to 3"

What version of the product are you using? On what operating system?
eclipse + TDM-GCC-64 on Win 7

Please provide any additional information below.
In the non_max_suppression step, 
the switch (dir[x + y]) {
:
case 0:
case 1:
case 2:
case 3:
:
}

the variable, dir[x + y] = g[x + y] = g[x + y - w] = g[x + y] = g[x + y + w] = 
-1163005939, is that normal?
Thank you!

Original issue reported on code.google.com by [email protected] on 26 Sep 2014 at 8:55

segmentation fault

What steps will reproduce the problem?
1. perform test with hight image resolution ex. 3000x1024
2. work fine with low resolution 512x512... 
3. off

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

What version of the product are you using? On what operating system?
GCC +win 7

Please provide any additional information below.
==> crash at the 1, or 2 iteration of the first for loop:
for (y = 0; y < max_y; y += w) {//crash after one or two loop

Original issue reported on code.google.com by [email protected] on 9 Aug 2013 at 12:13

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.