Questions tagged [filtermore]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
0answers
27 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
46 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
24 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
28 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
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
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 ...
0
votes
1answer
62 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, ...