nonapi
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| nonapi [2023/01/13 11:00] – [Barcode] yves | nonapi [2024/06/10 10:57] (current) – angelos | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ===== Image Endpoints ===== | ===== Image Endpoints ===== | ||
| - | The following endpoints are available in PMA.core to view Whole Slide Images and its associated labels, thumbnails and macro images. The following list contains the endpoint URL, a brief description and the available parameters for each one. | + | The following endpoints are available in PMA.core to view Whole Slide Images and their associated labels, thumbnails and macro images. The following list contains the endpoint URL, a brief description and the available parameters for each one. |
| ==== Tile ==== | ==== Tile ==== | ||
| Line 12: | Line 12: | ||
| |**channels**|Comma separated channel indexes to render| | |**channels**|Comma separated channel indexes to render| | ||
| |**channelClipping**|Min and max limits to clip and scale pixel values. Two values required per channel| | |**channelClipping**|Min and max limits to clip and scale pixel values. Two values required per channel| | ||
| + | |**channelColor**|Comma separated hex AARRGGBB color per fluorescent channel| | ||
| |**gamma**|Gamma values for each channel. One value required per channel| | |**gamma**|Gamma values for each channel. One value required per channel| | ||
| |**x**|The x index of the tile| | |**x**|The x index of the tile| | ||
| Line 17: | Line 18: | ||
| |**z**|The z index of the tile| | |**z**|The z index of the tile| | ||
| |cache|// | |cache|// | ||
| - | |format|// | + | |format|// |
| |quality|// | |quality|// | ||
| |postGamma|// | |postGamma|// | ||
| Line 29: | Line 30: | ||
| **/region** Renders a region of a slide | **/region** Renders a region of a slide | ||
| ^Parameter ^Description^ | ^Parameter ^Description^ | ||
| - | |**sessionID**|The session | + | |**sessionID**|The session |
| |**pathOrUid**|The path or unique identifier of the image to render| | |**pathOrUid**|The path or unique identifier of the image to render| | ||
| |**timeframe**|The index of the time frame to render| | |**timeframe**|The index of the time frame to render| | ||
| Line 40: | Line 41: | ||
| |**scale**|The factor to scale the rendered region by| | |**scale**|The factor to scale the rendered region by| | ||
| |**channelClipping**|Min and max limits to clip and scale pixel values. Two values required per channel.| | |**channelClipping**|Min and max limits to clip and scale pixel values. Two values required per channel.| | ||
| + | |**channelColor**|Comma separated hex AARRGGBB color per fluorescent channel| | ||
| |**gamma**|Gamma values for each channel. One value required per channel | | |**gamma**|Gamma values for each channel. One value required per channel | | ||
| |drawScaleBar|// | |drawScaleBar|// | ||
| |downloadInsteadOfDisplay|// | |downloadInsteadOfDisplay|// | ||
| |drawFilename|// | |drawFilename|// | ||
| - | |format|// | + | |format|// |
| |quality|// | |quality|// | ||
| |annotationsLayerType|// | |annotationsLayerType|// | ||
| Line 56: | Line 58: | ||
| **Returns** A file stream that contains the rendered region | **Returns** A file stream that contains the rendered region | ||
| - | **Example** /// | + | **Example** /// |
| + | In the example request above, the system will render a 1000x1000 pixel portion of the full resolution image and scale it to 100x100 pixels before it returns it to the client. | ||
| ==== Thumbnail ==== | ==== Thumbnail ==== | ||
| **/ | **/ | ||
| ^Parameter ^Description^ | ^Parameter ^Description^ | ||
| - | |**sessionID**|The session | + | |**sessionID**|The session |
| |**pathOrUid**|The path or unique identifier of the image to render| | |**pathOrUid**|The path or unique identifier of the image to render| | ||
| |orientation|// | |orientation|// | ||
| Line 75: | Line 78: | ||
| ^Parameter ^Description^ | ^Parameter ^Description^ | ||
| - | |**sessionID**|The session | + | |**sessionID**|The session |
| |**pathOrUid**|The path or unique identifier of the image to render| | |**pathOrUid**|The path or unique identifier of the image to render| | ||
| |orientation|// | |orientation|// | ||
| Line 87: | Line 90: | ||
| **/ | **/ | ||
| ^Parameter ^Description^ | ^Parameter ^Description^ | ||
| - | |**sessionID**|The session | + | |**sessionID**|The session |
| |**pathOrUid**|The path or unique identifier of the image to render| | |**pathOrUid**|The path or unique identifier of the image to render| | ||
| |orientation|// | |orientation|// | ||
nonapi.1673604041.txt.gz · Last modified: by yves
