ndrd / fast-edge Goto Github PK
View Code? Open in Web Editor NEWAutomatically exported from code.google.com/p/fast-edge
Automatically exported from code.google.com/p/fast-edge
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
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
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
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
-lm is required to avoid a linker error
Original issue reported on code.google.com by [email protected]
on 5 Apr 2013 at 10:30
Attachments:
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.