Skip to content
Snippets Groups Projects
Commit d85e4901 authored by Tobias Pietzsch's avatar Tobias Pietzsch
Browse files

ProjectorUtils: javadoc

parent e60b4e10
No related branches found
No related tags found
No related merge requests found
......@@ -7,6 +7,14 @@ import net.imglib2.type.numeric.ARGBType;
public class ProjectorUtils
{
/**
* Extracts the underlying {@code int[]} array in case {@code img} is a
* standard {@code ArrayImg<ARGBType>}. This supports certain (optional)
* optimizations in projector implementations.
*
* @return the underlying {@code int[]} array of {@code img}, if it is a
* standard {@code ArrayImg<ARGBType>}. Otherwise {@code null}.
*/
public static int[] getARGBArrayImgData( final RandomAccessible< ? > img )
{
if ( ! ( img instanceof ArrayImg ) )
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment