
TA MODUL 12 (VERSI 2)
Authored by Ibes Ibes
Computers
University
Used 6+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
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.
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
10 questions
HMTI Workshop Quiz
Quiz
•
University
7 questions
Semana 2 HTML
Quiz
•
University
6 questions
HTML error correction Activity
Quiz
•
University
10 questions
Data Exploration Quiz
Quiz
•
University
13 questions
Project evaluation Quiz - ITPM L9 Activity
Quiz
•
University
14 questions
Data Analytics using Python - Quiz 4
Quiz
•
University
11 questions
EXAMEN
Quiz
•
2nd Grade - University
14 questions
HTML CPU practice quiz
Quiz
•
KG - Professional Dev...
Popular Resources on Wayground
8 questions
Spartan Way - Classroom Responsible
Quiz
•
9th - 12th Grade
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
14 questions
Boundaries & Healthy Relationships
Lesson
•
6th - 8th Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
3 questions
Integrity and Your Health
Lesson
•
6th - 8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
9 questions
FOREST Perception
Lesson
•
KG
20 questions
Main Idea and Details
Quiz
•
5th Grade
Discover more resources for Computers
20 questions
Disney Trivia
Quiz
•
University
7 questions
Fragments, Run-ons, and Complete Sentences
Interactive video
•
4th Grade - University
7 questions
Renewable and Nonrenewable Resources
Interactive video
•
4th Grade - University
10 questions
DNA Structure and Replication: Crash Course Biology
Interactive video
•
11th Grade - University
7 questions
Force and Motion
Interactive video
•
4th Grade - University
20 questions
Implicit vs. Explicit
Quiz
•
6th Grade - University
14 questions
Ch.3_TEACHER-led
Quiz
•
University
7 questions
Comparing Fractions
Interactive video
•
1st Grade - University