Questions tagged [pset4edge]

The tag has no usage guidance.

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

pset4 filter (more) edge not passing check50

this is my code for Edge, and it's not passing check50. below are the errors I got. any help is appreciated. :( edges correctly filters middle pixel expected "210 150 60\n", not "28 202 ...
0
votes
0answers
18 views

Help with PSet 4 Filter (More) Edge

I've been stuck on the Edge part of Filter (More) for a few days now. Check50 tells me that none of the pixels return the right values but I can't seem to find any problem with the code. Here's my ...
0
votes
0answers
7 views

Edge detection Program Gives Undesired Output

I have been struggling with the edge detection program. It produces weird output!!! The code is as given below: void edges(int height, int width, RGBTRIPLE image[height][width]) { float avgRedGx, ...
0
votes
1answer
41 views

When i run this code below, errors pop out error: like subscripted value is not an array, pointer, or vector edgeimage[i][j] = image[height][width];

void edges(int height, int width, RGBTRIPLE image[height][width]) { //Set temp image RGBTRIPLE *edgeimage = malloc((height + 1) * (width + 1) + 4); //RGBTRIPLE edgeimage[height][width]; //Go ...