Search found 12 matches
- Tue Oct 09, 2018, 13:06
- Forum: Direct Graphical Models
- Topic: How to improve classification results with DGM
- Replies: 4
- Views: 14355
Re: How to improve classification results with DGM
Good day, I changed my groundtruth to five class and the best results were when the combination of node and edge models is ( OpenCV Nearest Neighbor | Concatenated Model ). The combination ( OpenCV Artificial Neural Network | Contrast-Sensitive Potts Model ). I also changed my feature vector. Now, t...
- Mon Apr 23, 2018, 20:29
- Forum: Direct Graphical Models
- Topic: How to improve classification results with DGM
- Replies: 4
- Views: 14355
Re: How to improve classification results with DGM
Good day, I improved features (see the attachment) and I have gotten the same results There are some parameters and values in the demotrain.cpp such as: params_len = 1 //I test both 1 and 2 params[] = { 400, 0.001f }; //I also test for { 10, 0.01f }; decoder->decode(100); //I also test 10,150 I got ...
- Thu Apr 12, 2018, 20:26
- Forum: Direct Graphical Models
- Topic: How to improve classification results with DGM
- Replies: 4
- Views: 14355
How to improve classification results with DGM
Good day, In the previous topic , you recommend to increase number of classes for getting better results. I applied DGM for new images. I attached you the train and test images and segmentation results for 6 and 12 classes. 8CE84370_Anchor_resized.tif All_features_Anchorimage.csv 8D031E70_adjBscan_r...
- Thu Feb 01, 2018, 20:42
- Forum: Direct Graphical Models
- Topic: Dense CRF with DGM
- Replies: 14
- Views: 33657
Re: Dense CRF with DGM
I myself wrote code for it. Thanks.
- Tue Jan 30, 2018, 21:10
- Forum: Direct Graphical Models
- Topic: Dense CRF with DGM
- Replies: 14
- Views: 33657
Re: Dense CRF with DGM
Thank you for your response. I run the code and got class probabilities for each pixel (1x4 vector for every pixel). If there is any function which can get input image instead of just one pixel as "node_id" and produce four 2D images which each image corresponds to one class probability fo...
- Sat Jan 20, 2018, 15:34
- Forum: Direct Graphical Models
- Topic: Dense CRF with DGM
- Replies: 14
- Views: 33657
Re: Dense CRF with DGM
Thank you very much for your kind and help. I used the code you sent and the same results. However, I will play with parameters, increase the number of classes and use different features to get better results. Maybe because of using local features, I have the result. if you mind, I will inform you i...
- Sat Jan 13, 2018, 15:04
- Forum: Direct Graphical Models
- Topic: Dense CRF with DGM
- Replies: 14
- Views: 33657
Re: Dense CRF with DGM
Thank you very very much for your kind and help! I used OpenCV v.3.3.0 and it works properly on my computer, too. Thank you for improving the code. I used CRF_output_CvKNN_f36.tif : Using CTrainNodeCvKNN and CTrainEdgePotts and 36 features. I also save the potential matrices in filename.dat to use i...
- Mon Jan 01, 2018, 19:52
- Forum: Direct Graphical Models
- Topic: Dense CRF with DGM
- Replies: 14
- Views: 33657
Re: Dense CRF with DGM
I attach also the files: ⋅ input image, its ground truth, a text file of features for input image (for training) ⋅ test-image, a text file of features for test image ( for testing) the size of images and GT is 61 x 1024 (You can use grey-scale) the size of features is 61 x 1024...
- Sun Dec 31, 2017, 18:58
- Forum: Direct Graphical Models
- Topic: Dense CRF with DGM
- Replies: 14
- Views: 33657
Re: Dense CRF with DGM
Thank you very much for your response. regarding first question: Do you save and/or load the training data in-between the training and classification stages? nodeTrainer->train(); nodeTrainer->save("E:\\zghassabi\\Project1-DIE\\Dataset\\image 1\\nodetrainn.dat"); nodeTrainer->reset(); node...
- Tue Dec 26, 2017, 13:44
- Forum: Direct Graphical Models
- Topic: Dense CRF with DGM
- Replies: 14
- Views: 33657
Re: Dense CRF with DGM
Thank you for the response. I downloaded two version of DGM: ⋅ The old one DGM v.1.5.1 which does not include serialize.h . In this program, I use a feature vector which is an array of 36 matrices for image classification. It works properly. ⋅ However, in the DGM-master (with o...