public class UtilDisparityScore
extends java.lang.Object
| Constructor and Description |
|---|
UtilDisparityScore() |
| Modifier and Type | Method and Description |
|---|---|
static void |
computeScoreRow(boofcv.struct.image.GrayF32 left,
boofcv.struct.image.GrayF32 right,
int row,
float[] scores,
int minDisparity,
int maxDisparity,
int regionWidth,
float[] elementScore)
Computes disparity score for an entire row.
|
static void |
computeScoreRow(boofcv.struct.image.GrayS16 left,
boofcv.struct.image.GrayS16 right,
int row,
int[] scores,
int minDisparity,
int maxDisparity,
int regionWidth,
int[] elementScore)
Computes disparity score for an entire row.
|
static void |
computeScoreRow(boofcv.struct.image.GrayU8 left,
boofcv.struct.image.GrayU8 right,
int row,
int[] scores,
int minDisparity,
int maxDisparity,
int regionWidth,
int[] elementScore)
Computes disparity score for an entire row.
|
static void |
computeScoreRowSad(boofcv.struct.image.GrayF32 left,
boofcv.struct.image.GrayF32 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(boofcv.struct.image.GrayS16 left,
boofcv.struct.image.GrayS16 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(boofcv.struct.image.GrayU8 left,
boofcv.struct.image.GrayU8 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(boofcv.struct.image.GrayU8 left,
boofcv.struct.image.GrayU8 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(boofcv.struct.image.GrayU8 left,
boofcv.struct.image.GrayU8 right,
int elementMax,
int indexLeft,
int indexRight,
int[] elementScore)
public static void computeScoreRow(boofcv.struct.image.GrayS16 left,
boofcv.struct.image.GrayS16 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(boofcv.struct.image.GrayS16 left,
boofcv.struct.image.GrayS16 right,
int elementMax,
int indexLeft,
int indexRight,
int[] elementScore)
public static void computeScoreRow(boofcv.struct.image.GrayF32 left,
boofcv.struct.image.GrayF32 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(boofcv.struct.image.GrayF32 left,
boofcv.struct.image.GrayF32 right,
int elementMax,
int indexLeft,
int indexRight,
float[] elementScore)