I'd like to read an image from memory instead of a file. I'd like to know what is the counterparts of imread. Thanks Jack
1 | initial version |
I'd like to read an image from memory instead of a file. I'd like to know what is the counterparts of imread. Thanks Jack
2 | No.2 Revision |
I'd like to read an image from memory instead of a file. I'd like to know what is the counterparts of imread. I want to use cv::Mat c(row, column, CV_8UC3, (*bitmap).data); cv::InputArray buf(c);
cv::Mat1b file = cv::imread("", CV_LOAD_IMAGE_GRAYSCALE);
bool ok = skel.thin(file, implementation_name, true);
where skel is called a VoronoiSkeleton downloaded from here
https://sites.google.com/site/rameyarnaud/research/c/voronoi
Thanks Jack
3 | No.3 Revision |
I'd like to read an image from memory instead of a file. I'd like to know what is the counterparts of imread. I want to use
cv::Mat c(row, column, CV_8UC3, (*bitmap).data); cv::InputArray buf(c);cv::Mat1b file = cv::imread("", CV_LOAD_IMAGE_GRAYSCALE);
bool ok = skel.thin(file, implementation_name, true);
where skel is called a VoronoiSkeleton downloaded from here
https://sites.google.com/site/rameyarnaud/research/c/voronoi
Thanks Jack