辅导案例-EE 356

欢迎使用51辅导,51作业君孵化低价透明的学长辅导平台,服务保持优质,平均费用压低50%以上! 51fudao.top
EE 356 Assigned: Sept. 20, 2020
Project 3 Due: Oct. 4, 2020
Line Drawing

Write a program in C# WPF which will allow the user to read in an image, typically a face, and
convert that image to a line drawing. Figure 1 shows two typical pictures and their
corresponding line drawings.




Figure 1 Sample conversion of a photograph to a line drawing. The line drawing is the original photo
differentiated in two dimensions.

Provide a menu to allow the user to select a photo which may be in color or in gray scale. The
user should also have the option of using one of at least two differentiators – one of these will be
a Sobel algorithm differentiator approximation and the other will be a sixth order 2D digital filter
differentiator. (Coefficient for both algorithms will be provided.) If the photo is in color the
differentiated result should also be in color and likewise if the photo is in gray scale the
differentiated result should be in gray scale.

Minimum Requirements
1. You must have a menu that allows a user to open an image file in bmp format and save the
derivative image in the same file format.
2. Allow either a Sobel derivative approximation and a sixth order 2D digital filter derivative.
3. Show both the original photo and the derivative side-by-side on the screen.
4. After showing one image and its derivative the user must be able to load another indefinitely
without restarting the program. Old image will be overwritten or saved.

Extras:
1. Add additional image types: png, jpg, etc.
2. Allow conversion of a color photo to a grayscale image before the derivative is completed.
3. Allow a tenth order 2D digital filter derivative.

Turn in the following electronically to your instructor
1. A Word document titled EE356P3XXX.docx (where xxx is your three initials) which
contains:
• Cover Sheet – The cover sheet should include your name, course number, project number,
project title, and date handed in.
• A short description of your project. Include an overview and any special features that you
added that are not in the specifications.
2. A complete code file that can be executed. Your code file must have well documented source
code.

Compress these two items into a zip file should have the title EE356P3XXX.zip where XXX is
you three initials.


欢迎咨询51作业君
51作业君

Email:51zuoyejun

@gmail.com

添加客服微信: abby12468