You are on page 1of 25

Bài 3.

1
8. The mask shown in the figure below belongs to which type of filter? Mask in figure represents a 3 times 3
smoothing filter yields standard average of pixels
Select one:
a.
Smoothing spatial filter
b.
Sharpening frequency filter
c.
Median filter
d.
Sharpening spatial filter
Question 2
Correct
Mark 1.00 out of 1.00
Flag question
Question text
12. Which of the following filters response is based on ranking of pixels?
Select one:
a.
Linear smoothing filters
b.
Geometric mean filter
c.
Nonlinear smoothing filters
d.
Sharpening filters
Question 3
Correct
Mark 1.00 out of 1.00
Flag question
Question text
5. Which of the following is the disadvantage of using smoothing filter?
Select one:
a.
Remove sharp transitions
b.
Sharp edges
c.
Blur inner pixels
d.
Blur edges
Question 4
Correct
Mark 1.00 out of 1.00
Flag question
Question text
6. Smoothing spatial filters doesn’t smooth the false contours.
Select one:
a.
Do not know
b.
True
c.
False
d.
None of the mentioned
Question 5
Correct
Mark 1.00 out of 1.00
Flag question
Question text
7. The mask shown in the figure below belongs to which type of filter? Smoothing spatial filter is type of filter
are multiplied with different coefficient value
Select one:
a.
Median filter
b.
Sharpening spatial filter
c.
Sharpening frequency filter
d.
Smoothing spatial filter
Question 6
Correct
Mark 1.00 out of 1.00
Flag question
Question text
4. Which of the following in an image can be removed by using smoothing filter?
Select one:
a.
Sharp transitions of gray levels
b.
Smooth transitions of brightness levels
c.
Sharp transitions of brightness levels
d.
Smooth transitions of gray levels
Question 7
Correct
Mark 1.00 out of 1.00
Flag question
Question text
13. Median filter belongs to which category of filters?
Select one:
a.
Order static filter
b.
Linear spatial filter
c.
Sharpening filter
d.
Frequency domain filter
Question 8
Correct
Mark 1.00 out of 1.00
Flag question
Question text
3. Smoothing linear filter is also known as median filter.
Select one:
a.
False
b.
None of the mentioned
c.
True
d.
Do not know
Question 9
Correct
Mark 1.00 out of 1.00
Flag question
Question text
15. What is the maximum area of the cluster that can be eliminated by using an n×n median filter?
Select one:
a.
n
b.
n2
c.
n2/2
d.
2*n2
Question 10
Correct
Mark 1.00 out of 1.00
Flag question
Question text
9. Box filter is a type of smoothing filter.
Select one:
a.
5
b.
15
c.
9
d.
3
Question 11
Correct
Mark 1.00 out of 1.00
Flag question
Question text
1. Noise reduction is obtained by blurring the image using smoothing filter.
Select one:
a.
Do not know
b.
False
c.
None of the mentioned
d.
True
Question 12
Correct
Mark 1.00 out of 1.00
Flag question
Question text
14. Median filters are effective in the presence of impulse noise.
Select one:
a.
True
b.
Do not know
c.
None of the mentioned
d.
False
Question 13
Correct
Mark 1.00 out of 1.00
Flag question
Question text
11. Which of the following comes under the application of image blurring?
Select one:
a.
Image segmentation
b.
Object motion
c.
Gross representation
d.
Object detection
Question 14
Correct
Mark 1.00 out of 1.00
Flag question
Question text
2. What is the output of a smoothing, linear spatial filter?
Select one:
a.
Average of pixels
b.
Minimum of pixels
c.
Maximum of pixels
d.
Median of pixels
Bài 3.2
11. What is accepting or rejecting certain frequency components called as?
Select one:
a.
None of the Mentioned
b.
Eliminating
c.
Slicing
d.
Filtering
Question 2
Correct
Mark 1.00 out of 1.00
Flag question
Question text
26. To reduce computation if one utilises non-overlapping regions, it usually produces ______ effect.
Select one:
a.
Blocky
b.
Blurred
c.
Dimming
d.
None of the Mentioned
Question 3
Correct
Mark 1.00 out of 1.00
Flag question
Question text
18. The function that contains a single 1 with the rest being 0s is called ______________
Select one:
a.
None of the Mentioned
b.
Discrete unit impulse
c.
Identity function
d.
Inverse function
Question 4
Correct
Mark 1.00 out of 1.00
Flag question
Question text
35. Which of the following conditions does the T(r) must satisfy?
Select one:
a.
T(r) is single-valued and monotonically decreasing in the interval 0≤r≤1; and 0≤T(r)≤1 for 0≤r≤1
b.
T(r) is double-valued and monotonically decreasing in the interval 0≤r≤1; and 0≤T(r)≤1 for 0≤r≤1
c.
T(r) is double-valued and monotonically increasing in the interval 0≤r≤1; and 0≤T(r)≤1 for 0≤r≤1
d.
T(r) is single-valued and monotonically increasing in the interval 0≤r≤1; and 0≤T(r)≤1 for 0≤r≤1
Question 5
Correct
Mark 1.00 out of 1.00
Flag question
Question text
8. How do you bring out more of the skeletal detail from a Nuclear Whole Body Bone Scan?
Select one:
a.
None of the mentioned
b.
Enhancing
c.
Transformation
d.
Sharpening
Question 6
Correct
Mark 1.00 out of 1.00
Flag question
Question text
34. In a dark image, the components of histogram are concentrated on which side of the grey scale?
Select one:
a.
Low
b.
Evenly distributed
c.
Medium
d.
High
Question 7
Correct
Mark 1.00 out of 1.00
Flag question
Question text
33. Histograms are the basis for numerous spatial domain processing techniques.
Select one:
a.
False
b.
None of the mentioned
c.
True
d.
Do not know
Question 8
Incorrect
Mark 0.00 out of 1.00
Flag question
Question text
16. What is the difference between Convolution and Correlation?
Select one:
a.
Image is pre-rotated by 90 degree for Correlation
b.
Image is pre-rotated by 180 degree for Convolution
c.
Image is pre-rotated by 90 degree for Convolution
d.
Image is pre-rotated by 180 degree for Correlation
Question 9
Correct
Mark 1.00 out of 1.00
Flag question
Question text
38. In a dark image, the components of histogram are concentrated on which side of the grey scale?
Select one:
a.
Medium
b.
Evenly distributed
c.
High
d.
Low
Question 10
Correct
Mark 1.00 out of 1.00
Flag question
Question text
22. In _______ image we notice that the components of histogram are concentrated on the low side on
intensity scale.
Select one:
a.
All of the Mentioned
b.
bright
c.
colourful
d.
dark
Question 11
Correct
Mark 1.00 out of 1.00
Flag question
Question text
20. An example of a continuous function of two variables is __________
Select one:
a.
Contrast stretching
b.
Intensity function
c.
Gaussian function
d.
Identity function
Question 12
Correct
Mark 1.00 out of 1.00
Flag question
Question text
4. Dark characteristics in an image are better solved using ___________
Select one:
a.
Power-law Transformation
b.
Histogram Specification
c.
Gaussian Transform
d.
Laplacian Transform
Question 13
Correct
Mark 1.00 out of 1.00
Flag question
Question text
12. A filter that passes low frequencies is _____________
Select one:
a.
High pass filter
b.
Low pass filter
c.
Band pass filter
d.
None of the Mentioned
Question 14
Correct
Mark 1.00 out of 1.00
Flag question
Question text
24. What is Histogram Matching also called as?
Select one:
a.
None of the Mentioned
b.
Histogram Specification
c.
Histogram linearisation
d.
Histogram Equalisation
Question 15
Correct
Mark 1.00 out of 1.00
Flag question
Question text
10. Final step of enhancement lies in _____________ of the sharpened image.
Select one:
a.
Increase dynamic range
b.
Increase range of contrast
c.
Increase range of brightness
d.
None of the mentioned
Question 16
Correct
Mark 1.00 out of 1.00
Flag question
Question text
32. What is the method that is used to generate a processed image that have a specified histogram?
Select one:
a.
Histogram processing
b.
Histogram matching
c.
Histogram linearization
d.
Histogram equalization
Question 17
Correct
Mark 1.00 out of 1.00
Flag question
Question text
2. Which of the following is a second-order derivative operator?
Select one:
a.
Laplacian
b.
Gaussian
c.
None of the mentioned
d.
Histogram
Question 18
Correct
Mark 1.00 out of 1.00
Flag question
Question text
13. What is the process of moving a filter mask over the image and computing the sum of products at each
location called as?
Select one:
a.
Convolution
b.
Correlation
c.
Linear spatial filtering
d.
Non linear spatial filtering
Question 19
Correct
Mark 1.00 out of 1.00
Flag question
Question text
9. An alternate approach to median filtering is ______________
Select one:
a.
Laplacian filter
b.
Use a mask
c.
Sharpening
d.
Gaussian filter
Question 20
Correct
Mark 1.00 out of 1.00
Flag question
Question text
6. Which of the following fails to work on dark intensity distributions?
Select one:
a.
Power-law Transformation
b.
Histogram Equalization
c.
Laplacian Transform
d.
Gaussian Transform
Question 21
Correct
Mark 1.00 out of 1.00
Flag question
Question text
28. The type of Histogram Processing in which pixels are modified based on the intensity distribution of the
image is called _______________.
Select one:
a.
Intensive
b.
Global
c.
Random
d.
Local
Question 22
Correct
Mark 1.00 out of 1.00
Flag question
Question text
27. What does SEM stands for?
Select one:
a.
Scanning Electric Machine
b.
Scanning Electron Microscope
c.
Self Electronic Machine
d.
Scanning Electronic Machine
Question 23
Correct
Mark 1.00 out of 1.00
Flag question
Question text
29. Which type of Histogram Processing is suited for minute detailed enhancements?
Select one:
a.
Local
b.
Intensive
c.
Global
d.
Random
Question 24
Correct
Mark 1.00 out of 1.00
Flag question
Question text
25. Histogram Equalisation is mainly used for ________________
Select one:
a.
Contrast adjustment
b.
None of the Mentioned
c.
Blurring
d.
Image enhancement
Question 25
Correct
Mark 1.00 out of 1.00
Flag question
Question text
3. Response of the gradient to noise and fine detail is _____________ the Laplacian’s.
Select one:
a.
greater than
b.
has no relation with
c.
lower than
d.
equal to
Question 26
Correct
Mark 1.00 out of 1.00
Flag question
Question text
1. Which of the following make an image difficult to enhance?
Select one:
a.
High noise
b.
Narrow range of intensity levels
c.
Dynamic range of intensity levels
d.
All of the mentioned
Question 27
Correct
Mark 1.00 out of 1.00
Flag question
Question text
36. What is the method that is used to generate a processed image that have a specified histogram?
Select one:
a.
Histogram processing
b.
Histogram linearization
c.
Histogram equalization
d.
Histogram matching
Question 28
Correct
Mark 1.00 out of 1.00
Flag question
Question text
15. What is required to generate an M X N linear spatial filter?
Select one:
a.
MN mask coefficients
b.
MN spatial coefficients
c.
None of the Mentioned
d.
M+N coordinates
Question 29
Correct
Mark 1.00 out of 1.00
Flag question
Question text
23. What is Histogram Equalisation also called as?
Select one:
a.
Image Enhancement
b.
Histogram Matching
c.
Histogram linearisation
d.
None of the Mentioned
Question 30
Correct
Mark 1.00 out of 1.00
Flag question
Question text
17. Convolution and Correlation are functions of _____________
Select one:
a.
Intensity
b.
Displacement
c.
Time
d.
Distance
Question 31
Correct
Mark 1.00 out of 1.00
Flag question
Question text
37. Histograms are the basis for numerous spatial domain processing techniques.
Select one:
a.
True
b.
Do not know
c.
None of the mentioned
d.
False
Question 32
Correct
Mark 1.00 out of 1.00
Flag question
Question text
5. What is the smallest possible value of a gradient image?
Select one:
a. -e
b. 1
c. 0
d. e
Question 33
Correct
Mark 1.00 out of 1.00
Flag question
Question text
7. _____________ is used to detect diseases such as bone infection and tumors.
Select one:
a.
X-Ray
b.
PET Scan
c.
MRI Scan
d.
Nuclear Whole Body Scan
Question 34
Correct
Mark 1.00 out of 1.00
Flag question
Question text
19. Which of the following involves Correlation?
Select one:
a.
None of the Mentioned.
b.
Key-points
c.
Matching
d.
Blobs
Question 35
Correct
Mark 1.00 out of 1.00
Flag question
Question text
21. What is the basis for numerous spatial domain processing techniques?
Select one:
a.
Scaling
b.
None of the Mentioned
c.
Histogram
d.
Transformations
Question 36
Correct
Mark 1.00 out of 1.00
Flag question
Question text
30. In uniform PDF, the expansion of PDF is ________________
Select one:
a.
Probability Density Function
b.
Post Derivation Function
c.
Portable Document Format
d.
Previously Derived Function
Question 37
Correct
Mark 1.00 out of 1.00
Flag question
Question text
31. Which of the following conditions does the T(r) must satisfy?
Select one:
a.
T(r) is double-valued and monotonically increasing in the interval 0≤r≤1; and 0≤T(r)≤1 for 0≤r≤1
b.
T(r) is single-valued and monotonically decreasing in the interval 0≤r≤1; and 0≤T(r)≤1 for 0≤r≤1
c.
T(r) is double-valued and monotonically decreasing in the interval 0≤r≤1; and 0≤T(r)≤1 for 0≤r≤1
d.
T(r) is single-valued and monotonically increasing in the interval 0≤r≤1; and 0≤T(r)≤1 for 0≤r≤1
Question 38
Correct
Mark 1.00 out of 1.00
Flag question
Question text
14. The standard deviation controls ___________ of the bell (2-D Gaussian function of bell shape).
Select one:
a.
Curve
b.
Tightness
c.
None of the Mentioned
d.
Size

