{
    "content": [
        {
            "type": "text",
            "text": "# pgmedge (man)\n\n## NAME\n\npgmedge - edge-detect a portable graymap\n\n## SYNOPSIS\n\npgmedge [pgmfile]\n\n## DESCRIPTION\n\nReads a portable graymap as input.  Outlines the edges, and writes a portable graymap as out‐\nput.  Piping the result through pgmtopbm -threshold and playing with the threshold value will\ngive a bitmap of the edges.\n\n## TLDR\n\n> This command has been superseded by `pamedge`.\n\n- View documentation for the current command:\n  `tldr pamedge`\n\n*Source: tldr-pages*\n\n## Sections\n\n- **NAME**\n- **SYNOPSIS**\n- **DESCRIPTION**\n- **SEE ALSO**\n- **AUTHOR**\n\nUse structuredContent.sections for detailed options, examples, and full documentation.\n"
        }
    ],
    "structuredContent": {
        "command": "pgmedge",
        "section": "",
        "mode": "man",
        "summary": "pgmedge - edge-detect a portable graymap",
        "synopsis": "pgmedge [pgmfile]",
        "tldr_summary": "This command has been superseded by `pamedge`.",
        "tldr_examples": [
            {
                "description": "View documentation for the current command",
                "command": "tldr pamedge"
            }
        ],
        "tldr_source": "official",
        "flags": [],
        "examples": [],
        "see_also": [
            {
                "name": "pgmenhance",
                "section": "1",
                "url": "https://www.chedong.com/phpMan.php/man/pgmenhance/1/json"
            },
            {
                "name": "pgmtopbm",
                "section": "1",
                "url": "https://www.chedong.com/phpMan.php/man/pgmtopbm/1/json"
            },
            {
                "name": "pnmdepth",
                "section": "1",
                "url": "https://www.chedong.com/phpMan.php/man/pnmdepth/1/json"
            },
            {
                "name": "pgm",
                "section": "5",
                "url": "https://www.chedong.com/phpMan.php/man/pgm/5/json"
            },
            {
                "name": "pbm",
                "section": "5",
                "url": "https://www.chedong.com/phpMan.php/man/pbm/5/json"
            }
        ],
        "section_outline": [
            {
                "name": "NAME",
                "lines": 3,
                "subsections": []
            },
            {
                "name": "SYNOPSIS",
                "lines": 3,
                "subsections": []
            },
            {
                "name": "DESCRIPTION",
                "lines": 13,
                "subsections": []
            },
            {
                "name": "SEE ALSO",
                "lines": 3,
                "subsections": []
            },
            {
                "name": "AUTHOR",
                "lines": 5,
                "subsections": []
            }
        ],
        "sections": {
            "NAME": {
                "content": "pgmedge - edge-detect a portable graymap\n\n",
                "subsections": []
            },
            "SYNOPSIS": {
                "content": "pgmedge [pgmfile]\n\n",
                "subsections": []
            },
            "DESCRIPTION": {
                "content": "Reads a portable graymap as input.  Outlines the edges, and writes a portable graymap as out‐\nput.  Piping the result through pgmtopbm -threshold and playing with the threshold value will\ngive a bitmap of the edges.\n\nThe edge detection technique used is to take the Pythagorean sum of two Sobel gradient opera‐\ntors at 90 degrees to each other.  For more details see \"Digital Image Processing\" by  Gonza‐\nlez and Wintz, chapter 7.\n\nThe  maxval  of  the  output is the same as the maxval of the input The effect is better with\nlarger maxvals, so you may want to increase the maxval of the input by running it through pn‐‐\nmdepth first.\n\n",
                "subsections": []
            },
            "SEE ALSO": {
                "content": "pgmenhance(1), pgmtopbm(1), pnmdepth(1), pgm(5), pbm(5)\n\n",
                "subsections": []
            },
            "AUTHOR": {
                "content": "Copyright (C) 1991 by Jef Poskanzer.\n\n\n\n04 February 1990                                pgmedge(1)",
                "subsections": []
            }
        }
    }
}