{"slug":"medien-halowerk-com-v1-oss-opencv-rectified-stereo-disparity-9f64bd","title":"Runs semi-global block matching over a rectified grayscale stereo pair and retur","host":"medien.halowerk.com","method":"POST","resource":"https://medien.halowerk.com/v1/oss-opencv-rectified-stereo-disparity","category":"other","description":"Runs semi-global block matching over a rectified grayscale stereo pair and returns per-pixel disparity together with the count of pixels that could actually be matched. Pixels with no reliable match stay unmatched rather than being interpolated, so occlusions and textureless regions are visible in t","price_listed":0.004,"price_asked":0.004,"state":"answering","state_label":"Answering","checks_7d":1,"answered_7d":1,"latency_ms_median":1524,"reported_calls_30d":0,"reported_payers_30d":0,"networks":["eip155:8453"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"body":{"left_image":[[139,2,135,160,156,89,193,96,123,190,14,151,168,33,209,187,228,255,210,22,135,169,235,29,190,139,22,114,178,198,208,239,184,183,143,47,29,254,183,126,195,65,207,108,91,200,21,127,253,198,123,254,144,62,126,52,140,223,233,129,152,242,148,164],[199,157,238,78,198,174,181,31,227,95,193,119,173,129,155,143,189,117,7,181,238,92,247,63,184,211,99,238,251,173,192,220,81,223,78,142,87,161,208,202,157,152,215,177,90,190,117,54,52,148,251,45,177,219,52,39,178,187,167,184,226,91,234,9],[90,162,35,182,25,2,109,254,179,160,185,60,73,71,64,10,2,154,132,61,93,53,145,142,174,204,234,127,107,87,54,110,146,195,110,77,119,191,227,40,19,55,42,91,202,34,89,124,167,174,125,25,66,154,65,107,202,251,45,180,6,60,36,187],[132,206,18,57,111,110,80,52,13,200,26,79,242,209,152,114,252,222,247,158,210,15,234,35,244,63,120,193,183,220,82,88,52,78,117,40,115,70,117,87,184,210,99,221,116,88,117,170,115,127,155,66,114,79,44,167,121,218,121,175,201,32,134,91],[236,8,96,158,251,39,168,18,217,87,223,34,181,238,41,122,235,91,236,255,213,134,137,214,222,192,180,146,92,159,250,224,173,27,196,53,199,40,210,77,40,217,68,150,221,161,199,161,32,200,240,254,10,107,231,141,8,255,156,180,209,107,72,149],[180,204,219,252,224,55,205,161,220,66,52,31,20,220,27,219,174,161,111,95,221,61,143,253,214,64,51,115,106,218,181,153,140,21,79,21,134,116,208,12,86,68,94,216,133,105,35,165,82,22,75,228,183,66,36,222,57,14,139,88,83,184,157,166],[201,176,239,25,225,239,45,21,245,45,10,29,129,73,58,59,47,22,31,126,69,55,104,227,75,225,123,189,0,115,136,223,29,68,39,198,155,195,133,170,58,80,16,112,44,236,215,146,108,146,234,45,109,173,203,44,251,189,176,109,108,165,116,78],[169,54,156,97,122,99,68,127,103,82,89,201,111,80,153,241,245,224,7,224,94,250,160,43,69,219,209,138,179,136,14,46,192,157,186,152,250,221,56,249,168,202,80,181,70,227,234,3,170,180,84,49,241,244,30,246,41,35,82,47,77,160,218,38],[149,72,230,175,191,133,185,151,156,152,33,25,66,249,248,154,172,147,147,204,12,192,48,28,161,252,49,43,92,146,75,8,31,130,82,165,218,158,107,28,191,171,139,217,92,177,202,49,1,230,69,61,248,187,44,79,248,46,102,187,21,101,95,96],[222,144,160,227,143,23,146,227,71,150,35,15,134,224,46,191,225,184,91,166,38,116,197,162,35,4,0,91,204,229,93,200,231,219,36,142,186,186,163,29,94,25,14,224,81,40,92,89,164,26,53,133,120,217,180,238,132,212,1,131,233,49,164,79],[239,162,68,43,76,133,38,23,250,92,7,195,180,154,150,198,59,58,36,81,29,49,146,244,245,253,77,177,30,48,65,221,204,229,132,171,143,19,190,163,238,70,126,44,241,56,46,17,151,241,20,215,60,176,25,186,86,193,59,186,125,178,84,33],[115,135,23,169,54,245,247,35,65,105,48,11,154,232,140,72,189,159,105,152,30,65,175,197,57,122,157,117,94,244,188,152,227,97,158,43,213,173,119,85,156,97,30,131,226,39,137,132,15,125,160,36,38,253,179,6,173,131,99,96,9,210,13,118],[3,219,138,196,166,247,203,3,156,115,136,240,164,103,12,251,98,249,36,5,100,227,240,110,71,6,21,237,248,219,106,60,233,102,38,176,139,175,249,21,251,250,249,18,117,33,8,118,141,244,90,255,12,54,250,141,250,75,217,38,138,65,101,60],[226,35,121,127,168,56,234,51,46,120,4,239,193,31,203,5,169,200,225,21,111,87,46,71,166,115,168,189,91,16,92,142,81,16,185,166,169,21,178,77,140,251,88,234,183,232,207,197,79,91,94,217,18,157,207,14,210,10,176,74,91,101,193,167],[84,111,124,169,244,69,39,128,236,221,195,101,223,2,32,124,40,237,1,210,225,49,143,31,156,242,200,68,247,85,47,226,220,206,79,56,66,122,18,156,49,212,64,62,56,178,7,66,215,144,226,107,209,148,230,238,104,6,201,204,83,206,201,139],[52,2,143,160,241,99,114,111,206,243,100,113,123,131,50,131,90,163,147,95,190,213,48,181,71,164,178,50,43,173,150,235,68,73,146,174,136,128,174,197,157,203,13,122,245,3,148,180,64,33,132,83,63,128,111,179,234,88,159,0,206,27,218,251]],"right_image":[[156,88,120,189,139,2,135,160,156,89,193,96,123,190,14,151,168,33,209,187,228,255,210,22,135,169,235,29,190,139,22,114,178,198,208,239,184,183,143,47,29,254,183,126,195,65,207,108,91,200,21,127,253,198,123,254,144,62,126,52,140,223,233,129],[112,199,208,178,199,157,238,78,198,174,181,31,227,95,193,119,173,129,155,143,189,117,7,181,238,92,247,63,184,211,99,238,251,173,192,220,81,223,78,142,87,161,208,202,157,152,215,177,90,190,117,54,52,148,251,45,177,219,52,39,178,187,167,184],[103,67,224,20,90,162,35,182,25,2,109,254,179,160,185,60,73,71,64,10,2,154,132,61,93,53,145,142,174,204,234,127,107,87,54,110,146,195,110,77,119,191,227,40,19,55,42,91,202,34,89,124,167,174,125,25,66,154,65,107,202,251,45,180],[24,136,59,178,132,206,18,57,111,110,80,52,13,200,26,79,242,209,152,114,252,222,247,158,210,15,234,35,244,63,120,193,183,220,82,88,52,78,117,40,115,70,117,87,184,210,99,221,116,88,117,170,115,127,155,66,114,79,44,167,121,218,121,175],[159,108,34,143,236,8,96,158,251,39,168,18,217,87,223,34,181,238,41,122,235,91,236,255,213,134,137,214,222,192,180,146,92,159,250,224,173,27,196,53,199,40,210,77,40,217,68,150,221,161,199,161,32,200,240,254,10,107,231,141,8,255,156,180],[105,35,188,222,180,204,219,252,224,55,205,161,220,66,52,31,20,220,27,219,174,161,111,95,221,61,143,253,214,64,51,115,106,218,181,153,140,21,79,21,134,116,208,12,86,68,94,216,133,105,35,165,82,22,75,228,183,66,36,222,57,14,139,88],[119,235,218,204,201,176,239,25,225,239,45,21,245,45,10,29,129,73,58,59,47,22,31,126,69,55,104,227,75,225,123,189,0,115,136,223,29,68,39,198,155,195,133,170,58,80,16,112,44,236,215,146,108,146,234,45,109,173,203,44,251,189,176,109],[242,209,198,174,169,54,156,97,122,99,68,127,103,82,89,201,111,80,153,241,245,224,7,224,94,250,160,43,69,219,209,138,179,136,14,46,192,157,186,152,250,221,56,249,168,202,80,181,70,227,234,3,170,180,84,49,241,244,30,246,41,35,82,47],[74,32,219,212,149,72,230,175,191,133,185,151,156,152,33,25,66,249,248,154,172,147,147,204,12,192,48,28,161,252,49,43,92,146,75,8,31,130,82,165,218,158,107,28,191,171,139,217,92,177,202,49,1,230,69,61,248,187,44,79,248,46,102,187],[10,5,146,115,222,144,160,227,143,23,146,227,71,150,35,15,134,224,46,191,225,184,91,166,38,116,197,162,35,4,0,91,204,229,93,200,231,219,36,142,186,186,163,29,94,25,14,224,81,40,92,89,164,26,53,133,120,217,180,238,132,212,1,131],[76,79,162,50,239,162,68,43,76,133,38,23,250,92,7,195,180,154,150,198,59,58,36,81,29,49,146,244,245,253,77,177,30,48,65,221,204,229,132,171,143,19,190,163,238,70,126,44,241,56,46,17,151,241,20,215,60,176,25,186,86,193,59,186],[56,71,64,30,115,135,23,169,54,245,247,35,65,105,48,11,154,232,140,72,189,159,105,152,30,65,175,197,57,122,157,117,94,244,188,152,227,97,158,43,213,173,119,85,156,97,30,131,226,39,137,132,15,125,160,36,38,253,179,6,173,131,99,96],[161,129,31,231,3,219,138,196,166,247,203,3,156,115,136,240,164,103,12,251,98,249,36,5,100,227,240,110,71,6,21,237,248,219,106,60,233,102,38,176,139,175,249,21,251,250,249,18,117,33,8,118,141,244,90,255,12,54,250,141,250,75,217,38],[201,117,5,237,226,35,121,127,168,56,234,51,46,120,4,239,193,31,203,5,169,200,225,21,111,87,46,71,166,115,168,189,91,16,92,142,81,16,185,166,169,21,178,77,140,251,88,234,183,232,207,197,79,91,94,217,18,157,207,14,210,10,176,74],[58,32,17,18,84,111,124,169,244,69,39,128,236,221,195,101,223,2,32,124,40,237,1,210,225,49,143,31,156,242,200,68,247,85,47,226,220,206,79,56,66,122,18,156,49,212,64,62,56,178,7,66,215,144,226,107,209,148,230,238,104,6,201,204],[200,127,246,56,52,2,143,160,241,99,114,111,206,243,100,113,123,131,50,131,90,163,147,95,190,213,48,181,71,164,178,50,43,173,150,235,68,73,146,174,136,128,174,197,157,203,13,122,245,3,148,180,64,33,132,83,63,128,111,179,234,88,159,0]]},"bodyType":"json","method":"POST","type":"http"},"output_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":false,"description":"Numeric JSON arrays only. Additionally enforce equal paired dimensions, nondegenerate geometry, maximum 32768 pixels/image, 131072 scalars/array, and 1048576 encoded bytes. No paths or network resources.","properties":{"left_image":{"items":{"items":{"maximum":255,"minimum":0,"type":"integer"},"maxItems":256,"minItems":64,"type":"array"},"maxItems":256,"minItems":16,"type":"array"},"right_image":{"items":{"items":{"maximum":255,"minimum":0,"type":"integer"},"maxItems":256,"minItems":64,"type":"array"},"maxItems":256,"minItems":16,"type":"array"}},"required":["left_image","right_image"],"type":"object"},"bodyType":{"enum":["json","form-data","text"],"type":"string"},"method":{"enum":["POST","PUT","PATCH"],"type":"string"},"type":{"const":"http","type":"string"}},"required":["type","method","bodyType","body"],"type":"object"},"output":{"properties":{"example":{"additionalProperties":false,"properties":{"operation":{"const":"rectified-stereo-disparity"},"result":{"additionalProperties":false,"properties":{"disparity_pixels":{"items":{"items":{"anyOf":[{"exclusiveMaximum":16,"exclusiveMinimum":0,"type":"number"},{"type":"null"}]},"maxItems":256,"minItems":64,"type":"array"},"maxItems":256,"minItems":16,"type":"array"},"height":{"minimum":0,"type":"integer"},"valid_pixels":{"minimum":0,"type":"integer"},"warnings":{"items":{"maxLength":1024,"type":"string"},"maxItems":8,"minItems":1,"type":"array"},"width":{"minimum":0,"type":"integer"}},"required":["disparity_pixels","valid_pixels","width","height","warnings"],"type":"object"},"runtime_ms":{"minimum":0,"type":"number"},"upstream":{"additionalProperties":false,"properties":{"binary_sha256":{"const":"1fd4eb220f9986baa0ea0492cbcbedf85b868e792cbcac5f69e10d067a2f956c"},"components":{"const":["StereoSGBM.compute"]},"numpy_version":{"const":"2.5.0"},"package_version":{"const":"4.13.0.92"},"project":{"const":"OpenCV"},"version":{"const":"4.13.0"}},"required":["project","version","package_version","binary_sha256","numpy_version","components"],"type":"object"}},"required":["operation","result","upstream","runtime_ms"],"type":"object"},"type":{"type":"string"}},"required":["type"],"type":"object"}},"required":["input"],"type":"object"},"history":[{"day":"2026-10-25","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.004,"price_match":true,"latency_ms":1524,"error":null}],"description_full":"Runs semi-global block matching over a rectified grayscale stereo pair and returns per-pixel disparity together with the count of pixels that could actually be matched. Pixels with no reliable match stay unmatched rather than being interpolated, so occlusions and textureless regions are visible in the output instead of hidden by plausible-looking values. Disparities are positive and bounded at 16 pixels, which suits small-baseline rigs and close range.","last_updated":"2026-10-25T16:44:03.91Z","schemes":["exact"]}