TA MODUL 12 (VERSI 2)

TA MODUL 12 (VERSI 2)

University

10 Qs

quiz-placeholder

Similar activities

Bài 7: HTML và Cấu trúc trang web

Bài 7: HTML và Cấu trúc trang web

12th Grade - University

15 Qs

Олимпиада Web-программирование

Олимпиада Web-программирование

University

10 Qs

Course 3 Pemrograman Web

Course 3 Pemrograman Web

University

11 Qs

Introduction to Arrays

Introduction to Arrays

KG - University

10 Qs

IT1 E

IT1 E

University

13 Qs

CSS - 19 Januari 2021

CSS - 19 Januari 2021

12th Grade - University

15 Qs

Principles of 3D Animation Quiz 1

Principles of 3D Animation Quiz 1

University

15 Qs

Quiz - Dizajni dhe Zhvillimi i Uebit

Quiz - Dizajni dhe Zhvillimi i Uebit

University

10 Qs

TA MODUL 12 (VERSI 2)

TA MODUL 12 (VERSI 2)

Assessment

Quiz

Computers

University

Practice Problem

Medium

Created by

Ibes Ibes

Used 6+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Perhatikan kode berikut untuk menghitung histogram:

   ```

   hist = cv.____([img], [0], None, [256], [0,256])

   ```

   Function yang tepat adalah:

histogram

calcHist

computeHist

getHist

Answer explanation

cv.calcHist() digunakan untuk menghitung histogram citra.

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Perhatikan kode berikut:

   ```

   ret, thresh = cv.threshold(img, 127, 255, ____)

   ```

   Parameter yang tepat untuk binary thresholding adalah:

cv.THRESH_BINARY

cv.THRESH_TOZERO

cv.THRESH_TRUNC

cv.THRESH_OTSU

Answer explanation

THRESH_BINARY menghasilkan citra biner dengan dua nilai (0 atau 255).

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Bagaimana cara menampilkan citra menggunakan OpenCV?

   ```

   cv.____('Image', img)

   ```

show

imshow

display

view

Answer explanation

cv.imshow() menampilkan citra dalam window.

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Apa yang dilakukan oleh cv.GaussianBlur()?

Menajamkan citra

Menghaluskan citra

Mendeteksi tepi

Mengubah kontras

Answer explanation

Gaussian blur mengurangi noise dengan menghaluskan citra.

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Perhatikan kode berikut:

    ```

    dft = cv.dft(np.float32(img), flags=____)

    ```

    Flag yang tepat untuk complex output adalah:

cv.DFT_COMPLEX_INPUT

cv.DFT_COMPLEX_OUTPUT

cv.DFT_REAL_OUTPUT

cv.DFT_BINARY_OUTPUT

Answer explanation

Flag ini menghasilkan output kompleks dari DFT.

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Perhatikan kode berikut:

    ```

    dst = cv.______(img, -1, kernel)

    ```

    Function yang tepat untuk konvolusi 2D adalah:

convolve

filter2D

convolution

apply

Answer explanation

cv.filter2D() melakukan konvolusi citra dengan kernel.

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Perhatikan kode berikut:

    ```

    contours, hierarchy = cv.______(thresh, cv.RETR_TREE)

    ```

    Function yang tepat untuk mencari kontur adalah:

getContours

findContours

detectContours

searchContours

Answer explanation

cv.findContours() mendeteksi kontur dalam citra.

Create a free account and access millions of resources

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?