Scilab Function
Last update : 31/8/2006

multi_pixarr - multiply the elements of a pixel array.

Calling Sequence

[pix_arr_out]=multi_pixarr(pix_arr_in, coef)

Parameters

Description

multiply the elements of a pixel array.

Examples

	dim=100;arr=[];
	for i=1:dim
		for j=1:dim
			sgn=i*j;
			arr=[arr,sgn];
		end
	end  
	pix_arr=pixel_array(dim);
	pix_arr_1=set_pix_arr_data(pix_arr,arr);
	a=pixarr_data(pix_arr_1);surf(a);
	pix_arr_2=multi_pixarr(pix_arr_1,-1);
	a=pixarr_data(pix_arr_2);surf(a);
 

Author

Chen jingyuan, Gan guangyong (IAPCM, Beijing,China.)

See Also

pixel_array ,   pixarr_data ,   set_pix_arr_data ,