opencv

opencv / SharpenImage / 0.1.10

README.md

1. Introduction


Uses an unsharp mask to sharpen input image. Pipe your binary input in and get the sharpened image as binary output.

Input:

  • (Required): Image Data API Url, Web (http/https) Url, or binary image.
  • (Optional): Output image location.

Output:

  • Output image location.

2. Examples

Example 1.

  • Parameter 1: Data API Url
{
  "image": "data://opencv/SampleImages/husky.jpg"
}

Output

{
  "output": "data://.algo/temp/output.jpg"
}

Example 2.

  • Parameter 1: HTTP Url
{
  "image": "https://s3.amazonaws.com/algorithmia-assets/algo_desc_images/opencv_SharpenImage/husky.jpg"
}

Output:

{
  "output": "data://.algo/temp/output.jpg"
}

Example 3.

  • Parameter 1: HTTP Url
  • Parameter 2: Output file save location.
{
  "image": "https://s3.amazonaws.com/algorithmia-assets/algo_desc_images/opencv_SharpenImage/husky.jpg",
  "location": "data://.algo/temp/test.png"
}

Output:

{
  "output": "data://.algo/temp/test.png"
}

3. Credits

For more information please refer to: http://opencv.org/

Image was retrieved from:

http://healsofmaxn.deviantart.com/art/Husky-Smile-184275745