3.1
#include<bits/stdc++.h>
using namespace std;
int main(){
int n;
cin>>n;
int a[n][n];
for(int i=0;i<n;i++){
for(int j=0;j<n;j++){
cin>>a[i][j];
a[i][j]=(int)255 - a[i][j];
}
}
for(int i=0;i<n;i++){
for(int j=0;j<n;j++){
cout<<a[i][j]<<" ";
}
cout<<endl;
}
}

3.2
#include <iostream>
using namespace std;

int main() {
int threshold;
cin >> threshold;

int n;
cin >> n;

int a[n][n];
for (int i = 0; i < n; i++) {
for (int j = 0; j < n; j++) {
cin >> a[i][j];
}
}
for (int i = 0; i < n; i++) {
for (int j = 0; j < n; j++) {
if (a[i][j] > threshold) {
a[i][j] = 255;
} else {
a[i][j] = 0;
}
}
}

for (int i = 0; i < n; i++) {


for (int j = 0; j < n; j++) {
cout << a[i][j] << " ";
}
cout << endl;
}

return 0;
}

3.3
#include <iostream>
using namespace std;

int main(){
float a;
int b,n;
cin>>a;
cin>>b;
cin>>n;
int M[n][n];
for(int i=0;i<n;i++){
for(int j=0;j<n;j++){
cin>>M[i][j];
}
}
for(int i=0;i<n;i++){
for(int j=0;j<n;j++){
M[i][j] = a*M[i][j] + b;
if(M[i][j] > 255)M[i][j] = 255;
if(M[i][j] < 0)M[i][j] = 0;
}
}

for(int i=0;i<n;i++){
for(int j=0;j<n;j++){
cout<<M[i][j]<<" ";
}
cout<<endl;
}
return 0;

You might also like