重新处理
用于对已捕获的 Frame 应用不同的 Settings 而无需从相机重新采集的实验性 API。适用于离线过滤器调优。位于 Zivid::Experimental 中,可能会在没有事先通知的情况下发生变化。
%%{init: {'themeVariables': {'fontSize': '18px'}, 'flowchart': {'nodeSpacing': 30, 'rankSpacing': 35}}}%%
flowchart LR
Application
Frame
Settings
reprocessOp(["reprocess()"])
NewFrame["Frame"]
Application -.-> reprocessOp --> NewFrame
Frame -.-> reprocessOp
Settings -.-> reprocessOp
classDef zividClass fill:#4A8FA4,stroke:#34323D,color:#FFFFFF
classDef api fill:#91D2C8,stroke:#4A8FA4,color:#000000
class Application,Frame,Settings,NewFrame zividClass
class reprocessOp api
reprocess
接受一个现有的 Frame 和一组新的 Settings,返回应用了这些设置的新 Frame。原始帧必须是使用同一台相机捕获的,且未经过转换。
-
Frame reprocess(Application &application, const Frame &frame, const Settings &settings)
Re-run processing on the provided frame using the provided settings.
Returns the new frame.
If the acquisition settings in
settingsdoes not match the original acquisition inframe, this function will throw an exception.This function requires that Diagnostics was enabled when capturing the frame. Otherwise, this method will throw an exception.
If the frame was created from a different SDK version than the currently installed SDK version, this function will throw an exception.
请参阅 C# API reference 中的 Zivid::NET::Experimental::Reprocessor。
重新处理功能目前尚未在 Python API 中提供。
另请参阅