public void openProductSceneViewHSV(Product hsvProduct, final String helpId) {
final Product[] openedProducts = SnapApp.getDefault().getProductManager().getProducts();
final int[] defaultBandIndices = OpenRGBImageViewAction.getDefaultBandIndices(hsvProduct);
final HSVImageProfilePane profilePane = new HSVImageProfilePane(SnapApp.getDefault().getPreferencesPropertyMap(), hsvProduct,
openedProducts, defaultBandIndices);
final String title = "Select HSV-Image Channels";
final boolean ok = profilePane.showDialog(SnapApp.getDefault().getMainFrame(), title, helpId);
if (!ok) {
return;
}
final String[] hsvExpressions = profilePane.getRgbaExpressions();
nomalizeHSVExpressions(hsvProduct, hsvExpressions);
if (profilePane.getStoreProfileInProduct()) {
RGBImageProfile.storeRgbaExpressions(hsvProduct, hsvExpressions, HSVImageProfilePane.HSV_COMP_NAMES);
}
final String sceneName = OpenRGBImageViewAction.createSceneName(hsvProduct, profilePane.getSelectedProfile(), "HSV");
openProductSceneViewHSV(sceneName, hsvProduct, hsvExpressions);
}