MTschannett / image_feature_detector

A image feature detector using opencv

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add helper methods for calculating relative coodinates to pixel value

MTschannett opened this issue · comments

As mentioned in #1 we want to use relative coordinates.

To keep it convenient we want to add some helper functions to calculate from realtive coordinates to the absolute distance in an image.

Following helpers could be made:
double calculateDistance(double relateiveCoordinate, double axisWidth);
Point calculateDistances(Point relativeValues, Image originalImage);

done with latest commit