Homework 5

Mathematical Morphology - Gray Scaled Morphology

Description

    You can download lena.bmp here !
    You can also download OpenCV C++ template for Visual Studio 2015 here ! (Warning: If you use this template, please don't upload the whole project. Only the source codes should be submitted. e.g. main.cpp, funtion.h )

  • Write programs which do gray-scale morphology on a gray-scale image(lena.bmp):
    • (a) Dilation
    • (b) Erosion
    • (c) Opening
    • (d) Closing

Announcement

  • Please use the octogonal 3-5-5-5-3 kernel. (which is actually taking the local maxima or local minima respectively).
  • 4 images should be included in your report: Dilation, Erosion, Opening and Closing.
  • You can use any programing language to implement homework, however, you'll get zero point if you just call existing library.

FAQ

  • Q1: 有規定報告的頁數嗎?
      沒有,但建議不要超過4頁。報告內容簡短扼要即可。
  • Q2: 請問之前作業實作過的函式,以後作業可以直接 call 現成函式嗎?
      可以哦,如果是之前作業手刻過的函式,之後用到可以任意 call function.