I need to run a command from fiji menu in java code developed using netbeans IDE. The command is Image--Color--RGB to CIELAB.
I used "IJ.run" to run commands from ImageJ menu like Fill Holes(i.e. IJ.run(imp,"Fill Holes","")). But I don't know how to do this using fiji.
When I use IJ.run(imp,"RGB to CIELAB","");
I got the following error:
Unrecognized command: "RGB to CIELAB"
Any help to run commands from fiji menu in java code?