Questions tagged [filtermore]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
0answers
4 views

I am having trouble with filter (more) edge detection: it returns a white image, i just can seem to find where i am going wrong

void edges(int height, int width, RGBTRIPLE image[height][width]) { int Gx_arr[3][3] = { {-1, 0, 1}, {-2,0,2},{-1,0,1}}; int Gy_arr[3][3] = { {-1, -2, -1}, {0, 0, 0}, {1, 2, 1}}; ...
0
votes
0answers
40 views

Filter (more) Edge error not passing check50

Yesterday I copleted filter less and all images passes check50, today I try to complete filter more edge I've added the same code like like filter less for Grayscale, Reflection, Blur and added new ...
1
vote
1answer
75 views

PSET4 — Filter (more) — Edges Error

I'm currently working through the filter problem, and I'm not sure why it's not working on the pixels on the edge (it also seems to only be incorrect on the B value in RGB). This is the message I'm ...
1
vote
1answer
28 views

My blur function blurs every image, but fails every check50 check - please help!

I'd really appreciate any help that can be offered here. My code seems to output a blurred image perfectly, but fails every check50 check and I can't work out why... void blur(int height, int width, ...
0
votes
1answer
30 views

Some values in my 'edges' don't pass check50

the rightmost values in the matrix in check50 is wrong but the other values are correct. I'm not really sure what's wrong. code: void edges(int height, int width, RGBTRIPLE image[height][width]) { ...
0
votes
1answer
48 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 ...
0
votes
1answer
106 views

CS50 Pset4 Filter (More comfortable) Edges Function

I am trying to code CS50's Pset4 Filter (More comfortable)'s edges function, but I keep on getting a different value. This is the link to the video explaining what I am trying to do in this function, ...