erosion / dilation help for newbies

Hello,
Can you help me on erosion / dilation for image editing (witout using imerode, imclose, bwmorph etc functions )?

4 Comments

Saying "I try to solve that second homework but i couldn't make it" is not very informative. What happened when you tried?
You are not required to use existing MATLAB functions.
I am not sure: is it Part 1 point 2 that you are working on, or Part 2 ?
Have you ever even programmed before?
Despite your edit today, my answer below, from before, is still what I would say.

Sign in to comment.

Answers (1)

Image Analyst
Image Analyst on 5 Mar 2013
Erosion is a local min. Dilation is a local max. You can use blockproc() or a set of 4 nested for loops to do the same thing. Why do you not want to use the built-in functions?

Categories

Asked:

on 4 Mar 2013

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!