Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

direction dependent mask

Status
Not open for further replies.

musharaf

Newbie level 4
Joined
Apr 18, 2007
Messages
6
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,315
Can anyone tell me ,how to apply direction dependent mask on an image[/img][/code]
 

A weighted mask which can give u the direction of the next pixel is called the direction mask, usually direction masks are used over a binary image .
Code:
  DMASK =   4 3 2
                   5 0 1
                   6 7 8


Multiply the DMASK with the image block of same size and now the center pixel will be 0 and its the orgin, then u have the direction by means of weights of the near by piixels, and u can traverse the image depening on the direction of u r choice,

google ' chain code'  algo  which uses direction masks over a binary image  for more info

hope it helped u a little
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top