@Namespace(value="dai::node") @NoOffset @Properties(inherit=depthai.class) public class ImageManip extends ImageManipPropertiesNode
Node.Connection, Node.DatatypeHierarchy, Node.Input, Node.InputMap, Node.Output, Node.OutputMapPointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter| Constructor and Description |
|---|
ImageManip(PipelineImpl par,
long nodeId) |
ImageManip(PipelineImpl par,
long nodeId,
ImageManipProperties props) |
ImageManip(Pointer p)
Pointer cast constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
getWaitForConfigInput()
Deprecated.
|
ImageManipConfig |
initialConfig()
Initial config to use when manipulating frames
|
Node.Input |
inputConfig()
Input ImageManipConfig message with ability to modify parameters in runtime
Default queue is blocking with size 8
|
Node.Input |
inputImage()
Input image to be modified
Default queue is blocking with size 8
|
static BytePointer |
NAME() |
Node.Output |
out()
Outputs ImgFrame message that carries modified image.
|
void |
setCenterCrop(float ratio)
Deprecated.
|
void |
setCenterCrop(float ratio,
float whRatio)
Deprecated.
|
void |
setCropRect(float xmin,
float ymin,
float xmax,
float ymax)
Deprecated.
|
void |
setFrameType(int name)
Deprecated.
|
void |
setFrameType(RawImgFrame.Type name)
Deprecated.
|
void |
setHorizontalFlip(boolean flip)
Deprecated.
|
void |
setKeepAspectRatio(boolean keep) |
void |
setMaxOutputFrameSize(int maxFrameSize)
Specify maximum size of output image.
|
void |
setNumFramesPool(int numFramesPool)
Specify number of frames in pool.
|
void |
setResize(int w,
int h)
Deprecated.
|
void |
setResizeThumbnail(int w,
int h)
Deprecated.
|
void |
setResizeThumbnail(int w,
int h,
int bgRed,
int bgGreen,
int bgBlue)
Deprecated.
|
void |
setWaitForConfigInput(boolean _wait)
Deprecated.
|
void |
setWarpMesh(FloatFloatPairVector meshData,
int width,
int height) |
void |
setWarpMesh(Point2fVector meshData,
int width,
int height)
Set a custom warp mesh
|
clone, getName, properties, propertiesassetManager, getAssetManager, getInputRefs, getInputs, getOutputRefs, getOutputs, getParentPipeline, getProperties, getRequiredOpenVINOVersion, id, inputMapRefs, inputRefs, outputMapRefs, outputRefs, propertiesHolder, setInputMapRefs, setInputRefs, setOutputMapRefs, setOutputRefsaddress, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, getDirectBufferAddress, getPointer, getPointer, getPointer, getPointer, hashCode, interruptDeallocatorThread, isNull, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetAddress, offsetof, offsetof, parseBytes, physicalBytes, physicalBytesInaccurate, position, position, put, realloc, referenceCount, releaseReference, retainReference, setNull, sizeof, sizeof, toString, totalBytes, totalCount, totalPhysicalBytes, withDeallocator, zeropublic ImageManip(Pointer p)
Pointer(Pointer).public ImageManip(@SharedPtr PipelineImpl par, @Cast(value="int64_t") long nodeId)
public ImageManip(@SharedPtr PipelineImpl par, @Cast(value="int64_t") long nodeId, @UniquePtr ImageManipProperties props)
@MemberGetter @Cast(value="const char*") public static BytePointer NAME()
@MemberGetter @ByRef public ImageManipConfig initialConfig()
@MemberGetter @ByRef public Node.Input inputConfig()
@MemberGetter @ByRef public Node.Input inputImage()
@MemberGetter @ByRef public Node.Output out()
@Deprecated public void setCropRect(float xmin, float ymin, float xmax, float ymax)
@Deprecated public void setCenterCrop(float ratio, float whRatio)
@Deprecated public void setCenterCrop(float ratio)
@Deprecated public void setResize(int w, int h)
@Deprecated public void setResizeThumbnail(int w, int h, int bgRed, int bgGreen, int bgBlue)
@Deprecated public void setResizeThumbnail(int w, int h)
@Deprecated public void setFrameType(RawImgFrame.Type name)
@Deprecated public void setFrameType(@Cast(value="dai::RawImgFrame::Type") int name)
@Deprecated public void setHorizontalFlip(@Cast(value="bool") boolean flip)
@Deprecated public void setWaitForConfigInput(@Cast(value="bool") boolean _wait)
wait - True to wait for configuration message, false otherwise.@Cast(value="bool") @Deprecated public boolean getWaitForConfigInput()
setWaitForConfigInputpublic void setNumFramesPool(int numFramesPool)
numFramesPool - How many frames should the pool havepublic void setMaxOutputFrameSize(int maxFrameSize)
maxFrameSize - Maximum frame size in bytespublic void setWarpMesh(@Const @ByRef Point2fVector meshData, int width, int height)
meshData - 2D plane of mesh points, starting from top left to bottom rightwidth - Width of meshheight - Height of meshpublic void setWarpMesh(@Const @ByRef FloatFloatPairVector meshData, int width, int height)
Copyright © 2024. All rights reserved.