Assignment 3
pdf
keyboard_arrow_up
School
Western University *
*We aren’t endorsed by this school
Course
4445
Subject
Mechanical Engineering
Date
Jan 9, 2024
Type
Pages
2
Uploaded by AmbassadorCrownLlama4
ECE4445 / MBP4445 / ECE9201 / ECE9021 / BME9509 / MBP9509
–
Fall 2023
–
Page 1/2
INTRODUCTION TO DIGITAL IMAGE PROCESSING
ASSIGNMENT 3
Due date: Friday, November 10, 2023 by 11:55 pm
Total marks: 5
Late penalty: 0.5 marks per day overdue. Late assignments will not be accepted after 11:55 pm on Monday,
November 13, 2023, and a mark of zero will be given.
All assignments will be done in
groups
, and the same final mark for the assignment will be given to all group
members. You should stick with the same group as for previous assignments.
Instructions for submitting answers are given with each question below. Note that I allow you to keep
resubmitting until the deadline. Only the last submission is available to the TAs for marking. I recommend that all
group members should agree to a submission before uploading it. Only one person in the group needs to submit
on behalf of the entire group.
CONVENTIONS
Fixed-point font (
Courier
) is used to denote MATLAB commands, variables, and filenames.
OBJECTIVES
To write your own function for histogram equalization.
PROBLEMS
Write a MATLAB function that implements the histogram equalization algorithm that was described in the
lectures. The function header should have the form:
function im2 = myequalize_#(im)
where
im
is a
uint8
grayscale image (like
pout.tif
in MATLAB),
im2
is the
uint8
output image and # is
your 2-digit group number. For instance, if you are part of AssignmentGroup-01, your function name would be
myequalize_01.
If you are part of AssignmentGroup-17, your function name would be
myequalize_17.
You can use any built-in MATLAB functions in your code except for
histeq
. A mark of zero (0) will be given
if you use
histeq
. Note that the output of
histeq
may be different than that of
myequalize_#
since they
are using different approaches for histogram equalization, so you cannot use the output of
histeq
to verify if
your function is working correctly.
All code and answers requested below must be submitted using OWL. To provide answers via
OWL:
1.
One group member should log into OWL and access the course site.
2.
Select the
“Assignments”
tool.
3.
From the page tha
t comes up, select “Assignment 3”.
4.
You will now reach the submission page for Assignment 3. Follow the instructions below
for each part to submit answers.
ECE4445 / MBP4445 / ECE9201 / ECE9021 / BME9509 / MBP9509
–
Fall 2023
–
Page 2/2
(a)
[4.5 marks]
Save the function in a file called
myequalize_#.m
where # is your 2-digit group number.
NOTE: Use the exact filename and function name as specified in these instructions. All letters are in
lowercase. Your function should be commented.
When you are on the submission page in OWL for Assignment 3, scroll to the bottom and attach your
M-file. Also, cut and paste this code into the text box.
(b)
[0.5 marks]
Equalize the
uint8
intensity image
pout.tif
using
myequalize_#
.
This image is
available as part of the MATLAB installation. Using the
subplot
command and the
imshow
command,
display the original and equalized images side-by-side in one figure window with the original image on the
left side of the equalized image. You will need to use the
help
command to get more information about
subplot
. Once you generate the display, you should save the display by selecting “File” in the figure
window and then “Save As…”. In the dialog box that comes up, select “TIFF image (*.tif)”
as the output type
and for “File name”, enter “3
b
_#” without quotes where # is your
2-digit group number
(01, 02, …)
. This will
save the figure in the file c
alled “3
b
_#.tif”.
Attach it in OWL as you did the M-file.
Again, each group should only make one submission.
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
- Access to all documents
- Unlimited textbook solutions
- 24/7 expert homework help
Related Documents
Related Questions
How many auxiliary views are found on this print?
arrow_forward
please read everything properly... Take 3 4 5 hrs but solve full accurate drawing on bond paper don't use chat gpt etc okk
arrow_forward
I Blackboard @ Texas Tech Uni x
Bb MasteringEngineering - Spri x
E MasteringEngineering Maste X
C Suppose That H = 3.8 M . (Fi x
X Mathway | Calculus Problem x
y! how to take a full page scree
A session.masteringengineering.com/myct/itemView?assignmentProblemID=12360392&offset=next
ABP O
Tp E
G
KAssignment #3
Fundamental Problem 2.29
5 of 6
>
I Review
Part A
Find the magnitude of the projected component of the force along the pipe AO.
(Figure 1)
Express your answer to three significant figures and include the appropriate units.
µA
FAO =
Value
Units
Submit
Request Answer
Figure
4 m
F = 400 N
6 m
5 m
B
4 m
10:31 PM
O Type here to search
2/7/2021
arrow_forward
please answer do not image format
arrow_forward
R₂ (Ten-point surface roughness)
The
and valleys
mean
#Waviness?
error
* Lay:
of distance b/us five consecutive
sampling length.
over a
It vitlat relates to texture
сероп
roughness is superimposed.
It is
mainly caused because of the deflection b/w
too and workpiece. It refers to irregularities which are
outside the roughnes
cut-off values
Form:
It is a
feature of the surface which
is caused by thermal distortion (deflection or
compressibility of a material under temperature and pressure float)
of tool & workpica
in slide
and
сосу
> Yield strength
macro
الامتحن
elastic to
strength,
yield
It is the
DATE
PAGE
wear
and
4+ represents the direction of predominant
surface pattern produced it reflecto
the machining operation used to produce it.
The magnitude of stress at
from
peaks
maximum
which
of stress at which the transition
plastic occurs is known as
limit of elastic behaviour.
> Toughness: A material's ability to absorb energy
and deform (elastically & plastically)
without fracturing.
arrow_forward
I need help solving this problem.
arrow_forward
4
arrow_forward
00
T
R
%24
Bb R
V qa
du/webapps/assessment/take/launch.jsp?course_assessment_id%=_254968_1&course_id%3D 3565256_1&content id= 52826
* Question Completion Status:
Attach File
Browse Local Files
Browse Content Collection
QUESTION 2
A company needs to choose one supplier for a particular type of silicon wafer used'in the production of
semiconductors. The company has three options. Supplier A sells the silicon wafers for $2.50 per wafer,
independently of the number of wafers ordered. Supplier B sells the wafers for $2.40 each but does not
consider an order for less than 2,000 wafers. Supplier C sells the wafers for $2.30 each but does not accept
an order for less than 3,000 wafers. Assume an order setup cost of $100 and an annual requirement of 20,000
wafers. Assume a 20% annual interest rate for holding cost calculations.
a. Which supplier should be chosen to minimize the total annual cost for the wafers, and what is the
optimal order quantity?
b. If the replenishment lead time for wafers…
arrow_forward
I can't find the symbols for the blank ones
arrow_forward
The answer from Bartleby is missing/blank. Can someone help answer it please and credit this question if possible since it would have been included/explained?
Thank you
Chapter 50 multiple Choice #5 what is the cause of an extremely hard brake pedal
arrow_forward
Home
Insert
Draw
Design
Layout
References
Maili
OLYTECH
Calibri (Bo...
11
v A A
Aa v
m Air. Ma
Paste
в I
U v ab x,
x | A
Name:
ID No.:
rm Air. M
Date:
CRN:
Course Code: JACV 506E
Aircraft Mechanical Mainte
Practice.
ces ( CRI
Page
Originated By
Mark awarded -
Instructor/Assessor:
Assignment: Interpret engineering drawings and diagrams
bus
se Mat
hing Pl
Questions: -
1. Write 2 differences between isometric and oblique projections?
ssment
2. Write 5 details found on the drawing title block?
Feedba
3. Write 4 types of sectional views?
4. Name 3 methods how drawings are stored in?
5. Name 3 types of fits?
arrow_forward
est 2 (copy) (page 4 of 9)
A wiseup.wsu.acza/mod/quiz/attempt.php7attempt=610918cmid 148960&page=3
ops
O YouTube
M Gmail
Maps
O GENERAL MATHEM.
O New Tab
:WSU WiSeUp
1 MONLO GOA
ashboard / My courses / FLM15B2_KF_WS6222 2021 / Tests / Test 2 (copy)
uestion 4
Quz navigation
Gate AB in Figure below is 1.0 m long and 0.9 wide. Calculate force F on the gate and position X of its centre of
Not yet
answered
pressure.
Marked out of
Finish attempt
10,000
Rag question
3m
Oil,
s.g.=Q81
7m
1.0m
B
50
Answer
arrow_forward
reful-files from the Internet can contain viruses. Unless you need to edit, it's safer to stay in Protected View.
Your Full Name
Enable Editing
ID:
Sec:
Q1: Which one is stronger; undeformed copper or
copper that has been plastically deformed?
Q2: Which one is stronger; unannealed copper or
copper annealed (heated) at 750° C?
Q3: Why?
101.
O
Focus
arrow_forward
Four months into a six month deployment, you are a solo pilot returning to home base after an uneventful overwatch mission to a non-disclosed desert
location. Your mission was extended 90 minutes requiring at least one additional aerial refuel. The moon has now set. A shift in prevailing winds causes an
infrequently used runway to be active. You are less familiar with the approach to this runway and have only used it during VFR conditions. The instrument
approach plate reveals you will fly a prolonged DME arc taking you out over the unlit desert away from the dimly lit base.
While flying the above instrument approach, you take another look at the approach plate. When you look up again the airfield lights are visible through the
upper portion of your canopy. You did not sense any change in your aircraft attitude. Which of the following best describes what happened while you looked
at the approach plate?
OA. The black hole effect has amplified the normal reflection of the airfield lights…
arrow_forward
D1M: Class Test (2024)
Max. Time: 2 Hrs.
Max. Marks: 20
Using the first angle
projection method and
view form
the X-
direction. Draw the
Sectional Front View
'A-A, Top View and
Side View (Right).
Note: All dimensions
are in mm.
#20
R20
040
#60
P14
22
#16
44
90
90
10
32
06
20
130
R20
2 HOLES #20
arrow_forward
Based on the Orthographic Projections of the (Shifter Collar & Terminal Block) draw a full section.
arrow_forward
Chrome
File
Edit
View
History
Bookmarks
People
Tab
Window
Help
McGraw-Hill Campus - ALEKS Science - CHM1045 GEN CHEM 1 BLENDED 669113
A bconline.broward.edu/d21/le/content/466883/fullscreen/12868783/View
McGraw-Hill Campus - ALEKS Science
O GASES
Interconverting pressure and force
A chemistry graduate student is designing a pressure vessel for an experiment. The vessel will contain gases at pressures up to 470.0 MPa. The student's
design calls for an observation port on the side of the vessel (see diagram below). The bolts that hold the cover of this port onto the vessel can safely withstand
a force of 2.80 MN.
pressure vessel
bolts
side
View
port
Calculate the maximum safe diameter w of the port. Round your answer to the nearest 0.1 cm.
O cm
Explanation
Check
O2021 McGraw-Hill Education. All Rights Reserved. Terms of Use
FEB
arrow_forward
answer the following BOTH questions, and i know the policy, the 2 questions is FINE and i have read the policy, thanks
arrow_forward
I need answers to questions 10, 11, and 12 pertaining to the print provided.
Note: A tutor keeps putting 1 question into 3 parts and wasted so many of my questions. Never had a issue before until now, please allow a different tutor to answer because I was told I am allowed 3 of these questions.
arrow_forward
I need answers for problems 4, 5, and 6 pertaining to the print provided.
arrow_forward
O LeBron or MJ? X
April 8, 2020 –
B Lecture 13 – Flc x
P CIVENG 2004 ( X
CIVENG 2004
f (2) Facebook
b o LeBron or M. X
O Final_Exam_Pra x
E Untitled docum x
i dib10bmlvqabco.cloudfront.net/attach/k4x223h5u3g1u2/jp1nfmmkpsy79m/k8swrgggfeqt/Final_Exam_Practice_Problem.pdf
10.54 The smooth concrete-lined channel shown in Fig. P10.54 is
built on a slope of 2 m/km. Determine the flowrate if the depth is
y = 1.5 m.
6 m
Concrete
1.0 m
0.5 m
3 m-
11.60 For a trapezoidal shaped channel (n = 0.014 and slope
Sh = 0.0002 with
vertical to 1.5 horizontal), determine the normal depth for a
discharge of 1000 cfs.
20-ft bottom width and side slopes of 1
Consider the flow under the sluice gate of Fig. P10.84. If
yı = 10 ft and all losses are neglected except the dissipa-
tion in the jump, calculate y2 and y3 and the percentage
of dissipation, and sketch the flow to scale with the EGL
included. The channel is horizontal and wide.
Jump
V = 2 ft/s
У2
P10.84
6:41 PM
O Type here to search
E O 4») ENG
21…
arrow_forward
SEE MORE QUESTIONS
Recommended textbooks for you

Elements Of Electromagnetics
Mechanical Engineering
ISBN:9780190698614
Author:Sadiku, Matthew N. O.
Publisher:Oxford University Press

Mechanics of Materials (10th Edition)
Mechanical Engineering
ISBN:9780134319650
Author:Russell C. Hibbeler
Publisher:PEARSON

Thermodynamics: An Engineering Approach
Mechanical Engineering
ISBN:9781259822674
Author:Yunus A. Cengel Dr., Michael A. Boles
Publisher:McGraw-Hill Education

Control Systems Engineering
Mechanical Engineering
ISBN:9781118170519
Author:Norman S. Nise
Publisher:WILEY

Mechanics of Materials (MindTap Course List)
Mechanical Engineering
ISBN:9781337093347
Author:Barry J. Goodno, James M. Gere
Publisher:Cengage Learning

Engineering Mechanics: Statics
Mechanical Engineering
ISBN:9781118807330
Author:James L. Meriam, L. G. Kraige, J. N. Bolton
Publisher:WILEY
Related Questions
- How many auxiliary views are found on this print?arrow_forwardplease read everything properly... Take 3 4 5 hrs but solve full accurate drawing on bond paper don't use chat gpt etc okkarrow_forwardI Blackboard @ Texas Tech Uni x Bb MasteringEngineering - Spri x E MasteringEngineering Maste X C Suppose That H = 3.8 M . (Fi x X Mathway | Calculus Problem x y! how to take a full page scree A session.masteringengineering.com/myct/itemView?assignmentProblemID=12360392&offset=next ABP O Tp E G KAssignment #3 Fundamental Problem 2.29 5 of 6 > I Review Part A Find the magnitude of the projected component of the force along the pipe AO. (Figure 1) Express your answer to three significant figures and include the appropriate units. µA FAO = Value Units Submit Request Answer Figure 4 m F = 400 N 6 m 5 m B 4 m 10:31 PM O Type here to search 2/7/2021arrow_forward
- please answer do not image formatarrow_forwardR₂ (Ten-point surface roughness) The and valleys mean #Waviness? error * Lay: of distance b/us five consecutive sampling length. over a It vitlat relates to texture сероп roughness is superimposed. It is mainly caused because of the deflection b/w too and workpiece. It refers to irregularities which are outside the roughnes cut-off values Form: It is a feature of the surface which is caused by thermal distortion (deflection or compressibility of a material under temperature and pressure float) of tool & workpica in slide and сосу > Yield strength macro الامتحن elastic to strength, yield It is the DATE PAGE wear and 4+ represents the direction of predominant surface pattern produced it reflecto the machining operation used to produce it. The magnitude of stress at from peaks maximum which of stress at which the transition plastic occurs is known as limit of elastic behaviour. > Toughness: A material's ability to absorb energy and deform (elastically & plastically) without fracturing.arrow_forwardI need help solving this problem.arrow_forward
- 4arrow_forward00 T R %24 Bb R V qa du/webapps/assessment/take/launch.jsp?course_assessment_id%=_254968_1&course_id%3D 3565256_1&content id= 52826 * Question Completion Status: Attach File Browse Local Files Browse Content Collection QUESTION 2 A company needs to choose one supplier for a particular type of silicon wafer used'in the production of semiconductors. The company has three options. Supplier A sells the silicon wafers for $2.50 per wafer, independently of the number of wafers ordered. Supplier B sells the wafers for $2.40 each but does not consider an order for less than 2,000 wafers. Supplier C sells the wafers for $2.30 each but does not accept an order for less than 3,000 wafers. Assume an order setup cost of $100 and an annual requirement of 20,000 wafers. Assume a 20% annual interest rate for holding cost calculations. a. Which supplier should be chosen to minimize the total annual cost for the wafers, and what is the optimal order quantity? b. If the replenishment lead time for wafers…arrow_forwardI can't find the symbols for the blank onesarrow_forward
- The answer from Bartleby is missing/blank. Can someone help answer it please and credit this question if possible since it would have been included/explained? Thank you Chapter 50 multiple Choice #5 what is the cause of an extremely hard brake pedalarrow_forwardHome Insert Draw Design Layout References Maili OLYTECH Calibri (Bo... 11 v A A Aa v m Air. Ma Paste в I U v ab x, x | A Name: ID No.: rm Air. M Date: CRN: Course Code: JACV 506E Aircraft Mechanical Mainte Practice. ces ( CRI Page Originated By Mark awarded - Instructor/Assessor: Assignment: Interpret engineering drawings and diagrams bus se Mat hing Pl Questions: - 1. Write 2 differences between isometric and oblique projections? ssment 2. Write 5 details found on the drawing title block? Feedba 3. Write 4 types of sectional views? 4. Name 3 methods how drawings are stored in? 5. Name 3 types of fits?arrow_forwardest 2 (copy) (page 4 of 9) A wiseup.wsu.acza/mod/quiz/attempt.php7attempt=610918cmid 148960&page=3 ops O YouTube M Gmail Maps O GENERAL MATHEM. O New Tab :WSU WiSeUp 1 MONLO GOA ashboard / My courses / FLM15B2_KF_WS6222 2021 / Tests / Test 2 (copy) uestion 4 Quz navigation Gate AB in Figure below is 1.0 m long and 0.9 wide. Calculate force F on the gate and position X of its centre of Not yet answered pressure. Marked out of Finish attempt 10,000 Rag question 3m Oil, s.g.=Q81 7m 1.0m B 50 Answerarrow_forward
arrow_back_ios
SEE MORE QUESTIONS
arrow_forward_ios
Recommended textbooks for you
- Elements Of ElectromagneticsMechanical EngineeringISBN:9780190698614Author:Sadiku, Matthew N. O.Publisher:Oxford University PressMechanics of Materials (10th Edition)Mechanical EngineeringISBN:9780134319650Author:Russell C. HibbelerPublisher:PEARSONThermodynamics: An Engineering ApproachMechanical EngineeringISBN:9781259822674Author:Yunus A. Cengel Dr., Michael A. BolesPublisher:McGraw-Hill Education
- Control Systems EngineeringMechanical EngineeringISBN:9781118170519Author:Norman S. NisePublisher:WILEYMechanics of Materials (MindTap Course List)Mechanical EngineeringISBN:9781337093347Author:Barry J. Goodno, James M. GerePublisher:Cengage LearningEngineering Mechanics: StaticsMechanical EngineeringISBN:9781118807330Author:James L. Meriam, L. G. Kraige, J. N. BoltonPublisher:WILEY

Elements Of Electromagnetics
Mechanical Engineering
ISBN:9780190698614
Author:Sadiku, Matthew N. O.
Publisher:Oxford University Press

Mechanics of Materials (10th Edition)
Mechanical Engineering
ISBN:9780134319650
Author:Russell C. Hibbeler
Publisher:PEARSON

Thermodynamics: An Engineering Approach
Mechanical Engineering
ISBN:9781259822674
Author:Yunus A. Cengel Dr., Michael A. Boles
Publisher:McGraw-Hill Education

Control Systems Engineering
Mechanical Engineering
ISBN:9781118170519
Author:Norman S. Nise
Publisher:WILEY

Mechanics of Materials (MindTap Course List)
Mechanical Engineering
ISBN:9781337093347
Author:Barry J. Goodno, James M. Gere
Publisher:Cengage Learning

Engineering Mechanics: Statics
Mechanical Engineering
ISBN:9781118807330
Author:James L. Meriam, L. G. Kraige, J. N. Bolton
Publisher:WILEY