get_images_and_masks: Get images and masks

Description Usage Arguments Details Value

Description

Makes a list of matching images and their mask. Useful to bulk display mask images

Usage

1
get_images_and_masks(img_dir, mask_dir)

Arguments

img_dir

A directory where images are located

mask_dir

A directory containing only mask files

Details

Takes two directories, one for images and another for masks, then for every file in the mask directory (mask_dir), it looks for an identically named file in the image directory (img_dir), creating a list of matching images and masks.

Value

A lust where each element is a list with elements img and mask. Each of those elements is an EBImage image object.


surh/RosetteDetector documentation built on May 14, 2019, 10:36 a.m.