This function takes an x3p object, specifically the inner polygon data frame, and performs two main operations:
- Removes missing values. 
- Detrends the data by removing a quadratic trend. 
Arguments
- insidepoly_df
- A data frame representing the inner polygon. This is typically obtained from the - wire::x3p_insidepoly_dffunction.
Examples
x3p <- x3p_subsamples[[1]]
insidepoly_df <- x3p_insidepoly_df(x3p, mask_col = "#FF0000", concavity = 1.5, b = 1)
x3p_inner_nomiss_res <- df_rmtrend_x3p(insidepoly_df)
x3p_inner_nomiss_res
#> x3p object
#> size (width x height): 239 x 172 in pixel 
#> resolution: 6.4500e+00 x 6.4500e+00 
if (interactive()) {
  x3p_image_autosize(x3p_inner_nomiss_res)
}
