Java Code Examples for ij.gui.PointRoi#getYCoordinates()
The following examples show how to use
ij.gui.PointRoi#getYCoordinates() .
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: PointRoiPoint2fConverter.java From IJ-OpenCV with GNU General Public License v3.0 | 5 votes |
@Override public < T> T convert(Object o, Class< T> type) { PointRoi pr = (PointRoi) o; opencv_core.Point2f p = new opencv_core.Point2f(pr.getXCoordinates()[0], pr.getYCoordinates()[0]); return (T) p; }
Example 2
Source File: PointRoiPointConverter.java From IJ-OpenCV with GNU General Public License v3.0 | 5 votes |
@Override public < T> T convert(Object o, Class< T> type) { PointRoi pr = (PointRoi) o; opencv_core.Point p = new opencv_core.Point(pr.getXCoordinates()[0], pr.getYCoordinates()[0]); return (T) p; }
Example 3
Source File: PointRoiKeyPointConverter.java From IJ-OpenCV with GNU General Public License v3.0 | 5 votes |
@Override public < T> T convert(Object o, Class< T> type) { PointRoi pr = (PointRoi)o; opencv_core.KeyPoint p = new KeyPoint(pr.getXCoordinates()[0], pr.getYCoordinates()[0], 1); return(T) p; }
Example 4
Source File: PointRoiPoint2dConverter.java From IJ-OpenCV with GNU General Public License v3.0 | 5 votes |
@Override public < T> T convert(Object o, Class< T> type) { PointRoi pr = (PointRoi) o; opencv_core.Point2d p = new opencv_core.Point2d(pr.getXCoordinates()[0], pr.getYCoordinates()[0]); return (T) p; }