Bagaimana cara yang benar untuk membaca citra menggunakan OpenCV?
```
img = cv.____('image.jpg')
```
TA MODUL 12 (VERSI 1)
Quiz
•
Computers
•
University
•
Medium
Ibes Ibes
Used 2+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Bagaimana cara yang benar untuk membaca citra menggunakan OpenCV?
```
img = cv.____('image.jpg')
```
read
imread
load
import
Answer explanation
cv.imread() adalah fungsi dasar untuk membaca citra dalam OpenCV.
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Untuk deteksi tepi Sobel, sumbu x direpresentasikan oleh parameter:
```
cv.Sobel(img, cv.CV_64F, ____, 0)
```
0
1
2
3
Answer explanation
dx=1 menunjukkan turunan pertama pada arah x.
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Bagaimana cara mengubah citra ke grayscale?
```
gray = cv.______(img, cv.COLOR_BGR2GRAY)
```
toGray
cvtColor
grayscale
convert
Answer explanation
cv.cvtColor() digunakan untuk mengubah ruang warna citra.
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Perhatikan kode berikut:
```
edges = cv.Canny(img, ____, 200)
```
Nilai threshold pertama yang umum digunakan adalah:
50
100
150
250
Answer explanation
100 adalah nilai threshold bawah yang umum untuk Canny edge detection.
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Bagaimana cara menyimpan citra menggunakan OpenCV?
```
cv.____('output.jpg', img)
```
save
imwrite
write
export
Answer explanation
cv.imwrite() menyimpan citra ke file.
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Apa fungsi dari cv.getStructuringElement()?
Membuat kernel untuk morfologi
Membuat histogram
Membuat filter
Membuat mask
Answer explanation
getStructuringElement() membuat kernel untuk operasi morfologi.
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Apa fungsi dari cv.bitwise_and()?
Operasi AND piksel
Operasi OR piksel
Operasi XOR piksel
Operasi NOT piksel
Answer explanation
bitwise_and() melakukan operasi AND per piksel.
10 questions
Pengolahan Citra Digital
Quiz
•
University
11 questions
Monitörler
Quiz
•
University
8 questions
PAS PBO Kelas 11 RPL
Quiz
•
11th Grade - University
12 questions
css
Quiz
•
University
15 questions
Pengolahan Citra IK-1 10.45
Quiz
•
University
8 questions
PCD 1a
Quiz
•
University
10 questions
BOOTSTRAP
Quiz
•
University
13 questions
HTML тегтері
Quiz
•
1st Grade - University
15 questions
Character Analysis
Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing
Quiz
•
9th - 12th Grade
10 questions
American Flag
Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension
Quiz
•
5th Grade
30 questions
Linear Inequalities
Quiz
•
9th - 12th Grade
20 questions
Types of Credit
Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25
Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers
Quiz
•
6th - 8th Grade