28.02.2013 Views

Bio-medical Ontologies Maintenance and Change Management

Bio-medical Ontologies Maintenance and Change Management

Bio-medical Ontologies Maintenance and Change Management

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Multimedia Medical Databases 127<br />

back-projection algorithm for each set c is applied <strong>and</strong> the color regions<br />

are found. For each region the local histogram Ln [m] is recorded.<br />

– The residue histogram [ m]<br />

= H[<br />

m]<br />

− ∑ L [ m]<br />

is updated.<br />

H r<br />

n n<br />

3. Detection of the three colors regions…<br />

Next, two implementations of the color set back-projection algorithm will be presented.<br />

These original implementations were designed at Software Engineering<br />

Department, Faculty of Automation, Computers <strong>and</strong> Electronics, Craiova.<br />

In the first implementation of the color set back-projection algorithm (Method<br />

1), the image is transformed in HSV color system <strong>and</strong> quantized to 166 colors. At<br />

the end of this process, both the global histogram of the image <strong>and</strong> the color set<br />

are available. To the matrix that stores only the quantized colors from 0 to 165 it is<br />

applied a 5x5 median filter, which has the role of to eliminate the isolated points.<br />

Having the HSV quantized matrix it is possible to begin the process of regions<br />

extraction presented above. It may be observed that this process it is in fact a<br />

depth–first traversal, described in pseudo-cod in the following way:<br />

procedure FindRegions (Image I, colorset C)<br />

InitStack(S)<br />

Visited = ∅<br />

for *each node P in the I do<br />

if *color of P is in C then<br />

PUSH(P)<br />

Visited ← Visited ∪ {P}<br />

while not Empty(S) do<br />

CrtPoint

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!