|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||
java.lang.Object
|
+--java.lang.Thread
|
+--Convolution
|
+--Laplacian
The laplacian smoothing operator code.
| Field Summary | |
int |
outputHeight
The height of the output image after applying the convolution. |
int |
outputWidth
The width of the output image after applying the convolution. |
| Fields inherited from class java.lang.Thread |
MAX_PRIORITY,
MIN_PRIORITY,
NORM_PRIORITY |
| Constructor Summary | |
Laplacian()
Default no-arg constructor. |
|
| Method Summary | |
int[] |
laplacian_image(int[] input,
int width,
int height,
int kernel,
double scale,
double offset)
Takes an input image and applies the required laplacian smoothing and returns the output image. |
| Methods inherited from class Convolution |
applyConvolution,
convolution_image,
convolution2D,
convolution2DPadded,
convolutionDouble,
convolutionDoublePadded,
convolutionType1,
convolutionType2,
doublesToValidPixels,
singlePixelConvolution |
| Methods inherited from class java.lang.Thread |
activeCount,
checkAccess,
countStackFrames,
currentThread,
destroy,
dumpStack,
enumerate,
getContextClassLoader,
getName,
getPriority,
getThreadGroup,
interrupt,
interrupted,
isAlive,
isDaemon,
isInterrupted,
join,
join,
join,
resume,
run,
setContextClassLoader,
setDaemon,
setName,
setPriority,
sleep,
sleep,
start,
stop,
stop,
suspend,
toString,
yield |
| Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
| Field Detail |
public int outputWidth
public int outputHeight
| Constructor Detail |
public Laplacian()
| Method Detail |
public int[] laplacian_image(int[] input,
int width,
int height,
int kernel,
double scale,
double offset)
input - The input image integer array.width - The input image width.height - The input image height.kernel - The kernel type selected, 1,2 or 3.scale - the scale factor for the output pixel valuesoffset - the offset value for the output pixel values
|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||