pyfibre.model.tools.figures module

ColECM: Collagen ExtraCellular Matrix Simulation ANALYSIS ROUTINE

Created by: Frank Longford Created on: 09/03/2018

Last Modified: 19/04/2018

pyfibre.model.tools.figures.create_angle_reference(size, min_n=50, max_n=120)[source]
pyfibre.model.tools.figures.create_figure(image, filename, figsize=(10, 10), ext='png', cmap='viridis')[source]
pyfibre.model.tools.figures.create_hsb_image(image, hue, saturation=1, brightness=1)[source]

Add color of the given hue to an greyscale image.

By default, set the saturation to 1 so that the colors pop!

pyfibre.model.tools.figures.create_network_image(image, networks, c_mode=0)[source]

Create image with overlayed fibre networks

pyfibre.model.tools.figures.create_region_image(image, regions)[source]

Plots a figure showing identified regions

Parameters
  • image (array_like (float); shape=(n_x, n_y)) – Image under analysis of pos_x and pos_y

  • regions (list (skimage.region)) – List of segmented regions

pyfibre.model.tools.figures.create_tensor_image(image, min_N=50)[source]
pyfibre.model.tools.figures.draw_network(network, label_image, index=1)[source]