Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options questions only not deleted user 32943
1 vote
1 answer
638 views

PSET4 filter less Blur function

I am stuck in Pset4-Filter/less the Blur function in particular. My problem is the image blurred correctly but does not pass check50. … Check50 result : :( blur correctly filters middle pixel >> expected : 127 140 149 and actual : 147 162 171 :( blur correctly filters pixel on edge >> expected : 80 95 105 and actual : 90 106 116 :( blur
Ahmed Elbessfy's user avatar
0 votes
1 answer
23 views

PSET4 LESS BLUR function -Ending Edges problem

Here is my code : void blur(int height, int width, RGBTRIPLE image[height][width]) { // h = 400 w = 600 // doesn't read right corners nor edges // create a temp copy of the image pixels to … round(sumR/ (float) count); image[i][j].rgbtBlue = round(sumB/ (float) count); image[i][j].rgbtGreen = round(sumG/ (float) count); } } } And check50 result : :( blur
Ahmed Elbessfy's user avatar