close Warning: Can't use blame annotator:
svn blame failed on trunk/src/transform_field/ima_green.m: 200029 - Couldn't perform atomic initialization

source: trunk/src/transform_field/ima_green.m @ 730

Last change on this file since 730 was 702, checked in by sommeria, 10 years ago

adds fct 'green'

File size: 513 bytes
RevLine 
1% 'ima_green': take the gree component of a color image
2
3%------------------------------------------------------------------------
4%%%%  Use the general syntax for transform fields with a single input %%%%
5% OUTPUT:
6% DataOut:   output field structure
7
8%INPUT:
9% DataIn:  first input field structure
10%------------------------------------------------------------------------
11function DataOut=ima_green(DataIn)
12
13DataOut=DataIn; %default
14if ndims(DataOut.A)==3
15    DataOut.A=DataOut.A(:,:,2);
16end
17 
Note: See TracBrowser for help on using the repository browser.