edit geometrical tortuosity example
"cells": [
{
"cell_type": "markdown",
- "id": "revised-torture",
+ "id": "physical-stage",
"metadata": {},
"source": [
"# geometrical_tortuosity"
},
{
"cell_type": "markdown",
- "id": "small-catering",
+ "id": "caroline-checkout",
"metadata": {},
"source": [
"## Import packages"
{
"cell_type": "code",
"execution_count": 1,
- "id": "defined-throat",
+ "id": "opposite-tract",
"metadata": {},
"outputs": [],
"source": [
},
{
"cell_type": "markdown",
- "id": "printable-equality",
+ "id": "capable-california",
"metadata": {},
"source": [
"## Create input image and variables"
{
"cell_type": "code",
"execution_count": 3,
- "id": "organized-decline",
+ "id": "driving-example",
"metadata": {},
"outputs": [
{
},
{
"cell_type": "markdown",
- "id": "proprietary-vegetable",
+ "id": "colonial-faculty",
"metadata": {},
"source": [
"## Apply metric functions"
},
{
"cell_type": "markdown",
- "id": "latest-stake",
+ "id": "future-parent",
"metadata": {},
"source": [
"### geometrical_tortuosity"
},
{
"cell_type": "markdown",
- "id": "supported-bridal",
+ "id": "complex-surgery",
"metadata": {},
"source": [
"#### 2D"
{
"cell_type": "code",
"execution_count": 4,
- "id": "excessive-gardening",
+ "id": "bottom-vietnam",
"metadata": {},
"outputs": [
{
},
{
"cell_type": "markdown",
- "id": "guided-masters",
+ "id": "unable-authentication",
"metadata": {},
"source": [
"#### 3D"
{
"cell_type": "code",
"execution_count": 5,
- "id": "medium-sacramento",
+ "id": "ordinary-musical",
"metadata": {},
"outputs": [
{
},
{
"cell_type": "markdown",
- "id": "several-background",
+ "id": "minute-ukraine",
"metadata": {},
"source": [
"### geometrical_tortuosity_points"
},
{
"cell_type": "markdown",
- "id": "dated-reverse",
+ "id": "waiting-exception",
"metadata": {},
"source": [
"#### 2D"
{
"cell_type": "code",
"execution_count": 6,
- "id": "specified-stanley",
+ "id": "owned-worth",
"metadata": {},
"outputs": [
{
},
{
"cell_type": "markdown",
- "id": "acceptable-receipt",
+ "id": "historic-chair",
"metadata": {},
"source": [
"#### 3D"
{
"cell_type": "code",
"execution_count": 10,
- "id": "greatest-worcester",
+ "id": "genuine-afghanistan",
"metadata": {},
"outputs": [
{
}
],
"source": [
- "tortuosities, avg_tortuosity = ps.metrics.geometrical_tortuosity_points(im=im)\n",
+ "tortuosities, avg_tortuosity = ps.metrics.geometrical_tortuosity_points(im=im3d)\n",
"\n",
"print(tortuosities)\n",
"print(avg_tortuosity)"
