Learn R Programming

BoneProfileR (version 3.1)

BP_ChooseBackground: Let the use to choose the background color of an image

Description

Let the user to choose the background color of an image.

Usage

BP_ChooseBackground(bone, analysis = 1)

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

Author

Marc Girondot marc.girondot@gmail.com

Details

BP_ChooseBackground lets the use to choose the background color of an image

See Also

Other BoneProfileR: BP_AutoFit(), BP_ChooseCenter(), BP_ChooseForeground(), BP_DetectBackground(), 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:
 path_Hedgehog <- system.file("extdata", "Erinaceus_europaeus_fem_2-1_small.tif", 
                             package = "BoneProfileR")
 bone <- BP_OpenImage(file=path_Hedgehog)
 bone <- BP_ChooseBackground(bone=bone)
 bone <- BP_ChooseForeground(bone=bone)
 plot(bone)
 }

Run the code above in your browser using DataLab