[Insight-users] Fuzzy implementation

Yinpeng Jin yj76 at columbia.edu
Tue, 20 Apr 2004 15:59:03 -0400


This is a multi-part message in MIME format.

------=_NextPart_000_0023_01C426F0.67243850
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Dear Alex:

itkSimpleFuzzyConnectednessImageFilterBase provides a template (base =
class) for the fuzzy connectedness segmentation.=20
depends on the requirement for image data and applications, the user =
might want to define their own flavor of "fuzzy affinity".
However, in ITK, we provided two examples =
"itkSimpleFuzzyConnectednessScalarImageFilter" and =
"itkSimpleFuzzyConnectednessRGBImageFilter"
which work on gray scale data and RGB color image data respectively.=20
these two classes were derived from =
itkSimpleFuzzyConnectednessImageFilterBase, and provide the implement of =
the virtual method "FuzzyAffinity"=20
inherent from itkSimpleFuzzyConnectednessImageFilterBase.=20

this following part of the code in =
itkSimpleFuzzyConnectednessImageFilterBase.=20

 /** Define the fuzzy affinity function between two pixels. */
  virtual double FuzzyAffinity(const PixelType, const PixelType)
  { return 0; }

is to remind the user that if they are to build their own =
FuzzyConnectedness filter, they should provide the implementation of =
this method.=20

you can look at FuzzyAffinity() in both =
"itkSimpleFuzzyConnectednessScalarImageFilter.cxx" and =
"itkSimpleFuzzyConnectednessRGBImageFilter.cxx"
to see how this method works.=20


hope this clarifies.=20

Yinpeng.

  ----- Original Message -----=20
  From: Alex Houston=20
  To: insight-users at itk.org=20
  Sent: Tuesday, April 20, 2004 3:40 PM
  Subject: [Insight-users] Fuzzy implementation


  Hi Guys

  I am tracking the implementation of simplefuzzy connectedness in ITK. =
I started from FuzzyConnectednessImageFilter.cxx
  First fuzzysegmenter->Update( ) is called=20

  I have reached a point where GenerateData( ) calls  FIndStrongPath ( ) =
which in turn calls FuzzyAffinity( )
  { all in the itkSimpleFuzzyConnectednessImageFilterBase.txx file }

  I am trying to see implementation of FuzzyAffinity()=20
  it shows=20
   /** Define the fuzzy affinity function between two pixels. */
    virtual double FuzzyAffinity(const PixelType, const PixelType)
    { return 0; }

  what does this mean, Is there a more detailed implementation.
  Is it calling any another function to compute the fuzzy affinity.

  I want to have look at the method which computes fuzzy affinity.

  Can somebody please guide me

  Thanks
  Alex Houston






-------------------------------------------------------------------------=
-----
  Do you Yahoo!?
  Yahoo! Photos: High-quality 4x6 digital prints for 25=A2
  ----- Original Message -----=20
  From: Alex Houston=20
  To: insight-users at itk.org=20
  Sent: Tuesday, April 20, 2004 3:40 PM
  Subject: [Insight-users] Fuzzy implementation


  Hi Guys

  I am tracking the implementation of simplefuzzy connectedness in ITK. =
I started from FuzzyConnectednessImageFilter.cxx
  First fuzzysegmenter->Update( ) is called=20

  I have reached a point where GenerateData( ) calls  FIndStrongPath ( ) =
which in turn calls FuzzyAffinity( )
  { all in the itkSimpleFuzzyConnectednessImageFilterBase.txx file }

  I am trying to see implementation of FuzzyAffinity()=20
  it shows=20
   /** Define the fuzzy affinity function between two pixels. */
    virtual double FuzzyAffinity(const PixelType, const PixelType)
    { return 0; }

  what does this mean, Is there a more detailed implementation.
  Is it calling any another function to compute the fuzzy affinity.

  I want to have look at the method which computes fuzzy affinity.

  Can somebody please guide me

  Thanks
  Alex Houston






-------------------------------------------------------------------------=
-----
  Do you Yahoo!?
  Yahoo! Photos: High-quality 4x6 digital prints for 25=A2
