{ "cells": [ { "attachments": {}, "cell_type": "markdown", "id": "477cecdb", "metadata": {}, "source": [ "# Fat-water reconstruction algorithms" ] }, { "cell_type": "markdown", "id": "1ad9ddc4", "metadata": {}, "source": [ "## Table of evaluated state-of-the-art open-source fat-water reconstruction algorithms" ] }, { "cell_type": "code", "execution_count": 1, "id": "ba313695", "metadata": { "nbsphinx": "hidden", "tags": [ "hide-cell" ] }, "outputs": [], "source": [ "import pandas as pd\n", "import os \n", "import yaml\n", "import glob\n", "import os.path as op" ] }, { "cell_type": "code", "execution_count": 2, "id": "7510394b", "metadata": { "nbsphinx": "hidden", "tags": [ "hide-cell" ] }, "outputs": [], "source": [ "def convLink(name,url):\n", " return '{}'.format(url,name)" ] }, { "cell_type": "code", "execution_count": 3, "id": "0b326507", "metadata": { "nbsphinx": "hidden", "tags": [ "hide-input" ] }, "outputs": [], "source": [ "algoInfoYmlList=glob.glob('./../../../**/info_algo.yml')\n", "algoInfoList=[]\n", "for algoInfoFile in algoInfoYmlList:\n", " with open(op.abspath(algoInfoFile), 'r') as algoInfoYml:\n", " algoInfoDict=yaml.safe_load(algoInfoYml)\n", " algoInfoList.append(algoInfoDict)\n", "\n", "df=pd.DataFrame(algoInfoList)\n", "df['Code repository']=df.apply(lambda x: convLink(x['Code repository'],x['Code repository Url']),axis=1)\n", "df.drop(columns=[col for col in df.columns if col.find('Url')!=-1],axis=1,inplace=True)\n" ] }, { "cell_type": "code", "execution_count": 4, "id": "8c776891", "metadata": { "tags": [ "remove-input" ] }, "outputs": [ { "data": { "text/html": [ "
| Reference | Referred as | Method | Code | 2D/3D | Echo spacing | Year | Code repository | main CREAM code | |
|---|---|---|---|---|---|---|---|---|---|
| 0 | \n", "Liu et al. | \n", "B0-NICE | \n", "Region-Based | \n", "Matlab | \n", "3D | \n", "Uniform | \n", "2015 | \n", "B0-Nice repository | \n", "B0NICE_main | \n", "
| 1 | \n", "Bydder et al. | \n", "IDEAL-CE | \n", "IDEAL | \n", "Matlab | \n", "3D | \n", "Free | \n", "2020 | \n", "IDEAL-CE repository | \n", "Bydder_main | \n", "
| 2 | \n", "Berglund et al. | \n", "Fatty_RIOT_GC | \n", "Graph-cut | \n", "Matlab | \n", "3D | \n", "Free | \n", "2012 | \n", "Fatty_RIOT_GC repository | \n", "Berglund_main | \n", "
| 3 | \n", "Andersson et al. | \n", "MSCGA-A | \n", "Graph-cut | \n", "Matlab | \n", "3D | \n", "Uniform | \n", "2018 | \n", "MSCGA-A repository | \n", "Snubben_main | \n", "
| 4 | \n", "Cui et al. | \n", "GOOSE | \n", "Graph-cut | \n", "Matlab | \n", "2D | \n", "Uniform/Free | \n", "2015 | \n", "Goose repository | \n", "GOOSE_main | \n", "
| 5 | \n", "Berglund et al. | \n", "MSCGA-B | \n", "Graph-cut | \n", "Python | \n", "3D | \n", "Uniform | \n", "2017 | \n", "MSCGA-B repository | \n", "main | \n", "
| 6 | \n", "Boehm et al. | \n", "VGLCA | \n", "Graph-cut | \n", "Matlab | \n", "3D | \n", "Uniform | \n", "2021 | \n", "VGLCA repository | \n", "GC_main | \n", "
| 7 | \n", "Hernando et al. | \n", "Hernado-GC | \n", "Graph-cut | \n", "Matlab | \n", "2D | \n", "Uniform/Free | \n", "2015 | \n", "Hernado-GC repository | \n", "hernando_main | \n", "