Closed cccccz closed 6 months ago
I don't entirely understand what issue you're running into based on the two images you posted. Are your edge pixels completely black, or are you getting a mosaic pattern on some of the outer edges? Either way, it suggests a bug, since you should get a somewhat reasonable value if you follow the same principles as demosaicing the interior pixels. However, don't worry too much if you feel that you've wasted a lot of time on it, since you will still get most of the marks for that part of the assignment if the interior of the image looks good.
I think the problem is: when I try to access the bottom line and the last column, i went out of boundary somewhere
I don't entirely understand what issue you're running into based on the two images you posted. Are your edge pixels completely black, or are you getting a mosaic pattern on some of the outer edges? Either way, it suggests a bug, since you should get a somewhat reasonable value if you follow the same principles as demosaicing the interior pixels. However, don't worry too much if you feel that you've wasted a lot of time on it, since you will still get most of the marks for that part of the assignment if the interior of the image looks good.
ty!