A better way to access channel directly ?

asked 2013-09-21 19:53:02 -0500

updated 2013-09-22 02:34:13 -0500

berak gravatar image
Instead of using Core.extractChannel(img_roi, Channel_I_Want , 0);
Each time i need a channel to work on it,
Can it be better to do Channel_I_Want = Roi.getChannel(0); // ?
edit retag flag offensive close merge delete

Comments

If you don't mind using c++, I may give you some helps by generic programming(template + lambda)

stereomatching gravatar imagestereomatching ( 2013-09-21 20:23:33 -0500 )edit

Thank you @stereomatching,, extractChannel is the best way to do that java. (Slpit doesnt work for me)

Pascal66 gravatar imagePascal66 ( 2013-09-21 20:38:50 -0500 )edit