public class UtilDisparityScore extends Object
| Constructor and Description |
|---|
UtilDisparityScore() |
| Modifier and Type | Method and Description |
|---|---|
static void |
computeScoreRow(ImageFloat32 left,
ImageFloat32 right,
int row,
float[] scores,
int minDisparity,
int maxDisparity,
int regionWidth,
float[] elementScore)
Computes disparity score for an entire row.
|
static void |
computeScoreRow(ImageSInt16 left,
ImageSInt16 right,
int row,
int[] scores,
int minDisparity,
int maxDisparity,
int regionWidth,
int[] elementScore)
Computes disparity score for an entire row.
|
static void |
computeScoreRow(ImageUInt8 left,
ImageUInt8 right,
int row,
int[] scores,
int minDisparity,
int maxDisparity,
int regionWidth,
int[] elementScore)
Computes disparity score for an entire row.
|
static void |
computeScoreRowSad(ImageFloat32 left,
ImageFloat32 right,
int elementMax,
int indexLeft,
int indexRight,
float[] elementScore)
compute the score for each element all at once to encourage the JVM to optimize and
encourage the JVM to optimize this section of code.
|
static void |
computeScoreRowSad(ImageSInt16 left,
ImageSInt16 right,
int elementMax,
int indexLeft,
int indexRight,
int[] elementScore)
compute the score for each element all at once to encourage the JVM to optimize and
encourage the JVM to optimize this section of code.
|
static void |
computeScoreRowSad(ImageUInt8 left,
ImageUInt8 right,
int elementMax,
int indexLeft,
int indexRight,
int[] elementScore)
compute the score for each element all at once to encourage the JVM to optimize and
encourage the JVM to optimize this section of code.
|
public static void computeScoreRow(ImageUInt8 left, ImageUInt8 right, int row, int[] scores, int minDisparity, int maxDisparity, int regionWidth, int[] elementScore)
left - left imageright - Right imagerow - Image row being examinedscores - Storage for disparity scores.minDisparity - Minimum disparity to considermaxDisparity - Maximum disparity to considerregionWidth - Size of the sample region's widthelementScore - Storage for scores of individual pixelspublic static void computeScoreRowSad(ImageUInt8 left, ImageUInt8 right, int elementMax, int indexLeft, int indexRight, int[] elementScore)
public static void computeScoreRow(ImageSInt16 left, ImageSInt16 right, int row, int[] scores, int minDisparity, int maxDisparity, int regionWidth, int[] elementScore)
left - left imageright - Right imagerow - Image row being examinedscores - Storage for disparity scores.minDisparity - Minimum disparity to considermaxDisparity - Maximum disparity to considerregionWidth - Size of the sample region's widthelementScore - Storage for scores of individual pixelspublic static void computeScoreRowSad(ImageSInt16 left, ImageSInt16 right, int elementMax, int indexLeft, int indexRight, int[] elementScore)
public static void computeScoreRow(ImageFloat32 left, ImageFloat32 right, int row, float[] scores, int minDisparity, int maxDisparity, int regionWidth, float[] elementScore)
left - left imageright - Right imagerow - Image row being examinedscores - Storage for disparity scores.minDisparity - Minimum disparity to considermaxDisparity - Maximum disparity to considerregionWidth - Size of the sample region's widthelementScore - Storage for scores of individual pixelspublic static void computeScoreRowSad(ImageFloat32 left, ImageFloat32 right, int elementMax, int indexLeft, int indexRight, float[] elementScore)
Copyright © 2013. All Rights Reserved.