Supervised Wishart Classification - Quad-pol RADARSAT2

there are some decompositions which also work for Dual-polarized data but the results are not very good.
There are some discussions on to what extent it makes sense for Sentinel-1 data:



Hi I have generated T3 matrix from Radarsat-2 Quadpol data. Applying lee filter and i also want to perform the wishart classification. I am getting the same error after choosing the training data as text file generated in supervised classification. what should i do in this, Please help …Thanks in advance

please post the error message. We cannot help without this information.

i also get the same error what should i do can anyone please guide in this matter

I can reproduce the error

grafik

@lveci @jun_lu Could we add this to the bug list?

A JIRA ticket has been created to track the issue: https://senbox.atlassian.net/browse/SITBX-749

I’ve just tried the processing chain (refined Lee filtering => Supervised Wishart Classification Training => Supervised Wishart Classification) with RS2 full-pol data on my computer and have no problem. Here I used Refined Lee Filter in Polarimetric Speckle Filter and the output is in T3 matrix format. For Washart classification, the input should be in either the original full-pol format or in coherence matrix T3 format. But if I forget to specify the location of the “Training Data Set” file in the UI of the Supervised Wishart Classification operator, then I got the following error.
image

Which java version have you installed in your system.

that’s strange, when I apply the polarimetric speckle filter (output is T-matrix), train three classes and apply the trained cluster centers to the trained image, I still get the error:

Could you please share your training txt so I can check if they are somehow different?
This is mine: cluster_centers.txt (1.1 KB)

Here is my training txttraining_cluster_centers.txt (2.3 KB)

Did you use the Radarsat Vancouver dataset as well?

the files look similar regarding their structure but when I apply your clusters to my data, the error message persists.

openjdk version “1.8.0_232”

Yes, here is the data set I used
RS2_OK76385_PK678063_DK606752_FQ2_20080415_143807_HH_VV_HV_VH_SLC

Here is the classification result when I use your clusters:


Did you use SNAP 7? I used the SNAP built from the latest source. Yes, I can repeat the problem with SNAP 7. I’ll reopen the ticket.

thank you for testing: This is very strange - yes, I use SNAP 7.0, also tested it for two different machines (both Windows).

which version we should use to avoid this problem i mean Type OperatorException Error

Have you done the wishart classification successfully. it is very urgent for me please suggest the solution so that i can do that

I’v tested it with the SNAP that I built from the latest source code and have no problem. I think you can download the source code and build it, then you should not have the problem. Or you can wait for next SNAP release.