get_masked_pixels_training_set: Get masked pixels in training set

Description Usage Arguments Details Value

Description

Takes a a list of images and masks and extracts pixels and pixel features from the unmasked portion of the image

Usage

1

Arguments

Img

A list where every element is a list with elements img and mask. See output from get_images_and_masks for example.

Details

This function extracts nine features from every pixel. Makes a table indicating pixke coordinates and feature values, and then subsets the table returning only unmasked pixels.

The 9 features are the intensity values for the RGB space, as well as the gradient magnitude and gradient orientation for each color channel.

Value

A data.frame of pixel features for unmasked pixels.


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