Skip to content

Commit 202202b

Browse files
authored
Update biomat.md
math formula included in spherical extrusion description
1 parent 1bb38ad commit 202202b

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

_pages/plugins/biomat.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,15 @@ Example: [Synthetic contours](https://raw.githubusercontent.com/jiri-janacek/bio
3838

3939
{% include img align="center" name="objects" src="https://raw.githubusercontent.com/jiri-janacek/biomat/d9ca3b6cfd867b04717b16a3debd45ef9157419e/media/objects_Spherical_extrusion.png" caption="Height of spherical extrusion" %}
4040

41+
The binary image was extruded into 3D by union
42+
of balls which equatorial circles are inside the foreground $C$. The
43+
height of the extrusion $h$ as the function of 2D point $x$ in $A$
44+
is
45+
46+
$h\left(x\right)=\max_{s}\sqrt{d\left(s,C^{c}\right)^{2}-d\left(x,s\right)^{2}}$
47+
48+
where $d$ is Euclidean distance, $C^{c}$ is the background and $s$ is the centre of the equatorial circle.
49+
4150
{% include img align="center" name="objects" src="https://raw.githubusercontent.com/jiri-janacek/biomat/d9ca3b6cfd867b04717b16a3debd45ef9157419e/media/objects_Spherical_extrusion_res.png" caption="Area and mean height of spherical extrusion" %}
4251

4352
Volume = 2 * Area * Mean.

0 commit comments

Comments
 (0)