tonyyxliu / CUHKSZ-CSC4005

Project Materials for CUHK(SZ) Course CSC4005: Parallel Programming
MIT License
79 stars 31 forks source link

How can we know the filtered picture fulfills the requirement? #33

Closed RuiRuihigh closed 1 year ago

RuiRuihigh commented 1 year ago

I found that the results between using int and float are different. If I use int, the filtered picture will be obviously blurred. However, If I use float, the resulting picture will be just like the original picture--cannot be distinguished by direct observation. Thus, I want to know how to judge whether the filtered picture is correct.

tonyyxliu commented 1 year ago

It is OK if your output image for PartB with smooth filter (1/9 equal weight) is roughly the same as the original image.

tonyyxliu commented 1 year ago

To better test your smooth filter implementation, pelase execute your parallel programs first on the Lena-RGB.jpg, and you should get a vague output as shown in the Project 1 instruction.