Questions tagged [edges]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
1answer
32 views

pset4 Filter (more) Edge Detection help

void edges(int height, int width, RGBTRIPLE image[height][width]) { RGBTRIPLE copy[height][width]; for (int i = 0; i < height; i++) { for (int j = 0; j < width; j++) {...
0
votes
0answers
8 views

Issues with PSET4 Filter Edge Detection

I've been testing my edges code for ages now but I can't seem to figure out the problem. When I run the code on the sample images the images look like they have been processed properly but when I put ...
0
votes
2answers
36 views

Help with pset4 filter edge detection function

I have some problems with the edges function. The code compiles fine and all but the result looks like this: https://imgur.com/a/S2MQLom The edges of the image and one third of it don't look as ...
0
votes
1answer
20 views

CS50 - edge filter pset4

I'm working on the edge filter in pset4 in CS50. The code compiles but when checking the code with check50 I get multiple errors. Looking closer at the output of the error check the first row and last ...
0
votes
0answers
21 views

CS50 PSET4. Edges detection algorithm does not filter correctly 3x3 image and 4x4 image

I am working on Problem Set 4 of CS50 and I have some issue with Edges detection algorithm (description of the PSET4 can be found here: https://cs50.harvard.edu/x/2020/psets/4/filter/more/). In ...
0
votes
1answer
25 views

cs50 pset4 edge filter too much white

Hey guys i have been trying to figure out the problem with my code of the pset4 filter (more) about edge detection. My code compiles but the result image is strange, with a lot of bright/white and ...
0
votes
1answer
69 views

PSET 4 - Filter: Anyone able to help me on Edges?

I'm having a lot of trouble figuring out how my code for edges is failing so badly every time. Any help on this would be greatly appreciated! Here is what I'm getting back from check50: :( edges ...
0
votes
2answers
66 views

Q: PSETt#4 - Filter (more) - Edges

I'm stuck with the problem pset4 edges. The checks for the middle pixels work. But not the corner's pixels. :( edges correctly filters pixel in corner expected "76 117 255\n", not "76 117 66\n" It ...
0
votes
1answer
31 views

CS50 PSET4 Edge calculates correct values on all tests unless the correct value is 255

I am having problems with CS50 PSet 4 - Edge. The method passes the middle pixel test (which has no value of 255 on any channel) but on any other test all the values in each channel are correct ...
0
votes
1answer
57 views

Edge detection produces weird outputs

I've been stuck on this for the past while and I'm not sure what's wrong in my algorithm. I get complete nonsense for outputs and I'm kind of lost on where to go from here. Any help would be ...
0
votes
1answer
78 views

PSET #4 - Filter (more) - Edge

I've been trying to finished filter(more) all this morning, but I'm stuck with this code, I don't know why is incorrect, withcheck50 outputs in red: :( edges correctly filters middle pixel ...
0
votes
2answers
90 views

PSet4 - Filter (more) - Edge

maybe one of you can help me out. The following code compiles and runs without any complaint, but the results are not the expected ones. Somehow the image-edge will be detected, but the new values ...
0
votes
1answer
49 views

I don't understand what's wrong with my Edge filter. Pset4

There are lots of runtime errors and overflowed integers with my code, and I have no idea why that is the case. Please could you check it out? void edges(int height, int width, RGBTRIPLE image[height]...
0
votes
1answer
147 views

Pset4 , edge , I dont understand what is wrong ,

It seems it is finding edges, When I run check50 it is giving me the errors below : :) edges correctly filters middle pixel Log testing with sample 3x3 image first row: (0, 10, 25), (0, 10, 30), (...
0
votes
0answers
52 views

CS50 pset4, problem with edge filter

I'm really sorry for the lengthy code. Program compiles with no errors at all. But the output image is all milky white. Please tell me what's wrong with my code. RGBTRIPLE temp[height][width]; for (...
0
votes
2answers
465 views

PSET4 (More Comfortable) Filter Edges

I am trying to code Pset4 (more comfortable) edges, the program is running, but my outcome is completely white. Any Suggestions? Here's My Code.... void edges(int height, int width, RGBTRIPLE image[...
0
votes
1answer
326 views

Pset4 Filter Edge Dedection

my code is running well on a dedicated hardcoded version of check50 edges middle pixel, but as soon as I use it for the check50 it gives an error. Debug50 did calculate exactly what it should have ...
0
votes
0answers
51 views

Help with detecting edges on pset4/filter/more

My program seems to be ok in my brain and on the "outfile.bmp", but when I check50 it all I get is: Here is my code, void edges(int height, int width, RGBTRIPLE image[height][width]) { int gxb, ...
0
votes
1answer
312 views

To those who struggle with pset4’s filter-more’s edge detection filter

I’m sure it is obvious for some people, but it wasn’t for me) If your code isn’t working the way it should, you can create new .c file and put there your logic from edge detection function. You can ...
1
vote
2answers
2k views

Pset4 filter edges issue

I'm trying to figure why my code doesn't work for detecting edges. Even though it produces a result, it is too white. Any suggestions? // Detect edges void edges(int height, int width, RGBTRIPLE ...
1
vote
1answer
738 views

PSET4 Filter, edge detection process only works for square-like pictures. How to make it work for the whole picture?

I have written my code based on how I structured the code for the blur filter. For some reason the result is pretty weird, the processing of edge detection is only taking place in a square. See ...
0
votes
0answers
205 views

Pset4 edge recognition values too high; not incrementing correctly

I have checked and rechecked my program but the values the edge recognition portions output always seem to default to 255. Is my math wrong or something? Sorry if it's messy; couldn't figure out ...
0
votes
1answer
360 views

pset4: edges have correct 3 out of 5

the corner check correct and the edges check correct and middle pixel check correct but the whole image wrong why ????? void edges(int height, int width, RGBTRIPLE image[height][width]) { int ...