Write a Matlab user-defined function

Assignment Help MATLAB Programming
Reference no: EM132094076

Assignment -

The purpose of this exercise is to use basic image processing and morphological analysis techniques to quantify reoccurring similar objects in an image. Ideally we want to be able to identify, for example, different cell types and count the number of cells of each type in a microscopy image. However, cells are too complicated for us to work with at the present. Instead, we will sort and count objects that are more tractable-coins.

You will write a Matlab user-defined function that takes as input the image file name as text string, reads in the specified image, uses image intensity and morphological operations for counting, and outputs the numbers of quarters, dimes, nickels and pennies, and total dollar amount, of the coins in the image. For example, one can execute and obtain the following:

>> count_coin('Coins_T1.tiff');

coin count: 7 quarters, 6 dimes, 6 nickels, 8 pennies.

Total amount = $2.73

Specific Instructions:

Work individually without consulting with one another or looking up solutions on the internet. However, you may use Matlab's documentation and help features.

Describe your overall "computational problem" and your computational steps to solve it. Merely listing the Matlab commands used will not be enough.

You may use only the basic Matlab arithmetic and flow control commands and imread, imerode, imdilate, imopen, imclose (including strel) functions, but no other built-in specialty functions from the Signal or Image Processing Toolbox. Violators will forfeit their grade.

(As usual, ask if you are not sure whether a specific function is allowed.)

The body of the code must also be sufficiently and succinctly documented/explained.

Use the provided images to "train" your function (i.e., tweak your settings). You will encounter two types of images, basic and advanced. Basic images (T1 and T2) have isolated coins and coins in contact of neighbors. Advanced images (T3 and T4) in addition contain coins that have small overlap, and one or more foreign coins of the same kind. Your function should work for both types of images, and it will be tested on similar images that are known only to the graders.

Attachment:- Assignment Files.rar

Reference no: EM132094076

Questions Cloud

What are the purposes of integration testing : What are the purposes of Integration testing and who needs to conduct Integration testing?
Light bulbs should be used to light a warehouse : A plant engineer wishes to know which of two types of light bulbs should be used to light a warehouse.
Research and development department : In the research and development department can you tell on what must i based myself when adjusting the size, performance and MTBF.
What was the most difficult part of locating quality : What was the most difficult part of locating quality sources on your topic in Module 6? What was the most rewarding?
Write a Matlab user-defined function : You will write a Matlab user-defined function that takes as input the image file name as text string, reads in the specified image, uses image intensity
Hcm problem solution and defense model : Design your own HCM Problem Solution and Defense model.
Estimate the cost of a client facing project : One of the essential skills great IT Project Managers possess is the ability to estimate the cost of a client facing project so that revenue margins
Iphone production and icloud data : Considering the circumstances, what would you recommend for Apple to do regarding its iPhone production and iCloud data?
Producing the three products in-house : What are the costs for producing the three products in-house? Develop a linear programming model for this problem.

Reviews

Write a Review

MATLAB Programming Questions & Answers

  Finite difference method

Use the finite difference method to calculate the temperature at the point specified since it is easier.

  Determine the necessary shell temperature

In a shell-and-tube heat exchanger, one fluid passes through a central tube while another fluid flows through an outer shell in the opposite direction. The purpose is to heat the fluid passing through the central tube.

  Find the integral of a function at an arbitrary location

Write a Matlab function to perform numerical integration of a set of evenly spaced data points using the trapezoidal rule

  Compute the speed of single-stage planetary gear train

Write a MATLAB function [speed] = planetary (N, emesh, first, last, arm) that computes the speed of a given link in a single-stage planetary gear train.

  Calculate and plot the error in the numerical derivative

Write a program to calculate and plot the error in the numerical estimate of the derivative.

  Create the graph using matlab functions

Create the graph, which contains a piecewise function where a line exists in the first interval, a parabola in the second interval, and the sine function in the third interval.

  Develop a simulation program

Develop a simulation program

  Create a vector in matlab

Create a three dimensional diagram of function.

  Open a named pipe and to read data from the pipe

Open a named pipe and to read data from the pipe in matlab

  Write the commands that will create the matrix

Write the commands that will create the matrix.

  Lagrange interpolating polynomial of degree

Lagrange interpolating polynomial of degree

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd