I'm new to this community, and to R, but not new to programming (C, VB, Matlab, APDL etc). I'm creating an engineering evaluation tool for a product, that needs to quantify the quality of the edge of a vane. I'll be evaluating hundreds of such vanes using an automated platform with a webcam in exactly the same place each time - thus will be performing statistical image analysis. I'm not new to statistics, but am completely new to R and digital image processing. (I selected R, since it's free, and I should be able to script in it. If there's a better way to do this, please let me know. Matlab is 2nd choice, because of the cost.)
An original image is shown here: Link
Some basic scripting later:
library(EBImage) original=readImage("original.jpg") fhi=matrix(1,nc=3,nr=3) fhi[2,2]=-8 filtered=filter2(original,fhi) I selected the EBImage library, based on some initial reading online. Suggest alternatives, if better please.
Filtered image looks like this: Link
What I need to do:
- Get the X,Y coordinates of all points on 'Edge 2', that lie between 'Edge 1' and 'Edge 3'. The X,Y origin can be assumed to be the lower left corner of the photo, although, ideally I'd like it to be the intersection of Edge 1 and Edge 2.
- Store X,Y coordinates in a matrix with an identifier for the vane number. ("Vane 1", "Vane 2", or just 1,2,... etc)
I'm quite lost on how I proceed from where I am. Appreciate any pointers.