------=_NextPart_000_0023_01C426F0.67243850
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2800.1400" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV>
<DIV><FONT face=3DArial size=3D2>Dear Alex:</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial =
size=3D2>itkSimpleFuzzyConnectednessImageFilterBase provides=20
a template (base class) for the fuzzy connectedness segmentation. =
</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>depends on the requirement for image =
data and=20
applications, the user might want to define their own flavor of "fuzzy=20
affinity".</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>However, in ITK, we provided two =
examples=20
"itkSimpleFuzzyConnectednessScalarImageFilter" and=20
"itkSimpleFuzzyConnectednessRGBImageFilter"</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>which work on gray scale data and RGB =
color image=20
data respectively. </FONT></DIV>
<DIV><FONT face=3DArial size=3D2>these two classes were derived from=20
itkSimpleFuzzyConnectednessImageFilterBase, and provide the implement of =
the=20
virtual method "FuzzyAffinity" </FONT></DIV>
<DIV><FONT face=3DArial size=3D2>inherent from=20
itkSimpleFuzzyConnectednessImageFilterBase. </FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>this following part of the code in=20
itkSimpleFuzzyConnectednessImageFilterBase. </FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV>&nbsp;/** Define the fuzzy affinity function between two pixels.=20
*/<BR>&nbsp; virtual double FuzzyAffinity(const PixelType, const=20
PixelType)<BR>&nbsp; { return 0; }</DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>is to remind the user that if they are =
to build=20
their own FuzzyConnectedness filter, they should provide the =
implementation of=20
this method. </FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>you can look at FuzzyAffinity() in both =

"itkSimpleFuzzyConnectednessScalarImageFilter.cxx" and=20
"itkSimpleFuzzyConnectednessRGBImageFilter.cxx"</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>to see how this method works. =
</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>hope this clarifies. </FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Yinpeng.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<BLOCKQUOTE=20
style=3D"PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; =
BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
  <DIV style=3D"FONT: 10pt arial">----- Original Message ----- </DIV>
  <DIV=20
  style=3D"BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: =
black"><B>From:</B>=20
  <A title=3Dahouston_29 at yahoo.com =
href=3D"mailto:ahouston_29 at yahoo.com">Alex=20
  Houston</A> </DIV>
  <DIV style=3D"FONT: 10pt arial"><B>To:</B> <A =
title=3Dinsight-users at itk.org=20
  href=3D"mailto:insight-users at itk.org">insight-users at itk.org</A> </DIV>
  <DIV style=3D"FONT: 10pt arial"><B>Sent:</B> Tuesday, April 20, 2004 =
3:40=20
  PM</DIV>
  <DIV style=3D"FONT: 10pt arial"><B>Subject:</B> [Insight-users] Fuzzy=20
  implementation</DIV>
  <DIV><BR></DIV>
  <DIV>Hi Guys</DIV>
  <DIV>&nbsp;</DIV>
  <DIV>I am tracking the implementation of simplefuzzy connectedness in =
ITK. I=20
  started from FuzzyConnectednessImageFilter.cxx</DIV>
  <DIV>First fuzzysegmenter-&gt;Update( ) is called </DIV>
  <DIV>&nbsp;</DIV>
  <DIV>I have reached a point where GenerateData( ) calls&nbsp; =
FIndStrongPath (=20
  ) which in turn calls FuzzyAffinity( )</DIV>
  <DIV>{ all in the itkSimpleFuzzyConnectednessImageFilterBase.txx file =
}</DIV>
  <DIV>&nbsp;</DIV>
  <DIV>I am trying to see implementation of FuzzyAffinity() </DIV>
  <DIV>it shows </DIV>
  <DIV>&nbsp;/** Define the fuzzy affinity function between two pixels.=20
  */<BR>&nbsp; virtual double FuzzyAffinity(const PixelType, const=20
  PixelType)<BR>&nbsp; { return 0; }<BR></DIV>
  <DIV>what does this mean, Is there a more detailed =
implementation.</DIV>
  <DIV>Is it calling any another function to compute the fuzzy =
affinity.</DIV>
  <DIV>&nbsp;</DIV>
  <DIV>I want to have look at the method which computes fuzzy =
