Click here to Skip to main content
15,888,330 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hii

This is the equation to find image gradient in lab color space ..

G(i,j)=sqr (||L(i+1,j)-L(i-1,j)||) + sqr (||(L(i,j+1)-L(i,j-1)||)


Here G(i,j) denotes gradient fn at i j position .

L(I,J) Denotes lab vector fn (here we have l a b values which converted from pixel r g b)

|| is l2 norm of lab vector..

please anybody explain how to calculate l2 norm of this lab vector in ths equtn..
Posted
Comments
sreeyush sudhakaran 17-Sep-15 1:23am    
Sorry, What are you trying to ask , Help to solve a Mathematical equation? Did you mean HSL or CIE to RGB conversion?


if so here is sample code for conversions :

http://www.codeproject.com/Articles/613798/Colorspaces-and-Conversions

http://www.geekymonkey.com/Programming/CSharp/RGB2HSL_HSL2RGB.htm

http://www.codeproject.com/Articles/19045/Manipulating-colors-in-NET-Part

http://www.cs.rit.edu/~ncs/color/t_convert.html


Reference Book : Advances in Intelligent Systems and Applications - Volume 2
silvsten john 17-Sep-15 1:57am    
Ok..thank u..sir then...my aim is to do slic super pixel segmentation...

I didnt find any opencv libraries in c# for this slic super pixel segmentation..
Bt i found slic segmentation by c++ on opencv github site...

My questn is..how can i use this resource for my c# project bec it doesnt have dll or exe file to refer to my project...??

My secnd qus is ,how can i download code source from github....??

Pls help me
Richard MacCutchan 17-Sep-15 4:02am    
how can i download code source from github

Go to the github location for the code and use the information on that page.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900