MCPcopy Create free account
hub / github.com/AstroImageJ/astroimagej / itof

Method itof

ij/src/main/java/ij/gui/PointRoi.java:195–203  ·  view source on GitHub ↗
(int[] arr)

Source from the content-addressed store, hash-verified

193 }
194
195 static float[] itof(int[] arr) {
196 if (arr==null)
197 return null;
198 int n = arr.length;
199 float[] temp = new float[n];
200 for (int i=0; i<n; i++)
201 temp[i] = arr[i];
202 return temp;
203 }
204
205 /** Creates a one-element array with a coordinate; if 'imp' is non-null
206 * converts from a screen coordinate to an image (offscreen) coordinate.

Callers 1

PointRoiMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected