Homework 6

Yokoi Connectivity Number

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 a program which counts the Yokoi connectivity number on a downsampled image(lena.bmp).

Announcement

  • Downsampling Lena from 512x512 to 64x64:
      Binarize the benchmark image lena as in HW2, then using 8x8 blocks as a unit, take the topmost-left pixel as the downsampled data.
  • Count the Yokoi connectivity number on a downsampled lena using 4-connected.
  • Result of this assignment is a 64x64 matrix.
  • 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.
  • Q3: 請問報告中應該包含多少張圖?
      一張圖,請將Yokoi connectivity number的matrix用一張圖表示。
      可以參照HW6封面哦。
  • Q4: 請問 Yokoi 的 label 0 要不要標示出來呢?
      都可以哦,封面為不標的結果。
  • Q5: 請問 matrix 是要把陣列內容印到一張圖上去,還是把內容 print 出來再截圖?
      Print 出再截圖就可以囉。