<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content=text/html;charset=big5>
<STYLE></STYLE>

<META content="MSHTML 6.00.5730.11" name=GENERATOR></HEAD>
<BODY id=MailContainerBody 
style="PADDING-RIGHT: 10px; PADDING-LEFT: 10px; FONT-SIZE: 10pt; COLOR: #000000; PADDING-TOP: 15px; FONT-FAMILY: Arial" 
bgColor=#ffffff leftMargin=0 topMargin=0 CanvasTabStop="true" acc_role="text" 
name="Compose message area">
<DIV>Dear experts</DIV>
<DIV>&nbsp;</DIV>
<DIV>I was just playing with the watershed pipeline a few days ago using a 
checkerboard pattern (with uint8 grids&nbsp;of black=64, gray=153, white=192), 
and observed a zig-zaggy pattern on some edges (see <A 
title=http://www.ece.ubc.ca/~alberth/watershed.png 
href="http://www.ece.ubc.ca/~alberth/watershed.png">http://www.ece.ubc.ca/~alberth/watershed.png</A>). 
Adding a smooth field on the checkboard results in more zig-zaggy behaviors on 
edges that seem fairly strong&nbsp;in the input image. I am wondering if this is 
normal behavior for the itkWatershedImageFilter?</DIV>
<DIV>&nbsp;</DIV>
<DIV>My pipeline (ITK 3.0.1)&nbsp;setup is as below:</DIV>
<DIV>&nbsp;&nbsp;&nbsp;&nbsp;file reader -&gt;</DIV>
<DIV>&nbsp;&nbsp;&nbsp;&nbsp;vector gradient magnitude image filter (pca off) 
-&gt;</DIV>
<DIV>&nbsp;&nbsp;&nbsp;&nbsp;watershed (level=0.2, threshold=0.0) -&gt;</DIV>
<DIV>&nbsp;&nbsp;&nbsp;&nbsp;relabel component</DIV>
<DIV>&nbsp;</DIV>
<DIV>p.s. The black regions in the outputs are&nbsp;colormap problems and not a 
watershed issue. =)</DIV>
<DIV>&nbsp;</DIV>
<DIV>Thanks</DIV>
<DIV>Albert</DIV>
<DIV>&nbsp;</DIV></BODY></HTML>