Questions tagged [filtermore]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1 vote
1 answer
12 views

Filter-more edge blue channel

When I run check 50 I get the red green channels correct but no matter what I do the blue channel comes out with seemingly random values what am I missing here? void edges(int height, int width, ...
Tiler99uu's user avatar
0 votes
1 answer
23 views

Incorrect blur for filtermore

for this problem, I have opted to use a strategy where I create a 1 pixel border in a copy image with RBG values = 0, to avoid running into segmentation errors when trying to access a pixel. I also ...
Kik's user avatar
  • 1
1 vote
2 answers
44 views

pset4 blur; artifacts on a white parts of an image

I believe I've done this part of filter-more task pretty well, but, unfortunately, an output image has some artifacts - blur works badly with white parts of an image. void blur(int height, int width, ...
REJEN RJ's user avatar
0 votes
1 answer
15 views

CS50 Blur - Why declaring the variable outside the loop change the result?

I am working on pset4 filter-more - blur. Below is my code for the problem set. Somehow I found that if I declare my variables as per the "commented" lines in my code, the picture cannot be ...
Croix How's user avatar
0 votes
0 answers
12 views

PSET04-filter more Edge Function. I need help, PLEASE!

I'm very confused why my code is not working. And there are these strange errors in the results of Check50, I don't know why. I know it could be complicated to read my code due to the amount of code I ...
AlvaroAndLukeTheCoder's user avatar
0 votes
1 answer
302 views

CS50: Pset4: Filter-More : "filter compiles :expected exit code 0, not 2" while running Check50

My code compiles fine with no errors but when running check50 it fails at the second check saying filter compiles: expected exit code 0, not 2. Main returns 2 when more than one argument for filters ...
Tristan Wiese's user avatar
0 votes
1 answer
37 views

My Red and Blue values are wrong but all my green values are correct. It's pretty simple what i've done. What am I missing ? Please help

void blur(int height, int width, RGBTRIPLE image[height][width]) { RGBTRIPLE tmpimage[height][width]; for (int i = 0; i < height ; i++) { for (int j = 0; j < width; j++) ...
voko axecer's user avatar
1 vote
1 answer
370 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 ...
Seamus McGill's user avatar
1 vote
1 answer
44 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, ...
James Rosen's user avatar
0 votes
1 answer
44 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]) { ...
Gloria Isedu's user avatar
0 votes
1 answer
57 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 ...
Javohir Abdullayev's user avatar
0 votes
1 answer
176 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, ...
RK-83's user avatar
  • 3