@Namespace(value="tesseract")
@NoOffset
public static class tesseract.ImageThresholder
extends org.bytedeco.javacpp.Pointer
| Constructor and Description |
|---|
ImageThresholder(org.bytedeco.javacpp.Pointer p)
Pointer cast constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Clear()
Destroy the Pix if there is one, freeing memory.
|
void |
GetImageSizes(int[] left,
int[] top,
int[] width,
int[] height,
int[] imagewidth,
int[] imageheight) |
void |
GetImageSizes(IntBuffer left,
IntBuffer top,
IntBuffer width,
IntBuffer height,
IntBuffer imagewidth,
IntBuffer imageheight) |
void |
GetImageSizes(org.bytedeco.javacpp.IntPointer left,
org.bytedeco.javacpp.IntPointer top,
org.bytedeco.javacpp.IntPointer width,
org.bytedeco.javacpp.IntPointer height,
org.bytedeco.javacpp.IntPointer imagewidth,
org.bytedeco.javacpp.IntPointer imageheight)
Get enough parameters to be able to rebuild bounding boxes in the
original image (not just within the rectangle).
|
org.bytedeco.javacpp.lept.PIX |
GetPixRectThresholds() |
int |
GetScaledEstimatedResolution() |
int |
GetScaledYResolution() |
int |
GetScaleFactor() |
int |
GetSourceYResolution() |
boolean |
IsBinary()
Returns true if the source image is binary.
|
boolean |
IsColor()
Return true if the source image is color.
|
void |
SetEstimatedResolution(int ppi) |
void |
SetSourceYResolution(int ppi) |
boolean |
ThresholdToPix(int pageseg_mode,
org.bytedeco.javacpp.lept.PIX pix) |
boolean |
ThresholdToPix(int pageseg_mode,
org.bytedeco.javacpp.PointerPointer pix)
Threshold the source image as efficiently as possible to the output Pix.
|
address, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, hashCode, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetof, parseBytes, physicalBytes, position, position, put, realloc, setNull, sizeof, toString, totalBytes, totalPhysicalBytes, withDeallocator, zeropublic ImageThresholder(org.bytedeco.javacpp.Pointer p)
Pointer.Pointer(Pointer).public void Clear()
public void GetImageSizes(org.bytedeco.javacpp.IntPointer left,
org.bytedeco.javacpp.IntPointer top,
org.bytedeco.javacpp.IntPointer width,
org.bytedeco.javacpp.IntPointer height,
org.bytedeco.javacpp.IntPointer imagewidth,
org.bytedeco.javacpp.IntPointer imageheight)
public void GetImageSizes(IntBuffer left, IntBuffer top, IntBuffer width, IntBuffer height, IntBuffer imagewidth, IntBuffer imageheight)
public void GetImageSizes(int[] left,
int[] top,
int[] width,
int[] height,
int[] imagewidth,
int[] imageheight)
@Cast(value="bool") public boolean IsColor()
@Cast(value="bool") public boolean IsBinary()
public int GetScaleFactor()
public void SetSourceYResolution(int ppi)
public int GetSourceYResolution()
public int GetScaledYResolution()
public void SetEstimatedResolution(int ppi)
public int GetScaledEstimatedResolution()
@Cast(value="bool")
public boolean ThresholdToPix(@Cast(value="tesseract::PageSegMode")
int pageseg_mode,
@Cast(value="Pix**")
org.bytedeco.javacpp.PointerPointer pix)
@Cast(value="bool")
public boolean ThresholdToPix(@Cast(value="tesseract::PageSegMode")
int pageseg_mode,
@ByPtrPtr
org.bytedeco.javacpp.lept.PIX pix)
public org.bytedeco.javacpp.lept.PIX GetPixRectThresholds()
Copyright © 2018. All rights reserved.