Font size
Worksheetsimage proc fa1-2 (m1-3)
Total questions: 130
Worksheet time: 33hrs 30mins
Picture elements are also known as (a) . (type your answer in lowercase)
In greyscale images, the level of grey ranges from ____ to ____. (answer in integers only, format of answer is "1, 100" if it's from 1 to 100)
(a)
In true-color images, the number of bits required to represent a pixel is (a) . (answer in integer only)
How many grey levels are there in an 8-bit image? (answer in integer only)
(a)
Matlab will store the result into a default variable named (a) .
How do you run the following in Matlab?
Filename: myscript.m
Location: C:\Users\Gwapo\Desktop
(a)
This is a function name that displays the currently defined variables their data types, and their sizes.
(a)
Declare the 3 x 3 matrix below using Matlab. (Do not put unnecessary spaces in your answer)
(a)
To display a matrix in double datatype, we need to divide it by (a) .
To display full values of a variable, what command is needed to be used.
(a)
Assuming image img is in double datatype, how you will convert it to uint8? (do not include unnecessary spaces, end your command with semicolon)
(a)
This operator generates a vector of values from a to b. (answer using the symbol only)
(a)
Using the single indexing, what is the 8th element of a’
(a)
Given the output below, determine what is the grayscale value of the red channel. (Pixel info: (100, 39) [203 172 143])
(a)
Given the binary equivalent of pixel intensity, what is the least significant bit? (answer using the letter that represents the bit)
(a)
A function that displays currently defined variable names. (answer the function name only)
(a)
what is the result of the command 1:2:10? (use only spaces to separate your the values in your answer)
(a)
Write a Matlab command that will resize an image stored in a variable named ‘x’ by half of its size. (do not include unnecessary spaces, end your command with a semicolon)
(a)
What is the value in row 1 column 1 if matrix a is flipped using rot90?
(a)
Write a Matlab command to read an image named ‘sample.png’ (do not include unnecessary spaces, use semicolon at the end of your command)
(a)
Convert an image to grayscale. (answer in function name only)
(a)
Given the command below, determine its equivalent using impixel function. (do not include unnecessary spaces, end your command with semicolon)
img(39,100,:);
(a)
Given the output below, determine what is the grayscale value of the blue channel. (Pixel info: (100, 39) [203 172 143])
(a)
What is the value in row 1 column 1 if matrix a is flipped using fliplr?
(a)
What is the value in row 2 column 2 if matrix a is reshaped using reshape(a, 2, 8)?
(a)
Matlab prompt is denoted by this symbol.
(a)
Create a 3x3 matrix full of 0s. (do not include spaces)
(a)
Create a zero matrix with 2x3 dimension. (do not include spaces)
(a)
The unint8 – restricts values to integers between ___ and ___ (format: number, number)
(a)
If you want to save a Matlab script for future use, you may save it with a file extension dot (a) . (answer the letter only)
If your Matlab script is not located on the active folder, what command you should use to execute it. (answer using the function name only)
(a)
Given the output below, determine what is the grayscale value of the green channel.
(a)
To obtain the values same as the indexing of pixel info, we can use (a) . (answer in function name only)
Displays the value of the pixel at the bottom of the display.
(a)
This value pertains to Mtlab’s version of infinity. (use only lowercase in your answer)
(a)
Function that allows you to display information about an image. (answer the function name only)
(a)
If we want to get the product of two matrices element-wise then we use what operator? (answer using the symbol only)
(a)
