Learn R Programming

BoneProfileR (version 3.1)

BP_DetectBackground: Detects the background color of an image

Description

Detects the background color of an image.

Usage

BP_DetectBackground(bone, analysis = 1, show.plot = TRUE)

Value

The orignial bone object with a new attribute for background color

Arguments

bone

The bone image to be used

analysis

The name or rank of analysis

show.plot

should plot is shown ?

Author

Marc Girondot marc.girondot@gmail.com

Details

BP_DetectBackground detects the background color of an image

See Also

Other BoneProfileR: BP_AutoFit(), BP_ChooseBackground(), BP_ChooseCenter(), BP_ChooseForeground(), BP_DetectCenters(), BP_DetectForeground(), BP_DuplicateAnalysis(), BP_EstimateCompactness(), BP_FitBayesianCompactness(), BP_FitMLCompactness(), BP_FitMLRadialCompactness(), BP_GetFittedParameters(), BP_ListAnalyses(), BP_LnLCompactness(), BP_OpenImage(), BP_Report(), Erinaceus_europaeus, plot.BoneProfileR(), summary.BoneProfileR()

Examples

Run this code
if (FALSE) {
# Not run:
 bone <- BP_OpenImage()
 bone <- BP_DetectBackground(bone=bone)
 bone <- BP_DetectForeground(bone=bone)
 plot(bone)
}

Run the code above in your browser using DataLab