Skip to main content
Image AlgorithmsTool Introduction

Prewitt operator uses 3x3 uniform-weighted kernels for gradients (lighter center weight than Sobel), Roberts operator uses 2x2 cross-difference (sensitive to diagonal edges, noise-prone). Supports x/y/magnitude direction and threshold filtering.

Key Formula / Principle

Prewitt: Gx = [[-1,0,1],[-1,0,1],[-1,0,1]] * I
Roberts: Gx = [[1,0],[0,-1]] * I, Gy = [[0,1],[-1,0]] * I
mag = √(Gx² + Gy²)
Data Processed Locally|All computations run in your browser. Images, formulas, state machine definitions, and any other input data are never sent to any server.

Related Tools

Color Matrix· Image AlgorithmsDemosaic· Image AlgorithmsAuto White Balance· Image AlgorithmsGamma Correction· Image AlgorithmsSpatial Denoise· Image AlgorithmsTemporal Noise Reduction (TNR)· Image AlgorithmsSharpen USM· Image AlgorithmsPixel Binning· Image AlgorithmsPipeline· Image AlgorithmsColor Space Converter· Image AlgorithmsHistogram Analysis· Image Algorithms3D LUT Color Grading· Image AlgorithmsTone Mapping HDR· Image AlgorithmsHDR Exposure Fusion· Image AlgorithmsTone Curve· Image AlgorithmsCLAHE Auto Contrast· Image AlgorithmsBlack Level Correction· Image AlgorithmsDefect Pixel Correction· Image AlgorithmsLens Shading Correction· Image AlgorithmsCanny Edge Detection· Image AlgorithmsSobel Edge Detection· Image AlgorithmsLaplacian Edge Detection· Image AlgorithmsHarris Corner Detection· Image AlgorithmsHough Line Detection· Image AlgorithmsMean Blur· Image AlgorithmsMedian Filter· Image AlgorithmsNoise Injection· Image AlgorithmsErosion· Image AlgorithmsDilation· Image AlgorithmsOpening· Image AlgorithmsClosing· Image AlgorithmsCrop· Image AlgorithmsResize· Image AlgorithmsResistor Calculator· Basic ToolsOhm's Law· Basic ToolsRC/LC Filter· Basic ToolsNumber / Encoding Converter· Basic ToolsCRC Calculator· Basic ToolsState Machine Editor· FPGA ToolsTiming Diagram Tool· FPGA ToolsFIFO Depth Calculator· FPGA ToolsCDC Synchronizer Selector· FPGA ToolsSDC Constraint Generator· FPGA ToolsSetup/Hold Checker· FPGA ToolsTiming Budget Analyzer· FPGA ToolsPipeline Calculator· FPGA ToolsAI-Verilog Prompt Workbench· FPGA ToolsVerilog Code Template Library· FPGA ToolsBOM Manager· BOM Management