{"action":"closed","issue":{"url":"https://api.github.com/repos/Itseez/opencv/issues/6519","repository_url":"https://api.github.com/repos/Itseez/opencv","labels_url":"https://api.github.com/repos/Itseez/opencv/issues/6519/labels{/name}","comments_url":"https://api.github.com/repos/Itseez/opencv/issues/6519/comments","events_url":"https://api.github.com/repos/Itseez/opencv/issues/6519/events","html_url":"https://github.com/Itseez/opencv/issues/6519","id":153940939,"number":6519,"title":"Threshold function lacks support for CV_64F","user":{"login":"arjo129","id":542272,"avatar_url":"https://avatars.githubusercontent.com/u/542272?v=3","gravatar_id":"","url":"https://api.github.com/users/arjo129","html_url":"https://github.com/arjo129","followers_url":"https://api.github.com/users/arjo129/followers","following_url":"https://api.github.com/users/arjo129/following{/other_user}","gists_url":"https://api.github.com/users/arjo129/gists{/gist_id}","starred_url":"https://api.github.com/users/arjo129/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arjo129/subscriptions","organizations_url":"https://api.github.com/users/arjo129/orgs","repos_url":"https://api.github.com/users/arjo129/repos","events_url":"https://api.github.com/users/arjo129/events{/privacy}","received_events_url":"https://api.github.com/users/arjo129/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Itseez/opencv/labels/affected:%20master","name":"affected: master","color":"ededed"},{"url":"https://api.github.com/repos/Itseez/opencv/labels/category:%20imgproc","name":"category: imgproc","color":"ededed"},{"url":"https://api.github.com/repos/Itseez/opencv/labels/feature","name":"feature","color":"84b6eb"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-05-10T07:31:16Z","updated_at":"2016-05-25T13:20:01Z","closed_at":"2016-05-25T13:20:01Z","body":"### Please state the information for your system\r\n- OpenCV version:  3.0.0\r\n- Host OS: Mac OS X 10.11.3 \r\n\r\n### In which part of the OpenCV library you got the issue?\r\nExamples:\r\n- imgproc\r\n\r\n### Expected behaviour\r\nI want to perform a simple threshold to zero of a CV_64F `cv::Mat` using opencv's builtin threshold function.\r\n### Actual behaviour\r\nOpencv's threshold does not support CV_64F.\r\n\r\n### Code example to reproduce the issue / Steps to reproduce the issue\r\nPlease try to give a full example which will compile as is.\r\n```\r\n#include \"opencv2/core.hpp\"\r\n#include <iostream>\r\nusing namespace std;\r\nusing namespace cv;\r\n\r\nint main()\r\n{\r\n    Mat c(1,1,CV_64F,Scalar(1));\r\n    threshold(c, c, 0, 255, THRESH_TOZERO);\r\n    return 0;\r\n}\r\n```\r\n"}}
{"actor":{"display_login":"opencv-pushbot"}}