How to extract a linear slice from an image in OpenCV / EMGU -
i have image , 2 points,
, want read pixels between these 2 points,
, resample them small 1x40 array.
i'm using emgu c# wrapper opencv.
thanks,
sw
emgu cv includes method in image
class sampling color along line called sample
.
refer manual definition. here's link image.sample
in version 2.3.0.
you still have re-sample/interpolate points in array returned sample
end 40 element array. since there number of ways re-sample, i'll suggest other questions that.
Comments
Post a Comment