| PRTools contents |
IM_BPROPAGATION
B = IM_BPROPAGATION(A1,A2,N,CONNECTIVITY,EDGE_CONDITION)
| Input | |
| A1 | Dataset with binary object images dataset (possibly multi-band) to be treated as seed for the propagation |
| A2 | Dataset with binary object images dataset (possibly multi-band) to be treated as mask for the propagation |
| N | Number of iterations (default inf) |
| CONNECTIVITY | See BPROPAGATION |
| EDGE_CONDITION | Value of edge, default 1 |
| Output | |
| B | Dataset with propagated images |
The binary images in A1 are dilated under the condition that the result stays inside the components stored in A2.
a = delft_idb; a = seldat(a,9); delfigs
mask = a*im_gray*im_threshold; figure, show(mask)
seed = mask*im_berosion; figure, show(seed)
cleaned = im_bpropagation(seed,mask); figure, show(cleaned)
showfigs
datasets, datafiles, dip_image, bpropagation,
| PRTools contents |