Ask Your Question

Dc's profile - activity

2019-01-16 13:10:15 -0600 received badge  Enthusiast
2019-01-11 09:05:27 -0600 commented answer How can you use K-Means clustering to posterize an image using opencv javascript?

Here I attach some code to obtain a newImage as u8Int ` for( var y = 0; y < mat.rows; y++ ) for( var x = 0; x &l

2019-01-11 09:05:01 -0600 commented answer How can you use K-Means clustering to posterize an image using opencv javascript?

Here I attach some code to obtain a newImage as u8Int ` for( var y = 0; y < mat.rows; y++ ) for( var x = 0; x &l

2019-01-10 09:48:59 -0600 commented answer How can you use K-Means clustering to posterize an image using opencv javascript?

@berak, Both methods fail to assign correctly the u8Int value (newImage.convertTo(dst,CV_8U) and newImage.ucharPtr(y,x)[

2019-01-10 09:47:21 -0600 commented answer How can you use K-Means clustering to posterize an image using opencv javascript?

@berak, Both methods fail to assign correctly the u8Int value (newImage.convertTo(dst,CV_8U) and newImage.ucharPtr(y,x)[

2019-01-09 14:47:43 -0600 answered a question How can you use K-Means clustering to posterize an image using opencv javascript?

After some attempts I already solved the errors: 1- sample Mat must be float32 so, sample.floatPtr(y + x*mat.rows)[z

2019-01-08 10:34:48 -0600 commented question How can you use K-Means clustering to posterize an image using opencv javascript?

@berak, I already put the code as you said

2019-01-08 10:32:21 -0600 edited question How can you use K-Means clustering to posterize an image using opencv javascript?

How can you use K-Means clustering to posterize an image using opencv javascript? How can you use K-Means clustering to

2019-01-08 10:31:28 -0600 received badge  Editor (source)
2019-01-08 10:31:28 -0600 edited question How can you use K-Means clustering to posterize an image using opencv javascript?

How can you use K-Means clustering to posterize an image using opencv javascript? How can you use K-Means clustering to

2019-01-08 10:26:53 -0600 commented question How can you use K-Means clustering to posterize an image using opencv javascript?

I have created the Mat as you describe in 1. In step 2, the parameters are declared similar like C++ example, I think th

2019-01-07 10:45:59 -0600 commented question How can you use K-Means clustering to posterize an image using opencv javascript?

There exist a post How can you use K-Means clustering to posterize an image using c++?, but some functions are different

2019-01-07 10:34:58 -0600 asked a question How can you use K-Means clustering to posterize an image using opencv javascript?

How can you use K-Means clustering to posterize an image using opencv javascript? How can you use K-Means clustering to