Export Data Image Classified to ENVI or QGis (attribute table)

Hi,
How can I export a classified image (file type), with an attribute table (info. by class) to calculate the user and producer accuracy, kappa coefficient in ENVI or QGis?

Thanks

Have you already tried GeoTiff or NetCDF4?

Thank you. I managed to solve the problem.
However, to assess accuracy it is necessary to export the map classified in SNAP to ArcMap and apply to reclassify. Then, export the tif. to QGis. In the SNAP output tif. way, the QGis plugin does not read the Tif (Semi-Automatic Classif.).

Crismeire Isbaex