Ask Your Question

Mohammad's profile - activity

2020-02-01 04:19:47 -0600 commented question OpenCV Exposure Compensation Without The Need To Stitch Images

I've done that, It's not as effective as Exposure Compensation algorithms and it makes the other parts of the image (usu

2020-02-01 01:22:14 -0600 commented question OpenCV Exposure Compensation Without The Need To Stitch Images

I added the link to StackOverflow on top of the page.

2020-02-01 01:20:21 -0600 commented question OpenCV Exposure Compensation Without The Need To Stitch Images

They are predicted images from a neural network and I want to stitch them together BUT they don't have overlapping secti

2020-02-01 01:18:00 -0600 edited question OpenCV Exposure Compensation Without The Need To Stitch Images

OpenCV Exposure Compensation Without The Need To Stitch Images (This is a repost from StackOverflow) I have a bunch of

2020-01-31 13:14:22 -0600 edited question OpenCV Exposure Compensation Without The Need To Stitch Images

OpenCV Exposure Compensation Without The Need To Stitch Images (This is a repost from StackOverflow) I have a bunch of

2020-01-31 12:13:42 -0600 asked a question OpenCV Exposure Compensation Without The Need To Stitch Images

OpenCV Exposure Compensation Without The Need To Stitch Images (This is a repost from StackOverflow) I have a bunch of

2017-08-02 11:35:24 -0600 commented question Smoothing image to a Gradient-like state

I went and checked the Sun-RGBD dataset images... the bit depth for the images is 16 bits... What should I do?

2017-08-01 12:36:11 -0600 commented question Smoothing image to a Gradient-like state

Thanks for coming along with me and having patience... how can I check the precision of depth images? I guess it's not the resolution nor the bit depth...

2017-08-01 12:33:32 -0600 received badge  Enthusiast
2017-07-31 01:03:44 -0600 commented question Smoothing image to a Gradient-like state

I did... But since CLAHE is also another Histogram Equalization algorithm, it doesn't do anything about smoothing the image... only the intensities change but the raggedness stays the same...

2017-07-29 10:48:57 -0600 commented question Smoothing image to a Gradient-like state

Actually this is an example from the Sun RGBD dataset... the only thing I've done on it is Histogram Equalization... but even without Histogram Equalization, nearly all of the images are like the one I showed above... Opening them with different viewers always gives the same style even without altering them in any way... I wanted the smoothing for some other reason and I was actually curious if there was a way to smooth these images without blurring them out...

2017-07-29 03:05:09 -0600 asked a question Smoothing image to a Gradient-like state

I have a dataset of Depth images where the structure is mostly like this:

image description

Is there a way I could use OpenCV to convert this block-like artifacts to a smooth gradient-like image? to something like this:

image description

Using Gaussian blurring actually blurs the details too much to be useful... Here's an example image I want to smooth:

image description

Thanks

2017-07-28 02:58:13 -0600 commented answer OpenCV Disparity map post-filtering using only one depth image

Thanks for the answer...

2017-07-28 01:41:34 -0600 asked a question OpenCV Disparity map post-filtering using only one depth image

OpenCV has a tutorial on post-filtering disparity maps here but it needs the left and right images to function properly. Is there a way to do this using only one depth image which we have acquired beforehand?

From this:

enter image description here

To This:

enter image description here

Using C++ is not a problem but I'd appreciate it if there was a way to do this in Python...

Thanks

2015-12-23 23:57:55 -0600 received badge  Famous Question (source)
2014-03-04 03:14:27 -0600 received badge  Taxonomist
2013-12-12 15:17:23 -0600 received badge  Notable Question (source)
2013-08-07 02:30:54 -0600 received badge  Nice Question (source)
2013-04-28 05:52:46 -0600 received badge  Popular Question (source)
2012-08-11 05:38:30 -0600 received badge  Editor (source)
2012-08-11 05:35:15 -0600 asked a question How to insert array of <int> into CvArr

I'm trying to develop a Face Recognition app on Android and I'm using JavaCV+OpenCV 2.4.2 to use Philipp Wagner's Face Recognition Class.

The class has a Train Method which accepts arrays of Mat and Integer as input (in C++) :

vector<Mat> images;
vector<int> labels;

Ptr<FaceRecognizer> model = createFisherFaceRecognizer();
model->train(images, labels);

JavaCV accepts the attributes of 'train' method as "train(MatVector arg0, CvArr arg1)" ... AND here is where I'm stuck !

I'm having a little trouble trying to load data into CvArr... I already have the labels as strings of data... but I can't seem to find a way to insert these labels as an array to CvArr... let's call it a lack of OpenCV knowledge... can anybody help me with this issue ?!

P.S : BTW I know that iplImage can be used instead of CvArr in this method but the problem still remains : HOW can I insert an Array of <int> into iplImage ?!

2012-08-09 19:20:03 -0600 commented answer Face Recognition on Android

Thanks ! Will Check it Out...

2012-08-07 06:29:20 -0600 commented answer Face Recognition on Android

Thanks Philipp...

But I'm having a little trouble trying to load data into CvArr... I already have the labels as strings of data... but I can't seem to find a way to insert these labels as an array to CvArr... let's call it a lack of OpenCV knowledge... can anybody help me with this issue ?!

2012-07-28 06:38:19 -0600 received badge  Scholar (source)
2012-07-28 04:49:13 -0600 received badge  Supporter (source)
2012-07-28 04:11:02 -0600 received badge  Student (source)
2012-07-28 03:50:34 -0600 asked a question Face Recognition on Android

Hi

I'm trying to develop a Face Recognition app on Android and since I don't want to use NDK on the project (simply don't have the time to switch), I'm sticking to develop the whole app with Java and therefor I'm having some problems :

  1. It seems the Contrib Module isn't included in OpenCV 2.4.2 . is there anyway to use it in the project ?

  2. I tried using JavaCV to use the Contrib Module's "FaceRecognizer" class. there are two classes available called "FaceRecognizer" & "FaceRecognizerPtr". does anybody know what the difference between these two is ?

  3. The classes mentioned above have a method called "Train" which (In C++) receives two Vectors of types "Mat & Integer" ( model->train(images,labels) & train(Vector<mat> theImages, Vector<int> theLabels) . I tried passing them ArrayList<mat> & ArrayList<integer> and Vectors in Java but it seems that the method explicitly accepts the "CvArr" Data type which I'm not sure how to acquire... Here is the error :

The method train(opencv_core.CvArr, opencv_core.CvArr) in the type opencv_contrib.FaceRecognizer is not applicable for the arguments (ArrayList<mat>, ArrayList<integer>

Does anyone know how to change my ArrayList to CvArr ?!

This is my first post and I wasn't sure whether to ask all three questions in one post or in three posts so sorry for any inconveniences... If you need any other Information about the project, feel free to ask.