I'm working with the attached tiff file and I am trying to extract the xy coordinates of the green lines.
so far I saved the image as raster stack, and this specific image is from a layer of that raster
file_path <- "MyCells.tiff"
rs <- stack(file_path)
however, I don't know how to extract specifically those green lines. I trid to follow these two questions:
- Extracting value of raster with coordinates using R?
- Extracting GeoTIFF data with coordinates using R?
but I couldn't find an answer to my question. google sends me to image manipulation files.