affinity.</DIV>
  <DIV>&nbsp;</DIV>
  <DIV>Can somebody please guide me</DIV>
  <DIV>&nbsp;</DIV>
  <DIV>Thanks</DIV>
  <DIV>Alex Houston</DIV>
  <DIV>&nbsp;</DIV>
  <DIV>&nbsp;</DIV>
  <DIV>&nbsp;</DIV>
  <DIV>&nbsp;</DIV>
  <P>
  <HR SIZE=3D1>
  <FONT face=3Darial size=3D-1>Do you Yahoo!?<BR>Yahoo! Photos: <A=20
  =
href=3D"http://pa.yahoo.com/*http://us.rd.yahoo.com/evt=3D23765/*http://p=
hotos.yahoo.com/ph/print_splash">High-quality=20
  4x6 digital prints for 25=A2</A></FONT></BLOCKQUOTE></DIV>
<BLOCKQUOTE=20
style=3D"PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; =
BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
  <DIV style=3D"FONT: 10pt arial">----- Original Message ----- </DIV>
  <DIV=20
  style=3D"BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: =
black"><B>From:</B>=20
  <A title=3Dahouston_29 at yahoo.com =
href=3D"mailto:ahouston_29 at yahoo.com">Alex=20
  Houston</A> </DIV>
  <DIV style=3D"FONT: 10pt arial"><B>To:</B> <A =
title=3Dinsight-users at itk.org=20
  href=3D"mailto:insight-users at itk.org">insight-users at itk.org</A> </DIV>
  <DIV style=3D"FONT: 10pt arial"><B>Sent:</B> Tuesday, April 20, 2004 =
3:40=20
  PM</DIV>
  <DIV style=3D"FONT: 10pt arial"><B>Subject:</B> [Insight-users] Fuzzy=20
  implementation</DIV>
  <DIV><BR></DIV>
  <DIV>Hi Guys</DIV>
  <DIV>&nbsp;</DIV>
  <DIV>I am tracking the implementation of simplefuzzy connectedness in =
ITK. I=20
  started from FuzzyConnectednessImageFilter.cxx</DIV>
  <DIV>First fuzzysegmenter-&gt;Update( ) is called </DIV>
  <DIV>&nbsp;</DIV>
  <DIV>I have reached a point where GenerateData( ) calls&nbsp; =
FIndStrongPath (=20
  ) which in turn calls FuzzyAffinity( )</DIV>
  <DIV>{ all in the itkSimpleFuzzyConnectednessImageFilterBase.txx file =
}</DIV>
  <DIV>&nbsp;</DIV>
  <DIV>I am trying to see implementation of FuzzyAffinity() </DIV>
  <DIV>it shows </DIV>
  <DIV>&nbsp;/** Define the fuzzy affinity function between two pixels.=20
  */<BR>&nbsp; virtual double FuzzyAffinity(const PixelType, const=20
  PixelType)<BR>&nbsp; { return 0; }<BR></DIV>
  <DIV>what does this mean, Is there a more detailed =
implementation.</DIV>
  <DIV>Is it calling any another function to compute the fuzzy =
affinity.</DIV>
  <DIV>&nbsp;</DIV>
  <DIV>I want to have look at the method which computes fuzzy =
affinity.</DIV>
  <DIV>&nbsp;</DIV>
  <DIV>Can somebody please guide me</DIV>
  <DIV>&nbsp;</DIV>
  <DIV>Thanks</DIV>
  <DIV>Alex Houston</DIV>
  <DIV>&nbsp;</DIV>
  <DIV>&nbsp;</DIV>
  <DIV>&nbsp;</DIV>
  <DIV>&nbsp;</DIV>
  <P>
  <HR SIZE=3D1>
  <FONT face=3Darial size=3D-1>Do you Yahoo!?<BR>Yahoo! Photos: <A=20
  =
href=3D"http://pa.yahoo.com/*http://us.rd.yahoo.com/evt=3D23765/*http://p=
hotos.yahoo.com/ph/print_splash">High-quality=20
  4x6 digital prints for 25=A2</A></FONT></BLOCKQUOTE></BODY></HTML>

------=_NextPart_000_0023_01C426F0.67243850--