Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TugboatEng on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Priority level set

Status
Not open for further replies.

jene2in

Computer
Joined
Nov 13, 2006
Messages
1
Location
US
Hi,

I am new to matlab and I was wondering if I can get some tips to a step in matlab.
The goal of the project is face detection using Fast Marching method. The algorithm has a step where we need to find the face pixels. I am able to extract the face pixels and the resulting image is in YCbCr format. The next step is to set the priority level such that:

h(F(x,y))= 0 if I(x,y) belongs to priority 4
= 0.33 if if I(x,y) belongs to priority 3
= 0.66 if I(x,y) belongs to priority 2
= 1 if I(x,y) belongs to priority 1

so that Fast Marching Method propagates through the image depending on the speed function F at each pixel image. The speed function varies between the priority level. I would like to know what is a good command to set the priority level.

I hope I make sense and will appreciate any help. Please let me know if there are any questions.
 
huh? Why wouldn't you simply assign the priority to a variable?

TTFN



 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top