
TA MODUL 12 (VERSI 2)

Quiz
•
Computers
•
University
•
Medium
Ibes Ibes
Used 6+ times
FREE Resource
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
Similar Resources on Wayground
10 questions
TA MODUL 12 (VERSI 1)

Quiz
•
University
15 questions
CSS - Quiz 1

Quiz
•
9th Grade - University
15 questions
HTML

Quiz
•
University - Professi...
12 questions
Python Quiz-2.2

Quiz
•
University
7 questions
CSS Rules Quiz-unit 4 CodeHS

Quiz
•
7th Grade - University
12 questions
01 HTML/CSS Einführung

Quiz
•
University
15 questions
bootstrap let's play

Quiz
•
University
11 questions
Java Quiz 3 - Array

Quiz
•
University
Popular Resources on Wayground
55 questions
CHS Student Handbook 25-26

Quiz
•
9th Grade
18 questions
Writing Launch Day 1

Lesson
•
3rd Grade
10 questions
Chaffey

Quiz
•
9th - 12th Grade
15 questions
PRIDE

Quiz
•
6th - 8th Grade
40 questions
Algebra Review Topics

Quiz
•
9th - 12th Grade
22 questions
6-8 Digital Citizenship Review

Quiz
•
6th - 8th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade