<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Correlated Diffusion Imaging &#8211; VISION AND IMAGE PROCESSING (VIP) RESEARCH GROUP</title>
	<atom:link href="https://vip.uwaterloo.ca/category/research-demos/correlated-diffusion-imaging/feed/" rel="self" type="application/rss+xml" />
	<link>https://vip.uwaterloo.ca</link>
	<description>The University of Waterloo&#039;s Vision and Image Processing Lab</description>
	<lastBuildDate>Tue, 10 Mar 2026 20:15:48 +0000</lastBuildDate>
	<language>en-CA</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.7</generator>

<image>
	<url>https://vip.uwaterloo.ca/wp-content/uploads/2023/04/cropped-favicon-32x32.png</url>
	<title>Correlated Diffusion Imaging &#8211; VISION AND IMAGE PROCESSING (VIP) RESEARCH GROUP</title>
	<link>https://vip.uwaterloo.ca</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>Amy Tai</title>
		<link>https://vip.uwaterloo.ca/amy-tai/</link>
		
		<dc:creator><![CDATA[Amy Tai]]></dc:creator>
		<pubDate>Sun, 09 Feb 2025 01:06:08 +0000</pubDate>
				<category><![CDATA[Alexander Wong]]></category>
		<category><![CDATA[Biomedical Imaging]]></category>
		<category><![CDATA[Computer Vision]]></category>
		<category><![CDATA[Correlated Diffusion Imaging]]></category>
		<category><![CDATA[Current Students]]></category>
		<category><![CDATA[Image Segmentation/Classification]]></category>
		<category><![CDATA[Ph.D.]]></category>
		<category><![CDATA[Skin Cancer Detection]]></category>
		<guid isPermaLink="false">https://vip.uwaterloo.ca/?p=4249</guid>

					<description><![CDATA[Amy Tai is a PhD student in the Vision and Image Processing Lab at the University of Waterloo. She is in the Computer Science program and supervised by Alexander Wong and Lukasz Golab. Her research focuses on the cancer domain with focus on medical imaging and computer vision. Previously, she completed her Master of Applied Sciences in the Systems Design Engineering program and her Bachelor of Applied Science in Management Engineering at the University of Waterloo. Outside of research, she enjoys playing squash, travelling, hiking, and swimming.]]></description>
										<content:encoded><![CDATA[
<p>Amy Tai is a PhD student in the Vision and Image Processing Lab at the University of Waterloo. She is in the Computer Science program and supervised by Alexander Wong and Lukasz Golab. Her research focuses on the cancer domain with focus on medical imaging and computer vision. Previously, she completed her Master of Applied Sciences in the Systems Design Engineering program and her Bachelor of Applied Science in Management Engineering at the University of Waterloo. Outside of research, she enjoys playing squash, travelling, hiking, and swimming. </p>



<p><strong>LinkedIn</strong>: <a href="https://ca.linkedin.com/in/amy-tai">https://ca.linkedin.com/in/amy-tai</a></p>


<div class="lazyblock-supervisors-ZQ9ais wp-block-lazyblock-supervisors"><link rel='stylesheet' href='https://fonts.googleapis.com/css?family=Source+Serif+Pro'>
  <div style='margin-bottom: 0.6rem; font-family: Source Serif Pro, Georgia, Times New Roman, serif; font-size: 3rem; font-weight: bold;'>Supervisors</div><a href=https://vip.uwaterloo.ca/a-wong/>Alexander Wong</a></div>

<div class="lazyblock-research-interests-Z1DkGKe wp-block-lazyblock-research-interests"><link rel='stylesheet' href='https://fonts.googleapis.com/css?family=Source+Serif+Pro'>
  <div style='margin-bottom: 0.6rem; font-family: Source Serif Pro, Georgia, Times New Roman, serif; font-size: 3rem; font-weight: bold;'>Research interests</div>Amy&#8217;s research areas include medical image analysis, personalized nutrition intervention for the aging population, and improved rendering of 3D models. As a lead on the Cancer-Net initiatives, she is focused on providing open-sourced datasets and pre-trained models for the task of cancer diagnosis and prognosis, and nutritional intake estimation, respectively. In general, Amy is interested in medical research that leverages technological advancements to improve healthcare for all.</div>

<div class="lazyblock-research-Z9pAcq wp-block-lazyblock-research"><link rel='stylesheet' href='https://fonts.googleapis.com/css?family=Source+Serif+Pro'>
  <div style='margin-bottom: 0.6rem; font-family: Source Serif Pro, Georgia, Times New Roman, serif; font-size: 3rem; font-weight: bold;'>Research topics</div><a href=https://vip.uwaterloo.ca/biomedical-imaging/>Biomedical Imaging</a><br><a href=https://vip.uwaterloo.ca/computer-vision/>Computer Vision</a><br><a href=https://vip.uwaterloo.ca/image-segmentation-classification/>Image Segmentation/Classification</a><br><link rel='stylesheet' href='https://fonts.googleapis.com/css?family=Source+Serif+Pro'>
  <div style='margin-bottom: 0.6rem; font-family: Source Serif Pro, Georgia, Times New Roman, serif; font-size: 3rem; font-weight: bold;'>Research demos</div><a href=https://vip.uwaterloo.ca/correlated-diffusion-imaging/>Correlated Diffusion Imaging</a><br><a href=https://vip.uwaterloo.ca/skin-cancer-detection/>Skin Cancer Detection</a><br></div>

<div class="lazyblock-publications-Z1kc07U wp-block-lazyblock-publications"><meta charset="utf-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.2.3/dist/css/bootstrap.min.css" rel="stylesheet">
  <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.2.3/dist/js/bootstrap.bundle.min.js"></script>
  <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Source+Serif+Pro">

  <!-- Load external CSS styles -->
  <link rel="stylesheet" href="../stylesbootstrap.css">

<style>

#peoplePublications {
    font-family: "Source Serif Pro", "Georgia", "Times New Roman", "serif";
    font-weight: bold;
    font-size: 3rem;
    text-align: start;
    margin-bottom: 0.6em;
}

#peoplePublications ~ span {
    font-family: "Source Serif Pro", "Georgia", "Times New Roman", "serif";
    font-weight: bold;
    font-size: 1.75rem;
    text-align: start;
    margin-bottom: 0.5em;
}

#nav {
    text-align: start;
    font-family: "Source Serif Pro", "Georgia", "Times New Roman", "serif";
    margin-bottom: 0.5em;
    margin-left: 0;
    padding-left: 0;
}

#nav a {
    text-decoration-line: underline;
}

#nav a:hover {
    text-decoration-line: none;
}

#mainContent {
    max-width: 100%;
}

#pubDataJournals {
    font-family: "Source Serif Pro", "Georgia", "Times New Roman", "serif";
    padding-left: 0;
    font-size: 1.75rem;
    white-space: pre-wrap;
}

#pubDataConference {
    font-family: "Source Serif Pro", "Georgia", "Times New Roman", "serif";
    padding-left: 0;
    font-size: 1.75rem;
    white-space: pre-wrap;
}
</style>

  <!--Main Content-->
  <div class="container mt-5" id="mainContent">
  
   <div class="row">
      <div class="col ps-0" id="peoplePublications">Publications</div>
      <div id="nav">
        <a href="#journalArticles">Journal Articles</a>
        <span> / </span>
        <a href="#conferencePapers">Conference Papers</a>
      </div>
      <span id="journalArticles" class="ps-0">Journal Articles</span>
      <p id="pubDataJournals">
        <!-- journal data from JS here -->
      </p>
      <span id="conferencePapers" class="ps-0">Conference Papers</span>
      <div id="nav">
        <a href="#peoplePublications">Top</a>
      </div>
      <p id="pubDataConference">
        <!-- conference paper data from JS here -->
      </p>
    </div>
  </div>

<script>
	  let pubDataJournals = "";
	  let pubDataConference = "";
    let publications = [];
    const apiID = "https://ecserv2.uwaterloo.ca/researchmicro/research/reverseauthor.php?scopus_id="
    const api = "https://ecserv2.uwaterloo.ca/researchmicro/research/publications.php?user=";
    const openAccess = "https://bg.api.oa.works/find?id=";
    let userID;
    getNexus(57223424149);

    async function getNexus(scopusID)
    {
        let userInfo = await fetch(apiID+scopusID);
        let userInfoText = await userInfo.text();
        if(userInfoText == "Sorry, you do not have a Scopus ID assigned")
        {
          document.getElementById('peoplePublications').style.display = "none";
          document.querySelectorAll('[id="nav"]')[0].style.display = "none";
          document.querySelectorAll('[id="nav"]')[1].style.display = "none";
          document.getElementById('journalArticles').style.display = "none";
          document.getElementById('conferencePapers').style.display = "none";
          document.getElementById('pubDataJournals').style.display = "none";
          document.getElementById('pubDataConference').style.display = "none";
        }
        else
        {
          userID = JSON.parse(userInfoText).rows.nexus;
          displayPublications();
        }
    }

    async function getOA(searchQuery)
    {
        let openInfo = await fetch(openAccess + searchQuery);
        let openInfoText = await openInfo.text();
        return JSON.parse(openInfoText).url;
    }

    async function getPublications(file) {
        let publicationData = await fetch(file);
        let pubText = await publicationData.text();
        pubText = pubText.replace("=", ":"); //correcting API issue with = instead of :
        return JSON.parse(pubText);
    }

    function generateLink(id, title)
    {
        id.onclick = "";
        title = title.replaceAll(/ /g, '%20');
        id.innerHTML = "loading..."
        getOA(title).then(
            function(value)
            {
                if(value == null)
                {
                    id.innerHTML = "Search UWaterloo Library";
                    id.href = 'https://ocul-wtl.primo.exlibrisgroup.com/discovery/search?query=any,contains,' + title + '&tab=OCULDiscoveryNetwork&search_scope=OCULDiscoveryNetwork&vid=01OCUL_WTL:WTL_DEFAULT&lang=en&offset=0';
                    id.target = "_blank";
                }
                else
                {
                    id.href = value;
                    id.target = "_blank";
                    id.innerHTML = "Open";
                }
            },
            function(error)
            {
                id.href = "#";
                id.innerHTML = "Not found";
            });
    }

    function isConference(publication)
    {
    	return publication.volume == 0 || publication.pub_name.includes("Conference") || publication.pub_name.includes("Proceedings") || publication.pub_name.includes("Lecture Notes") || publication.pub_name.includes("Symposium");
   	}

   function displayPublications() {
	    getPublications(api+userID).then(
            function(value) {
                const size = value.rows.length;
                let pubListJournals = "";
                let pubListConference = "";
                for(var i = 0; i < size; i++)
                            {
                                let publication = "";
                                let authors = value.rows[i].list_names_of_authors.split(", ");
                                lastIndex = authors.length - 1;
                                authors[lastIndex] = authors[lastIndex].slice(4, authors[lastIndex].length - 1);
                                let possibleSupervisors = ["Clausi D.", "Fieguth P.W.", "Fieguth P.", "Wong A.", "Zelek J.", "Xu L.", "Scott A.", "Rambhatla S.", "Lee J.", "Chen Y.", "Shafiee M.J."];
                                if(authors.some(r=>possibleSupervisors.includes(r)))
                                {
                                for(var j = 0; j <= lastIndex; j++)
                                {  
                                    let authorLink = "";
                                    let authorsLC = authors[j].toLowerCase();
                                    if(j == lastIndex)
                                    {
                                        if(authorsLC.includes("."))
                                        {  
                                            authorLink += authorsLC.charAt(authorsLC.indexOf(".") - 1);
                                            authorLink += "-";
                                            authorLink += authorsLC.slice(0, authorsLC.indexOf(" "));
                                        }
                                        else
                                        {
                                            authorLink += authorsLC.charAt(authorsLC.length - 1);
                                            authorLink += "-";
                                            authorLink += authorsLC.slice(0, authorsLC.indexOf(" "));
                                        }
                                        
                                    }
                                    else
                                    {
                                        authorLink += authorsLC.charAt(authorsLC.indexOf(".") - 1);
                                        authorLink += "-";
                                        authorLink += authorsLC.slice(0, authorsLC.indexOf(" "));
                                        
                                    }
                                    authorLink = 'https://vip.uwaterloo.ca/' + authorLink;
                                    if(j != lastIndex)
                                    {
                                        publication += `<a href='${authorLink}' target='_blank'>${authors[j]}</a>` + ", ";
                                    }
                                    else 
                                    {
                                        publication += "and " + `<a href='${authorLink}' target='_blank'>${authors[j]}</a>`;
                                    }
                                }

                                publication += ', "';
                                
                                publication += value.rows[i].title;
                                
                                publication += '", ';
                                publication += value.rows[i].pub_name;
                                if (!isConference(value.rows[i]))
                                {
                                    publication += ", vol. ";
                                    publication += value.rows[i].volume;
                                    publication += ", ";
                                }
                                if (value.rows[i].page_range != "" && !isConference(value.rows[i]))
                                {
                                    publication += "pp. ";
                                    publication += value.rows[i].page_range;
                                    publication += ", ";
                                }
                                else if(isConference(value.rows[i]))
                                {
                                    publication += ", ";
                                }
                                publication += value.rows[i].year;
                                publication += ". ";
                                publication += `<a href="#" onclick="generateLink(this, '${value.rows[i].title}');event.preventDefault();">Get it here.</a>`;
                                
                                publication += "\n\n";
                                if (isConference(value.rows[i]))
                                {
                                    pubListConference += publication;
                                }
                                else
                                {
                                      pubListJournals += publication;
                                }
                                }
                            }
                document.getElementById('pubDataJournals').innerHTML = pubListJournals;
                document.getElementById('pubDataConference').innerHTML = pubListConference;
                if(pubListConference == "")
                {
                   document.getElementById('conferencePapers').style.display = "none";
                }
                if(pubListJournals == "")
                {
                  document.getElementById('journalArticles').style.display = "none";
                }
            },
            function(error) {document.getElementById('pubDataJournals').innerHTML = "Error retrieving data.";}
        )
    }

   
</script></div>


<p></p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Chi-en (Amy) Tai</title>
		<link>https://vip.uwaterloo.ca/c-tai/</link>
		
		<dc:creator><![CDATA[Amy Tai]]></dc:creator>
		<pubDate>Sun, 07 May 2023 17:28:05 +0000</pubDate>
				<category><![CDATA[Alexander Wong]]></category>
		<category><![CDATA[Alumni]]></category>
		<category><![CDATA[Biomedical Imaging]]></category>
		<category><![CDATA[Computer Vision]]></category>
		<category><![CDATA[Correlated Diffusion Imaging]]></category>
		<category><![CDATA[Image Segmentation/Classification]]></category>
		<category><![CDATA[M.A.Sc.]]></category>
		<category><![CDATA[Skin Cancer Detection]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<guid isPermaLink="false">https://vip.uwaterloo.ca/?p=3325</guid>

					<description><![CDATA[Chi-en (Amy) Tai is a Master of Applied Science student in Systems Design Engineering, supervised by Professor Alexander Wong. She is part of the Cancer-Net initiative focused on cancer diagnosis and prognosis using medical imaging and computer vision. She is also part of the NutritionVerse initiative centered around personalized nutrition intervention and intake estimation.]]></description>
										<content:encoded><![CDATA[
<p>Amy Tai is a Master of Applied Science student in the Vision and Image Processing Lab at the University of Waterloo. She is in the Systems Design Engineering program and supervised by Professor Alexander Wong. Her research focuses on cancer diagnosis and prognosis using medical imaging and computer vision. Previously, she completed her Bachelor of Applied Science in Management Engineering at the University of Waterloo. Outside of research, she enjoys hiking, travelling, rock climbing, playing squash, and swimming.</p>



<p><strong>LinkedIn</strong>: <a href="https://ca.linkedin.com/in/amy-tai">https://ca.linkedin.com/in/amy-tai</a></p>


<div class="lazyblock-supervisors-ZQ9ais wp-block-lazyblock-supervisors"><link rel='stylesheet' href='https://fonts.googleapis.com/css?family=Source+Serif+Pro'>
  <div style='margin-bottom: 0.6rem; font-family: Source Serif Pro, Georgia, Times New Roman, serif; font-size: 3rem; font-weight: bold;'>Supervisors</div><a href=https://vip.uwaterloo.ca/a-wong/>Alexander Wong</a></div>

<div class="lazyblock-research-interests-Z1BScXV wp-block-lazyblock-research-interests"><link rel='stylesheet' href='https://fonts.googleapis.com/css?family=Source+Serif+Pro'>
  <div style='margin-bottom: 0.6rem; font-family: Source Serif Pro, Georgia, Times New Roman, serif; font-size: 3rem; font-weight: bold;'>Research interests</div>Amy&#8217;s research areas include medical image analysis, personalized nutrition intervention for the aging population, and improved rendering of 3D models. As a collaborator on the Cancer-Net and NutritionVerse initiatives, she is focused on providing open-sourced datasets and pre-trained models for the task of cancer diagnosis and prognosis, and nutritional intake estimation, respectively. In general, Amy is interested in medical research that leverages technological advancements to improve healthcare for all.</div>

<div class="lazyblock-research-ZIvO2I wp-block-lazyblock-research"><link rel='stylesheet' href='https://fonts.googleapis.com/css?family=Source+Serif+Pro'>
  <div style='margin-bottom: 0.6rem; font-family: Source Serif Pro, Georgia, Times New Roman, serif; font-size: 3rem; font-weight: bold;'>Research topics</div><a href=https://vip.uwaterloo.ca/biomedical-imaging/>Biomedical Imaging</a><br><a href=https://vip.uwaterloo.ca/computer-vision/>Computer Vision</a><br><a href=https://vip.uwaterloo.ca/image-segmentation-classification/>Image Segmentation/Classification</a><br><link rel='stylesheet' href='https://fonts.googleapis.com/css?family=Source+Serif+Pro'>
  <div style='margin-bottom: 0.6rem; font-family: Source Serif Pro, Georgia, Times New Roman, serif; font-size: 3rem; font-weight: bold;'>Research demos</div><a href=https://vip.uwaterloo.ca/correlated-diffusion-imaging/>Correlated Diffusion Imaging</a><br><a href=https://vip.uwaterloo.ca/skin-cancer-detection/>Skin Cancer Detection</a><br></div>

<div class="lazyblock-publications-bHspv wp-block-lazyblock-publications"><meta charset="utf-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.2.3/dist/css/bootstrap.min.css" rel="stylesheet">
  <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.2.3/dist/js/bootstrap.bundle.min.js"></script>
  <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Source+Serif+Pro">

  <!-- Load external CSS styles -->
  <link rel="stylesheet" href="../stylesbootstrap.css">

<style>

#peoplePublications {
    font-family: "Source Serif Pro", "Georgia", "Times New Roman", "serif";
    font-weight: bold;
    font-size: 3rem;
    text-align: start;
    margin-bottom: 0.6em;
}

#peoplePublications ~ span {
    font-family: "Source Serif Pro", "Georgia", "Times New Roman", "serif";
    font-weight: bold;
    font-size: 1.75rem;
    text-align: start;
    margin-bottom: 0.5em;
}

#nav {
    text-align: start;
    font-family: "Source Serif Pro", "Georgia", "Times New Roman", "serif";
    margin-bottom: 0.5em;
    margin-left: 0;
    padding-left: 0;
}

#nav a {
    text-decoration-line: underline;
}

#nav a:hover {
    text-decoration-line: none;
}

#mainContent {
    max-width: 100%;
}

#pubDataJournals {
    font-family: "Source Serif Pro", "Georgia", "Times New Roman", "serif";
    padding-left: 0;
    font-size: 1.75rem;
    white-space: pre-wrap;
}

#pubDataConference {
    font-family: "Source Serif Pro", "Georgia", "Times New Roman", "serif";
    padding-left: 0;
    font-size: 1.75rem;
    white-space: pre-wrap;
}
</style>

  <!--Main Content-->
  <div class="container mt-5" id="mainContent">
  
   <div class="row">
      <div class="col ps-0" id="peoplePublications">Publications</div>
      <div id="nav">
        <a href="#journalArticles">Journal Articles</a>
        <span> / </span>
        <a href="#conferencePapers">Conference Papers</a>
      </div>
      <span id="journalArticles" class="ps-0">Journal Articles</span>
      <p id="pubDataJournals">
        <!-- journal data from JS here -->
      </p>
      <span id="conferencePapers" class="ps-0">Conference Papers</span>
      <div id="nav">
        <a href="#peoplePublications">Top</a>
      </div>
      <p id="pubDataConference">
        <!-- conference paper data from JS here -->
      </p>
    </div>
  </div>

<script>
	  let pubDataJournals = "";
	  let pubDataConference = "";
    let publications = [];
    const apiID = "https://ecserv2.uwaterloo.ca/researchmicro/research/reverseauthor.php?scopus_id="
    const api = "https://ecserv2.uwaterloo.ca/researchmicro/research/publications.php?user=";
    const openAccess = "https://bg.api.oa.works/find?id=";
    let userID;
    getNexus(57223424149);

    async function getNexus(scopusID)
    {
        let userInfo = await fetch(apiID+scopusID);
        let userInfoText = await userInfo.text();
        if(userInfoText == "Sorry, you do not have a Scopus ID assigned")
        {
          document.getElementById('peoplePublications').style.display = "none";
          document.querySelectorAll('[id="nav"]')[0].style.display = "none";
          document.querySelectorAll('[id="nav"]')[1].style.display = "none";
          document.getElementById('journalArticles').style.display = "none";
          document.getElementById('conferencePapers').style.display = "none";
          document.getElementById('pubDataJournals').style.display = "none";
          document.getElementById('pubDataConference').style.display = "none";
        }
        else
        {
          userID = JSON.parse(userInfoText).rows.nexus;
          displayPublications();
        }
    }

    async function getOA(searchQuery)
    {
        let openInfo = await fetch(openAccess + searchQuery);
        let openInfoText = await openInfo.text();
        return JSON.parse(openInfoText).url;
    }

    async function getPublications(file) {
        let publicationData = await fetch(file);
        let pubText = await publicationData.text();
        pubText = pubText.replace("=", ":"); //correcting API issue with = instead of :
        return JSON.parse(pubText);
    }

    function generateLink(id, title)
    {
        id.onclick = "";
        title = title.replaceAll(/ /g, '%20');
        id.innerHTML = "loading..."
        getOA(title).then(
            function(value)
            {
                if(value == null)
                {
                    id.innerHTML = "Search UWaterloo Library";
                    id.href = 'https://ocul-wtl.primo.exlibrisgroup.com/discovery/search?query=any,contains,' + title + '&tab=OCULDiscoveryNetwork&search_scope=OCULDiscoveryNetwork&vid=01OCUL_WTL:WTL_DEFAULT&lang=en&offset=0';
                    id.target = "_blank";
                }
                else
                {
                    id.href = value;
                    id.target = "_blank";
                    id.innerHTML = "Open";
                }
            },
            function(error)
            {
                id.href = "#";
                id.innerHTML = "Not found";
            });
    }

    function isConference(publication)
    {
    	return publication.volume == 0 || publication.pub_name.includes("Conference") || publication.pub_name.includes("Proceedings") || publication.pub_name.includes("Lecture Notes") || publication.pub_name.includes("Symposium");
   	}

   function displayPublications() {
	    getPublications(api+userID).then(
            function(value) {
                const size = value.rows.length;
                let pubListJournals = "";
                let pubListConference = "";
                for(var i = 0; i < size; i++)
                            {
                                let publication = "";
                                let authors = value.rows[i].list_names_of_authors.split(", ");
                                lastIndex = authors.length - 1;
                                authors[lastIndex] = authors[lastIndex].slice(4, authors[lastIndex].length - 1);
                                let possibleSupervisors = ["Clausi D.", "Fieguth P.W.", "Fieguth P.", "Wong A.", "Zelek J.", "Xu L.", "Scott A.", "Rambhatla S.", "Lee J.", "Chen Y.", "Shafiee M.J."];
                                if(authors.some(r=>possibleSupervisors.includes(r)))
                                {
                                for(var j = 0; j <= lastIndex; j++)
                                {  
                                    let authorLink = "";
                                    let authorsLC = authors[j].toLowerCase();
                                    if(j == lastIndex)
                                    {
                                        if(authorsLC.includes("."))
                                        {  
                                            authorLink += authorsLC.charAt(authorsLC.indexOf(".") - 1);
                                            authorLink += "-";
                                            authorLink += authorsLC.slice(0, authorsLC.indexOf(" "));
                                        }
                                        else
                                        {
                                            authorLink += authorsLC.charAt(authorsLC.length - 1);
                                            authorLink += "-";
                                            authorLink += authorsLC.slice(0, authorsLC.indexOf(" "));
                                        }
                                        
                                    }
                                    else
                                    {
                                        authorLink += authorsLC.charAt(authorsLC.indexOf(".") - 1);
                                        authorLink += "-";
                                        authorLink += authorsLC.slice(0, authorsLC.indexOf(" "));
                                        
                                    }
                                    authorLink = 'https://vip.uwaterloo.ca/' + authorLink;
                                    if(j != lastIndex)
                                    {
                                        publication += `<a href='${authorLink}' target='_blank'>${authors[j]}</a>` + ", ";
                                    }
                                    else 
                                    {
                                        publication += "and " + `<a href='${authorLink}' target='_blank'>${authors[j]}</a>`;
                                    }
                                }

                                publication += ', "';
                                
                                publication += value.rows[i].title;
                                
                                publication += '", ';
                                publication += value.rows[i].pub_name;
                                if (!isConference(value.rows[i]))
                                {
                                    publication += ", vol. ";
                                    publication += value.rows[i].volume;
                                    publication += ", ";
                                }
                                if (value.rows[i].page_range != "" && !isConference(value.rows[i]))
                                {
                                    publication += "pp. ";
                                    publication += value.rows[i].page_range;
                                    publication += ", ";
                                }
                                else if(isConference(value.rows[i]))
                                {
                                    publication += ", ";
                                }
                                publication += value.rows[i].year;
                                publication += ". ";
                                publication += `<a href="#" onclick="generateLink(this, '${value.rows[i].title}');event.preventDefault();">Get it here.</a>`;
                                
                                publication += "\n\n";
                                if (isConference(value.rows[i]))
                                {
                                    pubListConference += publication;
                                }
                                else
                                {
                                      pubListJournals += publication;
                                }
                                }
                            }
                document.getElementById('pubDataJournals').innerHTML = pubListJournals;
                document.getElementById('pubDataConference').innerHTML = pubListConference;
                if(pubListConference == "")
                {
                   document.getElementById('conferencePapers').style.display = "none";
                }
                if(pubListJournals == "")
                {
                  document.getElementById('journalArticles').style.display = "none";
                }
            },
            function(error) {document.getElementById('pubDataJournals').innerHTML = "Error retrieving data.";}
        )
    }

   
</script></div>]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Hayden Gunraj</title>
		<link>https://vip.uwaterloo.ca/h-gunraj/</link>
		
		<dc:creator><![CDATA[Hayden Gunraj]]></dc:creator>
		<pubDate>Wed, 26 Apr 2023 22:57:52 +0000</pubDate>
				<category><![CDATA[Alexander Wong]]></category>
		<category><![CDATA[Alumni]]></category>
		<category><![CDATA[Biomedical Imaging]]></category>
		<category><![CDATA[Computer Vision]]></category>
		<category><![CDATA[Correlated Diffusion Imaging]]></category>
		<category><![CDATA[Image Segmentation/Classification]]></category>
		<category><![CDATA[M.A.Sc.]]></category>
		<guid isPermaLink="false">https://vip.uwaterloo.ca/?p=2938</guid>

					<description><![CDATA[Hayden Gunraj is a master’s student in Systems Design Engineering, supervised by Prof. Alexander Wong and associated with the Vision and Image Processing (VIP) Lab. His research focuses on medical image analysis, computational imaging, and explainable artificial intelligence.]]></description>
										<content:encoded><![CDATA[
<p>Hayden Gunraj is a master&#8217;s student in Systems Design Engineering, supervised by Prof. Alexander Wong and associated with the Vision and Image Processing (VIP) Lab. His research focuses on deep learning for medical image analysis, particularly computer-assisted diagnosis and assessment of COVID-19, prostate cancer, and breast cancer. Currently, Hayden is a collaborator on the Cancer-Net initiative, which aims to provide datasets and pre-trained models for diagnosis and prognosis of prostate and breast cancers.</p>



<p><strong>Email:</strong> hayden.gunraj@uwaterloo.ca<br><strong><a href="https://scholar.google.ca/citations?user=t1bPcXAAAAAJ&amp;hl=en&amp;oi=ao">Google Scholar</a></strong><br><strong><a href="https://www.linkedin.com/in/haydengunraj/">LinkedIn</a></strong></p>


<div class="lazyblock-supervisors-Z2mSj5f wp-block-lazyblock-supervisors"><link rel='stylesheet' href='https://fonts.googleapis.com/css?family=Source+Serif+Pro'>
  <div style='margin-bottom: 0.6rem; font-family: Source Serif Pro, Georgia, Times New Roman, serif; font-size: 3rem; font-weight: bold;'>Supervisors</div><a href=https://vip.uwaterloo.ca/a-wong/>Alexander Wong</a></div>

<div class="lazyblock-research-interests-28TeIp wp-block-lazyblock-research-interests"><link rel='stylesheet' href='https://fonts.googleapis.com/css?family=Source+Serif+Pro'>
  <div style='margin-bottom: 0.6rem; font-family: Source Serif Pro, Georgia, Times New Roman, serif; font-size: 3rem; font-weight: bold;'>Research interests</div>Hayden&#8217;s research focuses on medical image analysis, computational imaging, and explainable artificial intelligence (XAI). In particular, his work as part of the COVID-Net initiative focuses on explainable COVID-19 diagnosis and severity prediction using CT images, as well as weakly-supervised COVID-19 infection segmentation. As part of the Cancer-Net initiative, he focuses on the development and application of synthetic correlated diffusion imaging (CDI<sup>s</sup>) for cancer detection and clinical decision support.</div>

<div class="lazyblock-research-GDvDi wp-block-lazyblock-research"><link rel='stylesheet' href='https://fonts.googleapis.com/css?family=Source+Serif+Pro'>
  <div style='margin-bottom: 0.6rem; font-family: Source Serif Pro, Georgia, Times New Roman, serif; font-size: 3rem; font-weight: bold;'>Research topics</div><a href=https://vip.uwaterloo.ca/biomedical-imaging/>Biomedical Imaging</a><br><a href=https://vip.uwaterloo.ca/computer-vision/>Computer Vision</a><br><a href=https://vip.uwaterloo.ca/image-segmentation-classification/>Image Segmentation/Classification</a><br><link rel='stylesheet' href='https://fonts.googleapis.com/css?family=Source+Serif+Pro'>
  <div style='margin-bottom: 0.6rem; font-family: Source Serif Pro, Georgia, Times New Roman, serif; font-size: 3rem; font-weight: bold;'>Research demos</div><a href=https://vip.uwaterloo.ca/correlated-diffusion-imaging/>Correlated Diffusion Imaging</a><br></div>

<div class="lazyblock-publications-1nAT6w wp-block-lazyblock-publications"><meta charset="utf-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.2.3/dist/css/bootstrap.min.css" rel="stylesheet">
  <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.2.3/dist/js/bootstrap.bundle.min.js"></script>
  <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Source+Serif+Pro">

  <!-- Load external CSS styles -->
  <link rel="stylesheet" href="../stylesbootstrap.css">

<style>

#peoplePublications {
    font-family: "Source Serif Pro", "Georgia", "Times New Roman", "serif";
    font-weight: bold;
    font-size: 3rem;
    text-align: start;
    margin-bottom: 0.6em;
}

#peoplePublications ~ span {
    font-family: "Source Serif Pro", "Georgia", "Times New Roman", "serif";
    font-weight: bold;
    font-size: 1.75rem;
    text-align: start;
    margin-bottom: 0.5em;
}

#nav {
    text-align: start;
    font-family: "Source Serif Pro", "Georgia", "Times New Roman", "serif";
    margin-bottom: 0.5em;
    margin-left: 0;
    padding-left: 0;
}

#nav a {
    text-decoration-line: underline;
}

#nav a:hover {
    text-decoration-line: none;
}

#mainContent {
    max-width: 100%;
}

#pubDataJournals {
    font-family: "Source Serif Pro", "Georgia", "Times New Roman", "serif";
    padding-left: 0;
    font-size: 1.75rem;
    white-space: pre-wrap;
}

#pubDataConference {
    font-family: "Source Serif Pro", "Georgia", "Times New Roman", "serif";
    padding-left: 0;
    font-size: 1.75rem;
    white-space: pre-wrap;
}
</style>

  <!--Main Content-->
  <div class="container mt-5" id="mainContent">
  
   <div class="row">
      <div class="col ps-0" id="peoplePublications">Publications</div>
      <div id="nav">
        <a href="#journalArticles">Journal Articles</a>
        <span> / </span>
        <a href="#conferencePapers">Conference Papers</a>
      </div>
      <span id="journalArticles" class="ps-0">Journal Articles</span>
      <p id="pubDataJournals">
        <!-- journal data from JS here -->
      </p>
      <span id="conferencePapers" class="ps-0">Conference Papers</span>
      <div id="nav">
        <a href="#peoplePublications">Top</a>
      </div>
      <p id="pubDataConference">
        <!-- conference paper data from JS here -->
      </p>
    </div>
  </div>

<script>
	  let pubDataJournals = "";
	  let pubDataConference = "";
    let publications = [];
    const apiID = "https://ecserv2.uwaterloo.ca/researchmicro/research/reverseauthor.php?scopus_id="
    const api = "https://ecserv2.uwaterloo.ca/researchmicro/research/publications.php?user=";
    const openAccess = "https://bg.api.oa.works/find?id=";
    let userID;
    getNexus(57215774526);

    async function getNexus(scopusID)
    {
        let userInfo = await fetch(apiID+scopusID);
        let userInfoText = await userInfo.text();
        if(userInfoText == "Sorry, you do not have a Scopus ID assigned")
        {
          document.getElementById('peoplePublications').style.display = "none";
          document.querySelectorAll('[id="nav"]')[0].style.display = "none";
          document.querySelectorAll('[id="nav"]')[1].style.display = "none";
          document.getElementById('journalArticles').style.display = "none";
          document.getElementById('conferencePapers').style.display = "none";
          document.getElementById('pubDataJournals').style.display = "none";
          document.getElementById('pubDataConference').style.display = "none";
        }
        else
        {
          userID = JSON.parse(userInfoText).rows.nexus;
          displayPublications();
        }
    }

    async function getOA(searchQuery)
    {
        let openInfo = await fetch(openAccess + searchQuery);
        let openInfoText = await openInfo.text();
        return JSON.parse(openInfoText).url;
    }

    async function getPublications(file) {
        let publicationData = await fetch(file);
        let pubText = await publicationData.text();
        pubText = pubText.replace("=", ":"); //correcting API issue with = instead of :
        return JSON.parse(pubText);
    }

    function generateLink(id, title)
    {
        id.onclick = "";
        title = title.replaceAll(/ /g, '%20');
        id.innerHTML = "loading..."
        getOA(title).then(
            function(value)
            {
                if(value == null)
                {
                    id.innerHTML = "Search UWaterloo Library";
                    id.href = 'https://ocul-wtl.primo.exlibrisgroup.com/discovery/search?query=any,contains,' + title + '&tab=OCULDiscoveryNetwork&search_scope=OCULDiscoveryNetwork&vid=01OCUL_WTL:WTL_DEFAULT&lang=en&offset=0';
                    id.target = "_blank";
                }
                else
                {
                    id.href = value;
                    id.target = "_blank";
                    id.innerHTML = "Open";
                }
            },
            function(error)
            {
                id.href = "#";
                id.innerHTML = "Not found";
            });
    }

    function isConference(publication)
    {
    	return publication.volume == 0 || publication.pub_name.includes("Conference") || publication.pub_name.includes("Proceedings") || publication.pub_name.includes("Lecture Notes") || publication.pub_name.includes("Symposium");
   	}

   function displayPublications() {
	    getPublications(api+userID).then(
            function(value) {
                const size = value.rows.length;
                let pubListJournals = "";
                let pubListConference = "";
                for(var i = 0; i < size; i++)
                            {
                                let publication = "";
                                let authors = value.rows[i].list_names_of_authors.split(", ");
                                lastIndex = authors.length - 1;
                                authors[lastIndex] = authors[lastIndex].slice(4, authors[lastIndex].length - 1);
                                let possibleSupervisors = ["Clausi D.", "Fieguth P.W.", "Fieguth P.", "Wong A.", "Zelek J.", "Xu L.", "Scott A.", "Rambhatla S.", "Lee J.", "Chen Y.", "Shafiee M.J."];
                                if(authors.some(r=>possibleSupervisors.includes(r)))
                                {
                                for(var j = 0; j <= lastIndex; j++)
                                {  
                                    let authorLink = "";
                                    let authorsLC = authors[j].toLowerCase();
                                    if(j == lastIndex)
                                    {
                                        if(authorsLC.includes("."))
                                        {  
                                            authorLink += authorsLC.charAt(authorsLC.indexOf(".") - 1);
                                            authorLink += "-";
                                            authorLink += authorsLC.slice(0, authorsLC.indexOf(" "));
                                        }
                                        else
                                        {
                                            authorLink += authorsLC.charAt(authorsLC.length - 1);
                                            authorLink += "-";
                                            authorLink += authorsLC.slice(0, authorsLC.indexOf(" "));
                                        }
                                        
                                    }
                                    else
                                    {
                                        authorLink += authorsLC.charAt(authorsLC.indexOf(".") - 1);
                                        authorLink += "-";
                                        authorLink += authorsLC.slice(0, authorsLC.indexOf(" "));
                                        
                                    }
                                    authorLink = 'https://vip.uwaterloo.ca/' + authorLink;
                                    if(j != lastIndex)
                                    {
                                        publication += `<a href='${authorLink}' target='_blank'>${authors[j]}</a>` + ", ";
                                    }
                                    else 
                                    {
                                        publication += "and " + `<a href='${authorLink}' target='_blank'>${authors[j]}</a>`;
                                    }
                                }

                                publication += ', "';
                                
                                publication += value.rows[i].title;
                                
                                publication += '", ';
                                publication += value.rows[i].pub_name;
                                if (!isConference(value.rows[i]))
                                {
                                    publication += ", vol. ";
                                    publication += value.rows[i].volume;
                                    publication += ", ";
                                }
                                if (value.rows[i].page_range != "" && !isConference(value.rows[i]))
                                {
                                    publication += "pp. ";
                                    publication += value.rows[i].page_range;
                                    publication += ", ";
                                }
                                else if(isConference(value.rows[i]))
                                {
                                    publication += ", ";
                                }
                                publication += value.rows[i].year;
                                publication += ". ";
                                publication += `<a href="#" onclick="generateLink(this, '${value.rows[i].title}');event.preventDefault();">Get it here.</a>`;
                                
                                publication += "\n\n";
                                if (isConference(value.rows[i]))
                                {
                                    pubListConference += publication;
                                }
                                else
                                {
                                      pubListJournals += publication;
                                }
                                }
                            }
                document.getElementById('pubDataJournals').innerHTML = pubListJournals;
                document.getElementById('pubDataConference').innerHTML = pubListConference;
                if(pubListConference == "")
                {
                   document.getElementById('conferencePapers').style.display = "none";
                }
                if(pubListJournals == "")
                {
                  document.getElementById('journalArticles').style.display = "none";
                }
            },
            function(error) {document.getElementById('pubDataJournals').innerHTML = "Error retrieving data.";}
        )
    }

   
</script></div>]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Jeffrey Glaister</title>
		<link>https://vip.uwaterloo.ca/j-glaister/</link>
		
		<dc:creator><![CDATA[vipadmin]]></dc:creator>
		<pubDate>Thu, 23 Mar 2023 19:33:19 +0000</pubDate>
				<category><![CDATA[Alexander Wong]]></category>
		<category><![CDATA[Alumni]]></category>
		<category><![CDATA[Bias Field Correction in Endorectal Diffusion Imaging]]></category>
		<category><![CDATA[Biomedical Imaging]]></category>
		<category><![CDATA[Correlated Diffusion Imaging]]></category>
		<category><![CDATA[David Clausi]]></category>
		<category><![CDATA[M.A.Sc.]]></category>
		<category><![CDATA[Skin Cancer Detection]]></category>
		<category><![CDATA[M.A.Sc. Grad Date: 2013]]></category>
		<guid isPermaLink="false">https://wwwvip.uwaterloo.ca/?p=1194</guid>

					<description><![CDATA[My research interests are in the fields of pattern recognition and image processing, applied to biomedical imaging.  I am interested in developing image processing algorithms to automate the analysis of medical images, such as those captured using MRI, X-ray or other modalities. Other work is in the area of novel video compression algorithms.  ]]></description>
										<content:encoded><![CDATA[
<p>I received my BASc in Systems Design Engineering from the University of Waterloo in 2011. &nbsp;Through my co-op terms, I gained experience in medical imaging by working for Sunnybrook Health Sciences Centre. As part of my 3rd year design project, I developed a signature recognition system for point-of-sale authentication. For my 4th year design project, I worked on a novel video compression algorithm.</p>



<p>Email: <a href="mailto:jeffrey.glaister%40uwaterloo.ca">jeffrey.glaister@uwaterloo.ca</a></p>


<div class="lazyblock-supervisors-Z1pdDmA wp-block-lazyblock-supervisors"><link rel='stylesheet' href='https://fonts.googleapis.com/css?family=Source+Serif+Pro'>
  <div style='margin-bottom: 0.6rem; font-family: Source Serif Pro, Georgia, Times New Roman, serif; font-size: 3rem; font-weight: bold;'>Supervisors</div><a href=https://vip.uwaterloo.ca/a-wong/>Alexander Wong</a>, <a href=https://vip.uwaterloo.ca/d-clausi/>David Clausi</a></div>

<div class="lazyblock-research-interests-Z10zNfW wp-block-lazyblock-research-interests"><link rel='stylesheet' href='https://fonts.googleapis.com/css?family=Source+Serif+Pro'>
  <div style='margin-bottom: 0.6rem; font-family: Source Serif Pro, Georgia, Times New Roman, serif; font-size: 3rem; font-weight: bold;'>Research interests</div>My research interests are in the fields of pattern recognition and image processing, applied to biomedical imaging. I am interested in developing image processing algorithms to automate the analysis of medical images, such as those captured using MRI, X-ray or other modalities. Other work is in the area of novel video compression algorithms.</div>

<div class="lazyblock-research-hPUJA wp-block-lazyblock-research"><link rel='stylesheet' href='https://fonts.googleapis.com/css?family=Source+Serif+Pro'>
  <div style='margin-bottom: 0.6rem; font-family: Source Serif Pro, Georgia, Times New Roman, serif; font-size: 3rem; font-weight: bold;'>Research topics</div><a href=https://vip.uwaterloo.ca/biomedical-imaging/>Biomedical Imaging</a><br><link rel='stylesheet' href='https://fonts.googleapis.com/css?family=Source+Serif+Pro'>
  <div style='margin-bottom: 0.6rem; font-family: Source Serif Pro, Georgia, Times New Roman, serif; font-size: 3rem; font-weight: bold;'>Research demos</div><a href=https://vip.uwaterloo.ca/bias-field-correction-in-endorectal-diffusion-imaging/>Bias Field Correction in Endorectal Diffusion Imaging</a><br><a href=https://vip.uwaterloo.ca/correlated-diffusion-imaging/>Correlated Diffusion Imaging</a><br><a href=https://vip.uwaterloo.ca/skin-cancer-detection/>Skin Cancer Detection</a><br></div>

<div class="lazyblock-publications-1BtaRA wp-block-lazyblock-publications"><meta charset="utf-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.2.3/dist/css/bootstrap.min.css" rel="stylesheet">
  <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.2.3/dist/js/bootstrap.bundle.min.js"></script>
  <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Source+Serif+Pro">

  <!-- Load external CSS styles -->
  <link rel="stylesheet" href="../stylesbootstrap.css">

<style>

#peoplePublications {
    font-family: "Source Serif Pro", "Georgia", "Times New Roman", "serif";
    font-weight: bold;
    font-size: 3rem;
    text-align: start;
    margin-bottom: 0.6em;
}

#peoplePublications ~ span {
    font-family: "Source Serif Pro", "Georgia", "Times New Roman", "serif";
    font-weight: bold;
    font-size: 1.75rem;
    text-align: start;
    margin-bottom: 0.5em;
}

#nav {
    text-align: start;
    font-family: "Source Serif Pro", "Georgia", "Times New Roman", "serif";
    margin-bottom: 0.5em;
    margin-left: 0;
    padding-left: 0;
}

#nav a {
    text-decoration-line: underline;
}

#nav a:hover {
    text-decoration-line: none;
}

#mainContent {
    max-width: 100%;
}

#pubDataJournals {
    font-family: "Source Serif Pro", "Georgia", "Times New Roman", "serif";
    padding-left: 0;
    font-size: 1.75rem;
    white-space: pre-wrap;
}

#pubDataConference {
    font-family: "Source Serif Pro", "Georgia", "Times New Roman", "serif";
    padding-left: 0;
    font-size: 1.75rem;
    white-space: pre-wrap;
}
</style>

  <!--Main Content-->
  <div class="container mt-5" id="mainContent">
  
   <div class="row">
      <div class="col ps-0" id="peoplePublications">Publications</div>
      <div id="nav">
        <a href="#journalArticles">Journal Articles</a>
        <span> / </span>
        <a href="#conferencePapers">Conference Papers</a>
      </div>
      <span id="journalArticles" class="ps-0">Journal Articles</span>
      <p id="pubDataJournals">
        <!-- journal data from JS here -->
      </p>
      <span id="conferencePapers" class="ps-0">Conference Papers</span>
      <div id="nav">
        <a href="#peoplePublications">Top</a>
      </div>
      <p id="pubDataConference">
        <!-- conference paper data from JS here -->
      </p>
    </div>
  </div>

<script>
	  let pubDataJournals = "";
	  let pubDataConference = "";
    let publications = [];
    const apiID = "https://ecserv2.uwaterloo.ca/researchmicro/research/reverseauthor.php?scopus_id="
    const api = "https://ecserv2.uwaterloo.ca/researchmicro/research/publications.php?user=";
    const openAccess = "https://bg.api.oa.works/find?id=";
    let userID;
    getNexus(54931227500);

    async function getNexus(scopusID)
    {
        let userInfo = await fetch(apiID+scopusID);
        let userInfoText = await userInfo.text();
        if(userInfoText == "Sorry, you do not have a Scopus ID assigned")
        {
          document.getElementById('peoplePublications').style.display = "none";
          document.querySelectorAll('[id="nav"]')[0].style.display = "none";
          document.querySelectorAll('[id="nav"]')[1].style.display = "none";
          document.getElementById('journalArticles').style.display = "none";
          document.getElementById('conferencePapers').style.display = "none";
          document.getElementById('pubDataJournals').style.display = "none";
          document.getElementById('pubDataConference').style.display = "none";
        }
        else
        {
          userID = JSON.parse(userInfoText).rows.nexus;
          displayPublications();
        }
    }

    async function getOA(searchQuery)
    {
        let openInfo = await fetch(openAccess + searchQuery);
        let openInfoText = await openInfo.text();
        return JSON.parse(openInfoText).url;
    }

    async function getPublications(file) {
        let publicationData = await fetch(file);
        let pubText = await publicationData.text();
        pubText = pubText.replace("=", ":"); //correcting API issue with = instead of :
        return JSON.parse(pubText);
    }

    function generateLink(id, title)
    {
        id.onclick = "";
        title = title.replaceAll(/ /g, '%20');
        id.innerHTML = "loading..."
        getOA(title).then(
            function(value)
            {
                if(value == null)
                {
                    id.innerHTML = "Search UWaterloo Library";
                    id.href = 'https://ocul-wtl.primo.exlibrisgroup.com/discovery/search?query=any,contains,' + title + '&tab=OCULDiscoveryNetwork&search_scope=OCULDiscoveryNetwork&vid=01OCUL_WTL:WTL_DEFAULT&lang=en&offset=0';
                    id.target = "_blank";
                }
                else
                {
                    id.href = value;
                    id.target = "_blank";
                    id.innerHTML = "Open";
                }
            },
            function(error)
            {
                id.href = "#";
                id.innerHTML = "Not found";
            });
    }

    function isConference(publication)
    {
    	return publication.volume == 0 || publication.pub_name.includes("Conference") || publication.pub_name.includes("Proceedings") || publication.pub_name.includes("Lecture Notes") || publication.pub_name.includes("Symposium");
   	}

   function displayPublications() {
	    getPublications(api+userID).then(
            function(value) {
                const size = value.rows.length;
                let pubListJournals = "";
                let pubListConference = "";
                for(var i = 0; i < size; i++)
                            {
                                let publication = "";
                                let authors = value.rows[i].list_names_of_authors.split(", ");
                                lastIndex = authors.length - 1;
                                authors[lastIndex] = authors[lastIndex].slice(4, authors[lastIndex].length - 1);
                                let possibleSupervisors = ["Clausi D.", "Fieguth P.W.", "Fieguth P.", "Wong A.", "Zelek J.", "Xu L.", "Scott A.", "Rambhatla S.", "Lee J.", "Chen Y.", "Shafiee M.J."];
                                if(authors.some(r=>possibleSupervisors.includes(r)))
                                {
                                for(var j = 0; j <= lastIndex; j++)
                                {  
                                    let authorLink = "";
                                    let authorsLC = authors[j].toLowerCase();
                                    if(j == lastIndex)
                                    {
                                        if(authorsLC.includes("."))
                                        {  
                                            authorLink += authorsLC.charAt(authorsLC.indexOf(".") - 1);
                                            authorLink += "-";
                                            authorLink += authorsLC.slice(0, authorsLC.indexOf(" "));
                                        }
                                        else
                                        {
                                            authorLink += authorsLC.charAt(authorsLC.length - 1);
                                            authorLink += "-";
                                            authorLink += authorsLC.slice(0, authorsLC.indexOf(" "));
                                        }
                                        
                                    }
                                    else
                                    {
                                        authorLink += authorsLC.charAt(authorsLC.indexOf(".") - 1);
                                        authorLink += "-";
                                        authorLink += authorsLC.slice(0, authorsLC.indexOf(" "));
                                        
                                    }
                                    authorLink = 'https://vip.uwaterloo.ca/' + authorLink;
                                    if(j != lastIndex)
                                    {
                                        publication += `<a href='${authorLink}' target='_blank'>${authors[j]}</a>` + ", ";
                                    }
                                    else 
                                    {
                                        publication += "and " + `<a href='${authorLink}' target='_blank'>${authors[j]}</a>`;
                                    }
                                }

                                publication += ', "';
                                
                                publication += value.rows[i].title;
                                
                                publication += '", ';
                                publication += value.rows[i].pub_name;
                                if (!isConference(value.rows[i]))
                                {
                                    publication += ", vol. ";
                                    publication += value.rows[i].volume;
                                    publication += ", ";
                                }
                                if (value.rows[i].page_range != "" && !isConference(value.rows[i]))
                                {
                                    publication += "pp. ";
                                    publication += value.rows[i].page_range;
                                    publication += ", ";
                                }
                                else if(isConference(value.rows[i]))
                                {
                                    publication += ", ";
                                }
                                publication += value.rows[i].year;
                                publication += ". ";
                                publication += `<a href="#" onclick="generateLink(this, '${value.rows[i].title}');event.preventDefault();">Get it here.</a>`;
                                
                                publication += "\n\n";
                                if (isConference(value.rows[i]))
                                {
                                    pubListConference += publication;
                                }
                                else
                                {
                                      pubListJournals += publication;
                                }
                                }
                            }
                document.getElementById('pubDataJournals').innerHTML = pubListJournals;
                document.getElementById('pubDataConference').innerHTML = pubListConference;
                if(pubListConference == "")
                {
                   document.getElementById('conferencePapers').style.display = "none";
                }
                if(pubListJournals == "")
                {
                  document.getElementById('journalArticles').style.display = "none";
                }
            },
            function(error) {document.getElementById('pubDataJournals').innerHTML = "Error retrieving data.";}
        )
    }

   
</script></div>]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Andrew Cameron</title>
		<link>https://vip.uwaterloo.ca/a-cameron/</link>
		
		<dc:creator><![CDATA[Andrew Cameron]]></dc:creator>
		<pubDate>Thu, 23 Mar 2023 19:31:09 +0000</pubDate>
				<category><![CDATA[Alexander Wong]]></category>
		<category><![CDATA[Alumni]]></category>
		<category><![CDATA[Biomedical Imaging]]></category>
		<category><![CDATA[Computer Vision]]></category>
		<category><![CDATA[Correlated Diffusion Imaging]]></category>
		<category><![CDATA[Enhanced Low-dose Computed Tomography]]></category>
		<category><![CDATA[Image Segmentation/Classification]]></category>
		<category><![CDATA[M.A.Sc.]]></category>
		<category><![CDATA[Stochastic Models]]></category>
		<category><![CDATA[M.A.Sc. Grad Date: 2014]]></category>
		<guid isPermaLink="false">https://wwwvip.uwaterloo.ca/?p=1191</guid>

					<description><![CDATA[I'm interested in automating and supporting complex reasoning tasks, including through applications of pattern classification, statistical modelling, image processing and computer vision, but also through data visualization, dimensionality reduction, and related techniques.]]></description>
										<content:encoded><![CDATA[
<p>After being introduced to pattern recognition by Professor Paul Fieguth during my undergraduate degree, I sought to learn more about pattern classification and machine learning by applying them to a variety of academic and work term projects including touch input recognition and EMG-based gesture recognition. Having completed my bachelor&#8217;s degree in Systems Design Engineering from the University of Waterloo, I am now pursuing a master&#8217;s degree under the supervision of Professor Alex Wong.</p>



<p>When I&#8217;m not writing papers or analyzing medical images, I enjoy digital and film photography.</p>



<p>Email: <a href="mailto:a4camero%40uwaterloo.ca">a4camero@uwaterloo.ca</a></p>


<div class="lazyblock-supervisors-ZPRSui wp-block-lazyblock-supervisors"><link rel='stylesheet' href='https://fonts.googleapis.com/css?family=Source+Serif+Pro'>
  <div style='margin-bottom: 0.6rem; font-family: Source Serif Pro, Georgia, Times New Roman, serif; font-size: 3rem; font-weight: bold;'>Supervisors</div><a href=https://vip.uwaterloo.ca/a-wong/>Alexander Wong</a></div>

<div class="lazyblock-research-interests-ZWYsV0 wp-block-lazyblock-research-interests"><link rel='stylesheet' href='https://fonts.googleapis.com/css?family=Source+Serif+Pro'>
  <div style='margin-bottom: 0.6rem; font-family: Source Serif Pro, Georgia, Times New Roman, serif; font-size: 3rem; font-weight: bold;'>Research interests</div>I&#8217;m interested in automating and supporting complex reasoning tasks, including through applications of pattern classification, statistical modelling, image processing and computer vision, but also through data visualization, dimensionality reduction, and related techniques.</div>

<div class="lazyblock-research-Z214KDC wp-block-lazyblock-research"><link rel='stylesheet' href='https://fonts.googleapis.com/css?family=Source+Serif+Pro'>
  <div style='margin-bottom: 0.6rem; font-family: Source Serif Pro, Georgia, Times New Roman, serif; font-size: 3rem; font-weight: bold;'>Research topics</div><a href=https://vip.uwaterloo.ca/biomedical-imaging/>Biomedical Imaging</a><br><a href=https://vip.uwaterloo.ca/computer-vision/>Computer Vision</a><br><a href=https://vip.uwaterloo.ca/image-segmentation-classification/>Image Segmentation/Classification</a><br><a href=https://vip.uwaterloo.ca/stochastic-models/>Stochastic Models</a><br><link rel='stylesheet' href='https://fonts.googleapis.com/css?family=Source+Serif+Pro'>
  <div style='margin-bottom: 0.6rem; font-family: Source Serif Pro, Georgia, Times New Roman, serif; font-size: 3rem; font-weight: bold;'>Research demos</div><a href=https://vip.uwaterloo.ca/correlated-diffusion-imaging/>Correlated Diffusion Imaging</a><br><a href=https://vip.uwaterloo.ca/enhanced-low-dose-computed-tomography/>Enhanced Low-dose Computed Tomography</a><br></div>

<div class="lazyblock-publications-Z2tUAOX wp-block-lazyblock-publications"><meta charset="utf-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.2.3/dist/css/bootstrap.min.css" rel="stylesheet">
  <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.2.3/dist/js/bootstrap.bundle.min.js"></script>
  <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Source+Serif+Pro">

  <!-- Load external CSS styles -->
  <link rel="stylesheet" href="../stylesbootstrap.css">

<style>

#peoplePublications {
    font-family: "Source Serif Pro", "Georgia", "Times New Roman", "serif";
    font-weight: bold;
    font-size: 3rem;
    text-align: start;
    margin-bottom: 0.6em;
}

#peoplePublications ~ span {
    font-family: "Source Serif Pro", "Georgia", "Times New Roman", "serif";
    font-weight: bold;
    font-size: 1.75rem;
    text-align: start;
    margin-bottom: 0.5em;
}

#nav {
    text-align: start;
    font-family: "Source Serif Pro", "Georgia", "Times New Roman", "serif";
    margin-bottom: 0.5em;
    margin-left: 0;
    padding-left: 0;
}

#nav a {
    text-decoration-line: underline;
}

#nav a:hover {
    text-decoration-line: none;
}

#mainContent {
    max-width: 100%;
}

#pubDataJournals {
    font-family: "Source Serif Pro", "Georgia", "Times New Roman", "serif";
    padding-left: 0;
    font-size: 1.75rem;
    white-space: pre-wrap;
}

#pubDataConference {
    font-family: "Source Serif Pro", "Georgia", "Times New Roman", "serif";
    padding-left: 0;
    font-size: 1.75rem;
    white-space: pre-wrap;
}
</style>

  <!--Main Content-->
  <div class="container mt-5" id="mainContent">
  
   <div class="row">
      <div class="col ps-0" id="peoplePublications">Publications</div>
      <div id="nav">
        <a href="#journalArticles">Journal Articles</a>
        <span> / </span>
        <a href="#conferencePapers">Conference Papers</a>
      </div>
      <span id="journalArticles" class="ps-0">Journal Articles</span>
      <p id="pubDataJournals">
        <!-- journal data from JS here -->
      </p>
      <span id="conferencePapers" class="ps-0">Conference Papers</span>
      <div id="nav">
        <a href="#peoplePublications">Top</a>
      </div>
      <p id="pubDataConference">
        <!-- conference paper data from JS here -->
      </p>
    </div>
  </div>

<script>
	  let pubDataJournals = "";
	  let pubDataConference = "";
    let publications = [];
    const apiID = "https://ecserv2.uwaterloo.ca/researchmicro/research/reverseauthor.php?scopus_id="
    const api = "https://ecserv2.uwaterloo.ca/researchmicro/research/publications.php?user=";
    const openAccess = "https://bg.api.oa.works/find?id=";
    let userID;
    getNexus(55516253700);

    async function getNexus(scopusID)
    {
        let userInfo = await fetch(apiID+scopusID);
        let userInfoText = await userInfo.text();
        if(userInfoText == "Sorry, you do not have a Scopus ID assigned")
        {
          document.getElementById('peoplePublications').style.display = "none";
          document.querySelectorAll('[id="nav"]')[0].style.display = "none";
          document.querySelectorAll('[id="nav"]')[1].style.display = "none";
          document.getElementById('journalArticles').style.display = "none";
          document.getElementById('conferencePapers').style.display = "none";
          document.getElementById('pubDataJournals').style.display = "none";
          document.getElementById('pubDataConference').style.display = "none";
        }
        else
        {
          userID = JSON.parse(userInfoText).rows.nexus;
          displayPublications();
        }
    }

    async function getOA(searchQuery)
    {
        let openInfo = await fetch(openAccess + searchQuery);
        let openInfoText = await openInfo.text();
        return JSON.parse(openInfoText).url;
    }

    async function getPublications(file) {
        let publicationData = await fetch(file);
        let pubText = await publicationData.text();
        pubText = pubText.replace("=", ":"); //correcting API issue with = instead of :
        return JSON.parse(pubText);
    }

    function generateLink(id, title)
    {
        id.onclick = "";
        title = title.replaceAll(/ /g, '%20');
        id.innerHTML = "loading..."
        getOA(title).then(
            function(value)
            {
                if(value == null)
                {
                    id.innerHTML = "Search UWaterloo Library";
                    id.href = 'https://ocul-wtl.primo.exlibrisgroup.com/discovery/search?query=any,contains,' + title + '&tab=OCULDiscoveryNetwork&search_scope=OCULDiscoveryNetwork&vid=01OCUL_WTL:WTL_DEFAULT&lang=en&offset=0';
                    id.target = "_blank";
                }
                else
                {
                    id.href = value;
                    id.target = "_blank";
                    id.innerHTML = "Open";
                }
            },
            function(error)
            {
                id.href = "#";
                id.innerHTML = "Not found";
            });
    }

    function isConference(publication)
    {
    	return publication.volume == 0 || publication.pub_name.includes("Conference") || publication.pub_name.includes("Proceedings") || publication.pub_name.includes("Lecture Notes") || publication.pub_name.includes("Symposium");
   	}

   function displayPublications() {
	    getPublications(api+userID).then(
            function(value) {
                const size = value.rows.length;
                let pubListJournals = "";
                let pubListConference = "";
                for(var i = 0; i < size; i++)
                            {
                                let publication = "";
                                let authors = value.rows[i].list_names_of_authors.split(", ");
                                lastIndex = authors.length - 1;
                                authors[lastIndex] = authors[lastIndex].slice(4, authors[lastIndex].length - 1);
                                let possibleSupervisors = ["Clausi D.", "Fieguth P.W.", "Fieguth P.", "Wong A.", "Zelek J.", "Xu L.", "Scott A.", "Rambhatla S.", "Lee J.", "Chen Y.", "Shafiee M.J."];
                                if(authors.some(r=>possibleSupervisors.includes(r)))
                                {
                                for(var j = 0; j <= lastIndex; j++)
                                {  
                                    let authorLink = "";
                                    let authorsLC = authors[j].toLowerCase();
                                    if(j == lastIndex)
                                    {
                                        if(authorsLC.includes("."))
                                        {  
                                            authorLink += authorsLC.charAt(authorsLC.indexOf(".") - 1);
                                            authorLink += "-";
                                            authorLink += authorsLC.slice(0, authorsLC.indexOf(" "));
                                        }
                                        else
                                        {
                                            authorLink += authorsLC.charAt(authorsLC.length - 1);
                                            authorLink += "-";
                                            authorLink += authorsLC.slice(0, authorsLC.indexOf(" "));
                                        }
                                        
                                    }
                                    else
                                    {
                                        authorLink += authorsLC.charAt(authorsLC.indexOf(".") - 1);
                                        authorLink += "-";
                                        authorLink += authorsLC.slice(0, authorsLC.indexOf(" "));
                                        
                                    }
                                    authorLink = 'https://vip.uwaterloo.ca/' + authorLink;
                                    if(j != lastIndex)
                                    {
                                        publication += `<a href='${authorLink}' target='_blank'>${authors[j]}</a>` + ", ";
                                    }
                                    else 
                                    {
                                        publication += "and " + `<a href='${authorLink}' target='_blank'>${authors[j]}</a>`;
                                    }
                                }

                                publication += ', "';
                                
                                publication += value.rows[i].title;
                                
                                publication += '", ';
                                publication += value.rows[i].pub_name;
                                if (!isConference(value.rows[i]))
                                {
                                    publication += ", vol. ";
                                    publication += value.rows[i].volume;
                                    publication += ", ";
                                }
                                if (value.rows[i].page_range != "" && !isConference(value.rows[i]))
                                {
                                    publication += "pp. ";
                                    publication += value.rows[i].page_range;
                                    publication += ", ";
                                }
                                else if(isConference(value.rows[i]))
                                {
                                    publication += ", ";
                                }
                                publication += value.rows[i].year;
                                publication += ". ";
                                publication += `<a href="#" onclick="generateLink(this, '${value.rows[i].title}');event.preventDefault();">Get it here.</a>`;
                                
                                publication += "\n\n";
                                if (isConference(value.rows[i]))
                                {
                                    pubListConference += publication;
                                }
                                else
                                {
                                      pubListJournals += publication;
                                }
                                }
                            }
                document.getElementById('pubDataJournals').innerHTML = pubListJournals;
                document.getElementById('pubDataConference').innerHTML = pubListConference;
                if(pubListConference == "")
                {
                   document.getElementById('conferencePapers').style.display = "none";
                }
                if(pubListJournals == "")
                {
                  document.getElementById('journalArticles').style.display = "none";
                }
            },
            function(error) {document.getElementById('pubDataJournals').innerHTML = "Error retrieving data.";}
        )
    }

   
</script></div>


<p></p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Correlated Diffusion Imaging</title>
		<link>https://vip.uwaterloo.ca/correlated-diffusion-imaging/</link>
		
		<dc:creator><![CDATA[vipadmin]]></dc:creator>
		<pubDate>Mon, 20 Mar 2023 20:30:26 +0000</pubDate>
				<category><![CDATA[Correlated Diffusion Imaging]]></category>
		<category><![CDATA[Research Demos]]></category>
		<guid isPermaLink="false">https://wwwvip.uwaterloo.ca/?p=915</guid>

					<description><![CDATA[We introduce a new form of diffusion magnetic resonance imaging called correlated diffusion imaging, where the tissue being imaged is characterized by the joint correlation of diffusion signal attenuation across multiple gradient pulse strengths and timings. By taking into account signal attenuation at different water diffusion motion sensitivities, correlated diffusion imaging can provide improved delineation between cancerous tissue and healthy tissue when compared to existing diffusion imaging modalities.]]></description>
										<content:encoded><![CDATA[
<p>We introduce a new form of diffusion magnetic resonance imaging called correlated diffusion imaging, where the tissue being imaged is characterized by the joint correlation of diffusion signal attenuation across multiple gradient pulse strengths and timings. By taking into account signal attenuation at different water diffusion motion sensitivities, correlated diffusion imaging can provide improved delineation between cancerous tissue and healthy tissue when compared to existing diffusion imaging modalities.&nbsp;</p>



<figure class="wp-block-image aligncenter"><img decoding="async" src="https://uwaterloo.ca/vision-image-processing-lab/sites/ca.vision-image-processing-lab/files/styles/body-500px-wide/public/uploads/images/cdimixing_signal_update.png?itok=2UJB9Bqz" alt="Figure showing how acquired signals are combined"/></figure>



<p class="has-text-align-center">Fig. 1. To characterize the tissue being imaged, the acquired signals are mixed together to obtain the local correlation of signal attenuation across the acquired signals.</p>



<figure class="wp-block-image aligncenter"><img decoding="async" src="https://uwaterloo.ca/vision-image-processing-lab/sites/ca.vision-image-processing-lab/files/styles/body-500px-wide/public/uploads/images/cdiresults1.png?itok=kHYF-YPF" alt="Figure comparing tumor detection on T1- weighted image and the correlated diffusion image"/></figure>



<p class="has-text-align-center">Fig. 2. &nbsp;Tumor stands out well on Correlated Diffusion Imaging&nbsp;(CDI) (third image) and not at all on T2-weighted imaging (first image) in&nbsp;patient with prostate cancer. &nbsp;The second image shows the apparent diffusion coefficient (ADC) map, which shows increased contrast around left side of transition zone.</p>



<figure class="wp-block-image aligncenter"><img decoding="async" src="https://uwaterloo.ca/vision-image-processing-lab/sites/ca.vision-image-processing-lab/files/styles/body-500px-wide/public/uploads/images/cdiresults2.png?itok=gBT7DMun" alt="Figure comparing tumor detection on T2- weighted image and the correlated diffusion image"/></figure>



<p class="has-text-align-center">&nbsp;Fig. 3. &nbsp;Similar to Fig. 2, the tumor stands out well on CDI (third image) and not at all on T2-weighted imaging (first image) in&nbsp;patient with prostate cancer. &nbsp;The second image shows the&nbsp;ADC map, which shows increased contrast around left side of transition zone.</p>



<h4 class="wp-block-heading has-source-serif-pro-font-family"><strong>Related people</strong></h4>



<h5 class="wp-block-heading has-source-serif-pro-font-family" style="text-transform:capitalize"><strong>Directors</strong></h5>


<div class="lazyblock-related-people-ZXXsb9 wp-block-lazyblock-related-people"><p>
  <a href=https://vip.uwaterloo.ca/a-wong/>Alexander Wong</a></p></div>


<h5 class="wp-block-heading has-source-serif-pro-font-family" style="text-transform:capitalize">Students</h5>


<div class="lazyblock-related-people-Z1HKhUh wp-block-lazyblock-related-people"><p>
  <a href=https://vip.uwaterloo.ca/amy-tai/>Amy Tai</a></p></div>


<h5 class="wp-block-heading has-source-serif-pro-font-family" style="text-transform:capitalize"><strong>Alumni</strong></h5>


<div class="lazyblock-related-people-Z2w235A wp-block-lazyblock-related-people"><p>
  <a href=https://vip.uwaterloo.ca/c-tai/>Chi-en (Amy) Tai</a>, <a href=https://vip.uwaterloo.ca/h-gunraj/>Hayden Gunraj</a>, <a href=https://vip.uwaterloo.ca/j-glaister/>Jeffrey Glaister</a>, <a href=https://vip.uwaterloo.ca/a-cameron/>Andrew Cameron</a></p></div>


<h4 class="wp-block-heading"><strong>Related research areas</strong></h4>



<p><a href="https://vip.uwaterloo.ca/biomedical-imaging/" data-type="post" data-id="766">Biomedical Imaging</a></p>



<h4 class="wp-block-heading"><strong>Related publications</strong></h4>


<div class="lazyblock-demo-publications-Z2mmfIw wp-block-lazyblock-demo-publications"><meta charset="utf-8">
  <!--<meta name="viewport" content="width=device-width, initial-scale=1.0">
  <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.2.3/dist/css/bootstrap.min.css" rel="stylesheet">
  <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.2.3/dist/js/bootstrap.bundle.min.js"></script>
  <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">
--><link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Source+Serif+Pro">

  <!-- Load external CSS styles -->
  <link rel="stylesheet" href="../stylesbootstrap.css">

<style>

#journalArticles, #conferencePapers {
    font-weight: bold;
    font-family: "Source Serif Pro", "Georgia", "Times New Roman", "serif";
    font-size: 1.15rem;
    text-align: start;
    margin-bottom: 0.5em;
}

#mainContent {
    max-width: 100%;
}

#pubDataJournals {
    padding-left: 0;
    font-family: "Source Serif Pro", "Georgia", "Times New Roman", "serif";
    font-size: 1.15rem;
    white-space: pre-wrap;
}

#pubDataConference {
    padding-left: 0;
    font-family: "Source Serif Pro", "Georgia", "Times New Roman", "serif";
    font-size: 1.15rem;
    white-space: pre-wrap;
}
</style>

  <!--Main Content-->
  <div class="container mt-5" id="mainContent">
  <div class="col ps-0" id="peoplePublications"></div>
   <div class="row">
      
      <span id="journalArticles" class="ps-0">Journal Articles</span>
      <p id="pubDataJournals">
        <!-- journal data from JS here -->
      </p>
      <span id="conferencePapers" class="ps-0">Conference Papers</span>
      <p id="pubDataConference">
        <!-- conference paper data from JS here -->
      </p>
    </div>
  </div>
<script>
    
    const scopusIDDC = 7003991297; //David A Clausi
	const scopusIDJZ = 6603746225; //John Zelek
	const scopusIDPF = 7004156748; //Paul Fieguth
	const scopusIDAW = 15073608800; //Alexander Wong
    const userDC = "dclausi";
	const userJZ = "jzelek";
	const userPF = "pfieguth";
	const userAW = "a28wong";
	let pubDataJournals = "";
	let pubDataConference = "";
    let displayNumber = 200;
    let titleContents = 'correlated diffusion imaging'.toLowerCase().split(", ");
    let publications = [];
    const api = "https://ecserv2.uwaterloo.ca/researchmicro/research/publications.php?user=";
    const openAccess = "https://api.openaccessbutton.org/find?id=";
    
    displayPublications();
  

    async function getOA(searchQuery)
    {
        let openInfo = await fetch(openAccess + searchQuery);
        let openInfoText = await openInfo.text();
        return JSON.parse(openInfoText).url;
    }

    async function getPublications(file) {
        let publicationData = await fetch(file);
        let pubText = await publicationData.text();
        pubText = pubText.replace("=", ":"); //correcting API issue with = instead of :
        return JSON.parse(pubText);
    }

    function generateLink(id, title)
    {
        id.onclick = "";
        title = title.replaceAll(/ /g, '%20');
        id.innerHTML = "loading..."
        getOA(title).then(
            function(value)
            {
                if(value == null)
                {
                    id.innerHTML = "Search UWaterloo Library";
                    id.href = 'https://ocul-wtl.primo.exlibrisgroup.com/discovery/search?query=any,contains,' + title + '&tab=OCULDiscoveryNetwork&search_scope=OCULDiscoveryNetwork&vid=01OCUL_WTL:WTL_DEFAULT&lang=en&offset=0';
                    id.target = "_blank";
                }
                else
                {
                    id.href = value;
                    id.target = "_blank";
                    id.innerHTML = "Open";
                }
            },
            function(error)
            {
                id.href = "#";
                id.innerHTML = "Not found";
            });
    }

    function isConference(publication)
    {
    	return publication.volume == 0 || publication.pub_name.includes("Conference") || publication.pub_name.includes("Proceedings") || publication.pub_name.includes("Lecture Notes") || publication.pub_name.includes("Symposium");
   	}
    const firstDisplay = 50;

   async function displayPublications(number) {
	    getPublications(api+userDC).then(
            function(value) {
                const size = value.rows.length;
                let a = 0;
                for(var i = 0; i < size; i++)
                {
                    if(titleContents.some(substring => value.rows[i].title.toLowerCase().includes(substring)))
                    {
                        publications.push(value.rows[i]);
                    }
                }
                getPublications(api+userPF).then(
                    function(value) {
                        const size = value.rows.length;
                        for(var i = 0; i < size; i++)
                        {
                            if(titleContents.some(substring => value.rows[i].title.toLowerCase().includes(substring)))
                            {
                                publications.push(value.rows[i]);
                            }
                        }
                        getPublications(api+userJZ).then(
                            function(value) {
                                const size = value.rows.length;
                                for(var i = 0; i < size; i++)
                                {
                                    if(titleContents.some(substring => value.rows[i].title.toLowerCase().includes(substring)))
                                    {
                                        publications.push(value.rows[i]);
                                    }
                                }
                                getPublications(api+userAW).then(
                                    function(value) {
                                        const size = value.rows.length;
                                        let pubListJournals = "";
                                        let pubListConference = "";
                                        for(var i = 0; i < size; i++)
                                        {
                                            if(titleContents.some(substring => value.rows[i].title.toLowerCase().includes(substring)))
                                            {
                                                publications.push(value.rows[i]);
                                            }
                                        }
                                        const key = 'title';
                                        publications = [...new Map(publications.map(item => [item[key], item])).values()];
                                        publications.sort(function(a,b){return b.year - a.year});
                                        let totalSize = publications.length;
                                        for(var i = 0; i < totalSize; i++)
                                        {
                                            let publication = "";
                                            let authors = publications[i].list_names_of_authors.split(", ");
                                            lastIndex = authors.length - 1;
                                            authors[lastIndex] = authors[lastIndex].slice(4, authors[lastIndex].length - 1);
                                            for(var j = 0; j <= lastIndex; j++)
                                            {  
                                                let authorLink = "";
                                                let authorsLC = authors[j].toLowerCase();
                                                if(j == lastIndex)
                                                {
                                                    if(authorsLC.includes("."))
                                                    {  
                                                        authorLink += authorsLC.charAt(authorsLC.indexOf(".") - 1);
                                                        authorLink += "-";
                                                        authorLink += authorsLC.slice(0, authorsLC.indexOf(" "));
                                                    }
                                                    else
                                                    {
                                                        authorLink += authorsLC.charAt(authorsLC.length - 1);
                                                        authorLink += "-";
                                                        authorLink += authorsLC.slice(0, authorsLC.indexOf(" "));
                                                    }
                                                    
                                                }
                                                else
                                                {
                                                    authorLink += authorsLC.charAt(authorsLC.indexOf(".") - 1);
                                                    authorLink += "-";
                                                    authorLink += authorsLC.slice(0, authorsLC.indexOf(" "));
                                                    
                                                }
                                                authorLink = 'https://vip.uwaterloo.ca/' + authorLink;
                                                if(j != lastIndex)
                                                {
                                                    publication += `<a href='${authorLink}' target='_blank'>${authors[j]}</a>` + ", ";
                                                }
                                                else 
                                                {
                                                    publication += "and " + `<a href='${authorLink}' target='_blank'>${authors[j]}</a>`;
                                                }
                                            }

                                            publication += ', "';
                                            publication += publications[i].title;
                                            publication += '", ';
                                            publication += publications[i].pub_name;
                                            if (!isConference(publications[i]))
                                            {
                                                publication += ", vol. ";
                                                publication += publications[i].volume;
                                                publication += ", ";
                                            }
                                            if (publications[i].page_range != "" && !isConference(publications[i]))
                                            {
                                                publication += "pp. ";
                                                publication += publications[i].page_range;
                                                publication += ", ";
                                            }
                                            else if(isConference(publications[i]))
                                            {
                                                publication += ", ";
                                            }
                                            publication += publications[i].year;
                                            publication += ". ";
                                            publication += `<a href="#" onclick="generateLink(this, '${publications[i].title}');event.preventDefault();">Get it here.</a>`;
                                
                                            publication += "\n\n";
                                            if (isConference(publications[i]))
                                            {
                                                pubListConference += publication;
                                            }
                                            else
                                            {
                                                pubListJournals += publication;
                                            }
                                        }
                                        document.getElementById('pubDataConference').innerHTML = pubListConference;
                                        document.getElementById('pubDataJournals').innerHTML = pubListJournals;
                                        if(pubListConference == "")
                                        {
                                          document.getElementById('conferencePapers').style.display = "none";
                                        }
                                        if(pubListJournals == "")
                                        {
                                          document.getElementById('journalArticles').style.display = "none";
                                        }
                                    },
                                    function(error) {
                                        document.getElementById('pubDataJournals').innerHTML = "Error retrieving data.";
                                        document.getElementById('pubDataConference').innerHTML = "";
                                    }
                                )
                            
                            },
                            function(error) {
                                document.getElementById('pubDataJournals').innerHTML = "Error retrieving data.";
                                document.getElementById('pubDataConference').innerHTML = "";
                            }
                        )
                    },
                    function(error) {
                        document.getElementById('pubDataJournals').innerHTML = "Error retrieving data.";
                        document.getElementById('pubDataConference').innerHTML = "";
                    }
                )
            },
            function(error) {
                document.getElementById('pubDataJournals').innerHTML = "Error retrieving data.";
                document.getElementById('pubDataConference').innerHTML = "";
            }
        )
    }

   
</script></div>]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Alexander Wong</title>
		<link>https://vip.uwaterloo.ca/a-wong/</link>
		
		<dc:creator><![CDATA[Alexander Wong]]></dc:creator>
		<pubDate>Thu, 23 Feb 2023 21:38:59 +0000</pubDate>
				<category><![CDATA[Action Recognition in Video]]></category>
		<category><![CDATA[Bias Field Correction in Endorectal Diffusion Imaging]]></category>
		<category><![CDATA[Biomedical Imaging]]></category>
		<category><![CDATA[Coded Hemodynamic Imaging]]></category>
		<category><![CDATA[Computer Vision]]></category>
		<category><![CDATA[Correlated Diffusion Imaging]]></category>
		<category><![CDATA[Directors]]></category>
		<category><![CDATA[Discovery Radiomics]]></category>
		<category><![CDATA[Disparate Scene Registration]]></category>
		<category><![CDATA[Enhanced Decoupled Active Contour Using Structural and Textural Variation Energy Functionals]]></category>
		<category><![CDATA[Enhanced Low-dose Computed Tomography]]></category>
		<category><![CDATA[Evolutionary Deep Intelligence]]></category>
		<category><![CDATA[Grid Seams: A fast superpixel algorithm for real-time applications]]></category>
		<category><![CDATA[Hybrid Structural and Texture Distinctiveness Vector Field Convolution for Region Segmentation]]></category>
		<category><![CDATA[Image Denoising]]></category>
		<category><![CDATA[Image Segmentation/Classification]]></category>
		<category><![CDATA[Multiplexed Optical High-coherence Interferometry]]></category>
		<category><![CDATA[Multiresolution Techniques]]></category>
		<category><![CDATA[People]]></category>
		<category><![CDATA[Remote Sensing]]></category>
		<category><![CDATA[SAR Sea Ice Image Synthesis]]></category>
		<category><![CDATA[Scientific Imaging]]></category>
		<category><![CDATA[Skin Cancer Detection]]></category>
		<category><![CDATA[Statistical Textural Distinctiveness for Salient Region Detection in Natural Images]]></category>
		<category><![CDATA[Stereo Vision for Dimension Estimation]]></category>
		<category><![CDATA[Stochastic Models]]></category>
		<category><![CDATA[Video Analysis]]></category>
		<category><![CDATA[VIP RGB-D Scene Flow Dataset]]></category>
		<category><![CDATA[VIP VPA dataset]]></category>
		<guid isPermaLink="false">https://wwwvip.uwaterloo.ca/?p=491</guid>

					<description><![CDATA[My research interests lie in the field of artificial intelligence and computational imaging, with a focus on scalable and explainable deep learning and computational biomedical imaging systems.]]></description>
										<content:encoded><![CDATA[
<p>Alexander Wong is currently the Canada Research Chair in Medical Imaging Systems and an assistant professor in the Department of Systems Design Engineering at the University of Waterloo. He had previously&nbsp;received his&nbsp;B.A.Sc. degree in Computer Engineering from the University of Waterloo, Waterloo, ON, Canada&nbsp;in 2005, his&nbsp;M.A.Sc. degree in Electrical and Computer Engineering from the University of Waterloo, Waterloo, ON, Canada&nbsp;in 2007, and his&nbsp;Ph.D. degree Systems Design Engineering from the University of Waterloo, ON, Canada&nbsp;in 2010. He was also a&nbsp;NSERC postdoctoral research fellow at Sunnybrook Health Sciences Centre.&nbsp; He has published over 450 refereed journal and conference papers, as well as patents, in various fields such as computational imaging, artificial intelligence, computer vision, and multimedia systems.&nbsp;He has received numerous awards including three Outstanding Performance Awards, a Distinguished Performance Award, an Engineering Research Excellence Award, a Sandford Fleming Teaching Excellence Award, an Early Researcher Award from the Ministry of Economic Development and Innovation, a Best Paper Award at the NIPS Workshop on NIPS Workshop on Transparent and Interpretable Machine Learning (2017), a Best Paper Award at the NIPS Workshop on Efficient Methods for Deep Neural Networks (2016), two Best Paper Awards by the Canadian Image Processing and Pattern Recognition Society (CIPPRS) (2009 and 2014), a Distinguished Paper Award by the Society of Information Display (2015), two Best Paper Awards for the Conference of Computer Vision and Imaging Systems (CVIS) (2015,2017), Synaptive Best Medical Imaging Paper Award (2016), two Magna Cum Laude Awards and one Cum Laude Award from the Annual Meeting of the Imaging Network of Ontario, CIX TOP 20 (2017), AquaHacking Challenge First Prize (2017), Best Student Paper at Ottawa Hockey Analytics Conference (2017), and the Alumni Gold Medal.</p>



<h2 class="wp-block-heading"><strong>Students</strong></h2>



<h3 class="wp-block-heading"><strong>Supervision &#8211; Current</strong></h3>



<h4 class="wp-block-heading"><strong>PDF</strong></h4>


<div class="lazyblock-related-people-28FOiG wp-block-lazyblock-related-people"><p>
  </p></div>


<h4 class="wp-block-heading" style="text-transform:capitalize"><strong>ph.D.</strong></h4>


<div class="lazyblock-related-people-Z2vQEjB wp-block-lazyblock-related-people"><p>
  <a href=https://vip.uwaterloo.ca/ziyao-shang-2/>Ziyao Shang</a>, <a href=https://vip.uwaterloo.ca/amy-tai/>Amy Tai</a></p></div>


<h4 class="wp-block-heading" style="text-transform:capitalize"><strong>M.A.Sc.</strong></h4>


<div class="lazyblock-related-people-N4xlt wp-block-lazyblock-related-people"><p>
  </p></div>


<h3 class="wp-block-heading"><strong>Supervision &#8211; Completed</strong></h3>



<h4 class="wp-block-heading"><strong>PDF</strong></h4>


<div class="lazyblock-related-people-Z1XXJPz wp-block-lazyblock-related-people"><p>
  <a href=https://vip.uwaterloo.ca/yuhao-chen/>Yuhao Chen</a> (2023), <a href=https://vip.uwaterloo.ca/m-fani/>Mehrnaz Fani</a> (2019-2022), <a href=https://vip.uwaterloo.ca/linlin-xu/>Linlin Xu</a> (2016), <a href=https://vip.uwaterloo.ca/h-sekkati/>Hicham Sekkati</a> (2016), <a href=https://vip.uwaterloo.ca/c-scharfenberger/>Christian Scharfenberger</a> (2014)</p></div>


<h4 class="wp-block-heading" style="text-transform:capitalize"><strong>ph.D.</strong></h4>


<div class="lazyblock-related-people-Z2plEFS wp-block-lazyblock-related-people"><p>
  <a href=https://vip.uwaterloo.ca/m-jiang/>Mingzhe (Major) Jiang</a> (2022), <a href=https://vip.uwaterloo.ca/z-zhong/>Zilong Zhong</a> (2021), <a href=https://vip.uwaterloo.ca/a-chung/>Audrey Chung</a> (2020), <a href=https://vip.uwaterloo.ca/r-amelard/>Robert Amelard</a> (2017), <a href=https://vip.uwaterloo.ca/s-haider/>Shahid Haider</a> (), <a href=https://vip.uwaterloo.ca/f-kazemzadeh/>Farnoud Kazemzadeh</a> (2016), <a href=https://vip.uwaterloo.ca/d-cho/>Daniel S. Cho</a> (2016), <a href=https://vip.uwaterloo.ca/f-li/>Fan Li</a> (2015), <a href=https://vip.uwaterloo.ca/s-schwartz/>Shimon Schwartz</a> (2013), <a href=https://vip.uwaterloo.ca/c-liu/>Chenyi Liu</a> (2012)</p></div>


<h4 class="wp-block-heading" style="text-transform:capitalize"><strong>M.A.Sc.</strong></h4>


<div class="lazyblock-related-people-Z2sdprk wp-block-lazyblock-related-people"><p>
  <a href=https://vip.uwaterloo.ca/chang-liu/>Chang Liu</a> (2025), <a href=https://vip.uwaterloo.ca/v-chomko/>Vasyl Chomko</a> (2025), <a href=https://vip.uwaterloo.ca/s-nair/>Saeejith Nair</a> (), <a href=https://vip.uwaterloo.ca/k-kaai/>Kimathi Kaai</a> (2024), <a href=https://vip.uwaterloo.ca/b-gebotys/>Brennan Gebotys</a> (2022), <a href=https://vip.uwaterloo.ca/c-tai/>Chi-en (Amy) Tai</a> (), <a href=https://vip.uwaterloo.ca/marjan-shahi/>Marjan Shahi</a> (), <a href=https://vip.uwaterloo.ca/p-walters/>Pascale Walters</a> (2021), <a href=https://vip.uwaterloo.ca/c-dulhanty/>Chris Dulhanty</a> (2020), <a href=https://vip.uwaterloo.ca/a-jeddi/>Ahmadreza Jeddi</a> (2020), <a href=https://vip.uwaterloo.ca/e-li/>Edward Li</a> (2016), <a href=https://vip.uwaterloo.ca/f-li-2/>Francis Li</a> (2016), <a href=https://vip.uwaterloo.ca/b-chwyl/>Brendan Chwyl</a> (2016), <a href=https://vip.uwaterloo.ca/s-haider/>Shahid Haider</a> (2015), <a href=https://vip.uwaterloo.ca/a-cameron/>Andrew Cameron</a> (2014), <a href=https://vip.uwaterloo.ca/d-lui/>Dorothy Lui</a> (2014), <a href=https://vip.uwaterloo.ca/r-amelard-2/>Robert Amelard</a> (2013), <a href=https://vip.uwaterloo.ca/h-gunraj/>Hayden Gunraj</a> (), <a href=https://vip.uwaterloo.ca/j-glaister/>Jeffrey Glaister</a> (2013), <a href=https://vip.uwaterloo.ca/a-jain/>Aanchal Jain</a> (2012)</p></div>

<div class="lazyblock-research-Z2rQLnW wp-block-lazyblock-research"><link rel='stylesheet' href='https://fonts.googleapis.com/css?family=Source+Serif+Pro'>
  <div style='margin-bottom: 0.6rem; font-family: Source Serif Pro, Georgia, Times New Roman, serif; font-size: 3rem; font-weight: bold;'>Research topics</div><a href=https://vip.uwaterloo.ca/biomedical-imaging/>Biomedical Imaging</a><br><a href=https://vip.uwaterloo.ca/computer-vision/>Computer Vision</a><br><a href=https://vip.uwaterloo.ca/discovery-radiomics/>Discovery Radiomics</a><br><a href=https://vip.uwaterloo.ca/evolutionary-deep-intelligence/>Evolutionary Deep Intelligence</a><br><a href=https://vip.uwaterloo.ca/image-segmentation-classification/>Image Segmentation/Classification</a><br><a href=https://vip.uwaterloo.ca/multiresolution-techniques/>Multiresolution Techniques</a><br><a href=https://vip.uwaterloo.ca/remote-sensing/>Remote Sensing</a><br><a href=https://vip.uwaterloo.ca/scientific-imaging/>Scientific Imaging</a><br><a href=https://vip.uwaterloo.ca/stochastic-models/>Stochastic Models</a><br><a href=https://vip.uwaterloo.ca/video-analysis/>Video Analysis</a><br><link rel='stylesheet' href='https://fonts.googleapis.com/css?family=Source+Serif+Pro'>
  <div style='margin-bottom: 0.6rem; font-family: Source Serif Pro, Georgia, Times New Roman, serif; font-size: 3rem; font-weight: bold;'>Research demos</div><a href=https://vip.uwaterloo.ca/action-recognition-in-video/>Action Recognition in Video</a><br><a href=https://vip.uwaterloo.ca/bias-field-correction-in-endorectal-diffusion-imaging/>Bias Field Correction in Endorectal Diffusion Imaging</a><br><a href=https://vip.uwaterloo.ca/coded-hemodynamic-imaging/>Coded Hemodynamic Imaging</a><br><a href=https://vip.uwaterloo.ca/correlated-diffusion-imaging/>Correlated Diffusion Imaging</a><br><a href=https://vip.uwaterloo.ca/disparate-scene-registration/>Disparate Scene Registration</a><br><a href=https://vip.uwaterloo.ca/enhanced-decoupled-active-contour-using-structural-and-textural-variation-energy-functionals/>Enhanced Decoupled Active Contour Using Structural and Textural Variation Energy Functionals</a><br><a href=https://vip.uwaterloo.ca/enhanced-low-dose-computed-tomography/>Enhanced Low-dose Computed Tomography</a><br><a href=https://vip.uwaterloo.ca/grid-seams-a-fast-superpixel-algorithm-for-real-time-applications/>Grid Seams: A fast superpixel algorithm for real-time applications</a><br><a href=https://vip.uwaterloo.ca/hybrid-structural-and-texture-distinctiveness-vector-field-convolution-for-region-segmentation/>Hybrid Structural and Texture Distinctiveness Vector Field Convolution for Region Segmentation</a><br><a href=https://vip.uwaterloo.ca/image-denoising/>Image Denoising</a><br><a href=https://vip.uwaterloo.ca/multiplexed-optical-high-coherence-interferometry/>Multiplexed Optical High-coherence Interferometry</a><br><a href=https://vip.uwaterloo.ca/sar-sea-ice-image-synthesis/>SAR Sea Ice Image Synthesis</a><br><a href=https://vip.uwaterloo.ca/skin-cancer-detection/>Skin Cancer Detection</a><br><a href=https://vip.uwaterloo.ca/statistical-textural-distinctiveness-for-salient-region-detection-in-natural-images/>Statistical Textural Distinctiveness for Salient Region Detection in Natural Images</a><br><a href=https://vip.uwaterloo.ca/stereo-vision-for-dimension-estimation/>Stereo Vision for Dimension Estimation</a><br></div>


<meta charset="utf-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.2.3/dist/css/bootstrap.min.css" rel="stylesheet">
  <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.2.3/dist/js/bootstrap.bundle.min.js"></script>
  <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Source+Serif+Pro">

  <!-- Load external CSS styles -->
  <link rel="stylesheet" href="../stylesbootstrap.css">

<style>

#peoplePublications {
    font-family: "Source Serif Pro", "Georgia", "Times New Roman", "serif";
    font-weight: bold;
    font-size: 3rem;
    text-align: start;
    margin-bottom: 0.6em;
}

#peoplePublications ~ span {
    font-family: "Source Serif Pro", "Georgia", "Times New Roman", "serif";
    font-weight: bold;
    font-size: 1.75rem;
    text-align: start;
    margin-bottom: 0.5em;
}

