Questions tagged [sepia]
The sepia tag has no usage guidance.
19
questions
1
vote
1
answer
42
views
CS50 Pset4 Sepia
I have been working on PSET4 and understood the code and the tasks fine. But my compilation does not change the image and I cannot figure out why it will not work for the life of me. I have checked ...
0
votes
1
answer
291
views
Pset4 Filter sepia error from check50
below is my code for Pset4 filter(less). the code compiles fine, but I was getting these errors from check50. really appreciate if anyone can help. thanks
:( sepia correctly filters single pixel
...
0
votes
1
answer
1k
views
CS50 filter issues with greyscale, sepia, and blur
for greyscale I get issues with check50, but the program appears to operate correctly. With sepia and blur, the image outputted is the same as the image inputted. For blur, I would also be curious to ...
0
votes
1
answer
1k
views
cs50 pset4 filter sepia
I'm working on Sepia (2020 problem set 4- filter). The command window printed out the following error message:
helpers.c:33:29: runtime error: 260 is outside the range of representable values of type ...
0
votes
2
answers
83
views
What's wrong with my sepia code? pls help
My sepia code are as follows:
// Convert image to sepia
void sepia(int height, int width, RGBTRIPLE image[height][width])
{
// Comb through each row
for (int i = 0; i < height; i++)
{
...
0
votes
1
answer
74
views
Pset4 (Less). Filter sepia. In the output image, the white parts are magenta
For some reason, the image attached below is the output I get with Sepia filter. I don't know where the code is wrong.
void sepia(int height, int width, RGBTRIPLE image[height][width])
{
int k = 0;...
0
votes
1
answer
57
views
Pset4 Sepia Function
I test it and it works but check50 tell
:( sepia correctly filters single pixel
expected "56 50 39\n", not "56 62 60\n"
:( sepia correctly filters simple 3x3 image
...
0
votes
1
answer
108
views
PSet 4 Filter(less) Sepia - Why is my output image slightly red tinted?
At first, I forgot to cap the RGB values at 255 for sepia, and it resulted in white pixels being blue. But other areas were fine(proper sepia). So additionally, I added the ternary operators to check ...
0
votes
1
answer
102
views
Two problems with pset4 in Grayscale and Sepia
The following code keeps on giving me bugs about something I can't figure out when checking with check50 and I'm not sure what's wrong.
here's the code:
// Convert image to grayscale
void grayscale(...
0
votes
1
answer
108
views
Cs50 Sepia properly coded
I did the sepia filter for the cs50 week 4 problem "filter) and although it works, I've been wondering, is there is not a more "proper" way to write the code, that is with out repeating ...
0
votes
1
answer
94
views
PSET4: filter(less) sepia limit to 8 bits
I'm working on pset4 filter(less) and have a question regarding limiting the RGB value to 8 bits. I'd like to know what happens when a value of more than 8 bits is stored in BYTE (uint8_t). Initially, ...
0
votes
1
answer
437
views
Sepia Filter won't work for more complex 3x3 and 4x4 images
:) sepia correctly filters single pixel
:) sepia correctly filters simple 3x3 image
:( sepia correctly filters more complex 3x3 image
expected "25 22 17\n66 5...", not "25 22 17\n66 ...
0
votes
0
answers
16
views
CS50 Filter - less, sepia function not giving output as expected
What did i do wrong here, I'm on blur function right and i compiled my code and it compiles gives sepia filter but with bit of green bleed on 3 out of 4 pictures i went through my code but cannot find ...
0
votes
1
answer
23
views
psets4 sepia not working correctly
my code works but the sky looks shiny blue, its like its working in all others pixels but not on the sky, i do not get what i am doing wrong.
void sepia(int height, int width, RGBTRIPLE image[height][...
0
votes
1
answer
70
views
Pset4 Sepia Errors - 3x3 and 4x4 images
I just ran my code through check50 and it's throwing the following errors:
:( sepia correctly filters more complex 3x3 image
:( sepia correctly filters 4x4 image
But I looked further into the issue ...
0
votes
1
answer
16
views
Problem Set 4 - Sepia appears to work, but the colors doesn't match the check50 results
Could someone help me understand what I did wrong?
void sepia(int height, int width, RGBTRIPLE image[height][width])
{
int sepiaRed = 0;
int sepiaGreen = 0;
int sepiaBlue = 0;
for (...
0
votes
1
answer
34
views
Help to finish my problem - Check50 - Pset4 - Filter Less
I am coding the sepia filter, it is already working, but it does not pass the check50. I think of according to the check50 report, that there is some problem of precision in the calculations, but I ...
0
votes
1
answer
192
views
pset4 - filter(less) - sepia not working
void sepia(int height, int width, RGBTRIPLE image[height][width])
{
for (int i = 0; i < height; i++)
{
for (int j = 0; j < width; j++)
{
float redS = .393 * (...
0
votes
1
answer
75
views
pset4 Filter Issues
So for some reason neither sepia or blur is returning a picture that has been altered at all. I think this has to do with my storing values in a new RGBTRIPLE called newimage and then after all fo ...