Measure perimeters with different estimators
In this example, we show the error on measuring perimeters, comparing classic approximations and Crofton ones. For that, we estimate the perimeter of an object (either a square or a disk) and its rotated version, as we increase the rotation angle.

import matplotlib.pyplot as plt
import numpy as np
from skimage.measure import perimeter