Following from last week where my lecturer, Dr.Woon gives me a "discount" where I only need to code a programme which can calculate the sharpness of an image so that we can compare two similar/non similar image in term of their sharpness, glad to say that with the implementation of opencv library, code block and cmake (all those which I installed last week) had allowed me to success to come out with what Dr. Woon want.
Curious what does it looks like?? Worry not! Lets have a look on the pictures below. Basically, I created myself three image samples to test with, name it:
1) Clear
2) Blur
3) Very Blur
Lets test the image sample "Clear" first. As this is the clearest image among the three sample of mine, it therefore should give the highest sharpness value...
First sample. Clearest image.
Well yeah, the result shows sharpness of 0.999943. Hmm...not too bad, but who knows thats the highest value among three samples? Let's continue...
Second Image Sample. Titled "Blur"
Okay, now that the sharpness shows 0.999875, it is what we expected, which is lower than the first sample (woohoo!!) This proves that we are half way success in testing our code already! If the third sample "very blur" shows lowest value, then our code works! Lets see!! (nervousss)
Third Image Sample. Titled "Very Blur"
Yess!! The sharpness show the lowest value among the three samples!! This means our code can works in order to measure the sharpness of an image and thus compare them!
And of course, the consistency is also tested. This can be done by running the same image for several times and the sharpness value shows the same for the same image, which is a good thing.
Well guys, that's all for this semester. I hereby hope anyone that is having study week now all the best and do your best in the upcoming final exams! And for those who are still on their lecture weeks, always pay attention to your lecturer in class and remember to submit your works on time! For non students, I hope all of you stay healthy and happy always. And not to forget, MERRY CHRISTMAS EVERYONEEE~~~ ^.^!!
I will like to thanks a lot of people throughout this 14 weeks projects. First of all, my lecturer, Dr.Woon Kai Lin which give us the opportunity and platform to practically do something we seldom do. Open lab session is a great opportunity for students to get in touch with the practicals and develop student's interest and also talents. KLESF is also a great platform for student to show their work to the public so that we can have the sense of achievement and confirmation. Also thanks for Dr. to guide me, understand my situation/problems and give the best advice and resource in order for me to walk out from the jungle of lost. Again, thanks for all the effort Dr..
Next, I will like to thanks all my teammates from team Sotong (yes I didn't forget all of you although its only 7 weeks we are together), thanks for enduring me, showing up whenever I called up for meeting at some random time and helping in the projects, your effort are really appreciated and happily we managed to born our own microscope muahahahah!!!
Also, I would like to thanks Raqif senior, he is a material science graduate years back and have experience working with Android. He really helped me a lot in term of Android Studio and Java coding as from the beginning I have zero knowledge on those things. Despite of busying with his own work, he still willing to spend some time with me to help me in my hard time. And also thanks for introducing me in to the Android community in Telegram, I have really learned a lot from the masters there and I will not quit that community because I am sure I will definitely learn alooooooot more from the community in the future HAHAHAH!!! Okay seriously I really really appreciate all of the efforts ^.^.
Not forgetting my friend from FSKTM, Siong!! Hahah!! Thanks for giving me advise and guides in coding and software parts. Also he helped me with identifying various computer/compiler error showed up whenever I am clueless. Yeah as for those who worked with programming knows, the most scariest thing in this world is not ghost, but error that you never seen before pop out from nowhere. But the sense of joy and happiness when the error is solved and the moment you know the reason of the error is something money, credit cards, bitcoins or any property cannot buy!! XDD
Lastly, thanks to the Telegram community that taught me a lot of new things whenever i appear with questions. The guides you guys gave me are really clear and helped to solv my problems.
That's all guys. Good luck !!