#nav {
    text-align: start;
    font-family: "Source Serif Pro", "Georgia", "Times New Roman", "serif";
    margin-bottom: 0.5em;
    margin-left: 0;
    padding-left: 0;
}

#nav a {
    text-decoration-line: underline;
}

#nav a:hover {
    text-decoration-line: none;
}

#mainContent {
    max-width: 100%;
}

#pubDataJournals {
    font-family: "Source Serif Pro", "Georgia", "Times New Roman", "serif";
    padding-left: 0;
    font-size: 1.75rem;
    white-space: pre-wrap;
}

#pubDataConference {
    font-family: "Source Serif Pro", "Georgia", "Times New Roman", "serif";
    padding-left: 0;
    font-size: 1.75rem;
    white-space: pre-wrap;
}
</style>

  <!--Main Content-->
  <div class="container mt-5" id="mainContent">
  
   <div class="row">
      <div class="col ps-0" id="peoplePublications">Publications</div>
      <div id="nav">
        <a href="#journalArticles">Journal Articles</a>
        <span> / </span>
        <a href="#conferencePapers">Conference Papers</a>
      </div>
      <span id="journalArticles" class="ps-0">Journal Articles</span>
      <p id="pubDataJournals">
        <!-- journal data from JS here -->
      </p>
      <span id="conferencePapers" class="ps-0">Conference Papers</span>
      <div id="nav">
        <a href="#peoplePublications">Top</a>
      </div>
      <p id="pubDataConference">
        <!-- conference paper data from JS here -->
      </p>
    </div>
  </div>

<script>
    
    const scopusID = 15073608800; //Alexander Wong
    const user = "a28wong";
    const api = "https://ecserv2.uwaterloo.ca/researchmicro/research/publications.php?user=" +user;
   const openAccess = "https://bg.api.oa.works/find?id=";
    
    displayPublications();

   async function getOA(searchQuery)
    {
        let openInfo = await fetch(openAccess + searchQuery);
        let openInfoText = await openInfo.text();
        return JSON.parse(openInfoText).url;
    }

    async function getPublications(file) {
        let publicationData = await fetch(file);
        let pubText = await publicationData.text();
        pubText = pubText.replace("=", ":"); //correcting API issue with = instead of :
        return JSON.parse(pubText);
    }

    function generateLink(id, title)
    {
        id.onclick = "";
        id.innerHTML = "loading..."
        title = title.replaceAll(/ /g, '%20');
        getOA(title).then(
            function(value)
            {
                if(value == null)
                {
                    id.innerHTML = "Search UWaterloo Library";
                    id.href = 'https://ocul-wtl.primo.exlibrisgroup.com/discovery/search?query=any,contains,' + title + '&tab=OCULDiscoveryNetwork&search_scope=OCULDiscoveryNetwork&vid=01OCUL_WTL:WTL_DEFAULT&lang=en&offset=0';
                    id.target = "_blank";
                }
                else
                {
                    id.href = value;
                    id.target = "_blank";
                    id.innerHTML = "Open";
                }
            },
            function(error)
            {
                id.href = "#";
                id.innerHTML = "Not found";
            });
    }

    function displayPublications() {
	    getPublications(api).then(
            function(value) {
                const size = value.rows.length;
                let pubListJournals = "";
                let pubListConference = "";
                for(var i = 0; i < size; i++)
                            {
                                let publication = "";
                                let authors = value.rows[i].list_names_of_authors.split(", ");
                                lastIndex = authors.length - 1;
                                authors[lastIndex] = authors[lastIndex].slice(4, authors[lastIndex].length - 1);
                                for(var j = 0; j <= lastIndex; j++)
                                {  
                                    let authorLink = "";
                                    let authorsLC = authors[j].toLowerCase();
                                    if(j == lastIndex)
                                    {
                                        if(authorsLC.includes("."))
                                        {  
                                            authorLink += authorsLC.charAt(authorsLC.indexOf(".") - 1);
                                            authorLink += "-";
                                            authorLink += authorsLC.slice(0, authorsLC.indexOf(" "));
                                        }
                                        else
                                        {
                                            authorLink += authorsLC.charAt(authorsLC.length - 1);
                                            authorLink += "-";
                                            authorLink += authorsLC.slice(0, authorsLC.indexOf(" "));
                                        }
                                        
                                    }
                                    else
                                    {
                                        authorLink += authorsLC.charAt(authorsLC.indexOf(".") - 1);
                                        authorLink += "-";
                                        authorLink += authorsLC.slice(0, authorsLC.indexOf(" "));
                                        
                                    }
                                    authorLink = 'https://vip.uwaterloo.ca/' + authorLink;
                                    if(j != lastIndex)
                                    {
                                        publication += `<a href='${authorLink}' target='_blank'>${authors[j]}</a>` + ", ";
                                    }
                                    else 
                                    {
                                        publication += "and " + `<a href='${authorLink}' target='_blank'>${authors[j]}</a>`;
                                    }
                                }

                                publication += ', "';
                                
                                publication += value.rows[i].title;
                                
                                publication += '", ';
                                publication += value.rows[i].pub_name;
                                if (!isConference(value.rows[i]))
                                {
                                    publication += ", vol. ";
                                    publication += value.rows[i].volume;
                                    publication += ", ";
                                }
                                if (value.rows[i].page_range != "" && !isConference(value.rows[i]))
                                {
                                    publication += "pp. ";
                                    publication += value.rows[i].page_range;
                                    publication += ", ";
                                }
                                else if(isConference(value.rows[i]))
                                {
                                    publication += ", ";
                                }
                                publication += value.rows[i].year;
                                publication += ". ";
                                publication += `<a href="#" onclick="generateLink(this, '${value.rows[i].title}');event.preventDefault();">Get it here.</a>`;
                                
                                publication += "\n\n";
                                if (isConference(value.rows[i]))
                                {
                                    pubListConference += publication;
                                }
                                else
                                {
                                      pubListJournals += publication;
                                }
                            }
                document.getElementById('pubDataJournals').innerHTML = pubListJournals;
                document.getElementById('pubDataConference').innerHTML = pubListConference;
                //document.getElementById("testLink").innerHTML = value.rows[1].list_names_of_authors;
                //break at commas, ensure you end up with Clausi D or Fang Y. Then add - and remove spaces and reverse
                //gives you d-clausi, y-fang. For hyperlinking to page.
            },
            function(error) {document.getElementById('publicationData').innerHTML = "Error retrieving data.";}
        )
    }

    function isConference(publication)
    {
        return publication.volume == 0 || publication.pub_name.includes("Conference") || publication.pub_name.includes("Proceedings") || publication.pub_name.includes("Lecture Notes") || publication.pub_name.includes("Symposium");
    }
</script>
]]></content:encoded>
					
		
		
			</item>
	</channel>
</rss>
