Click here to Skip to main content
15,888,293 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I started working on imageprocessing now...i have a doubt....Can i use a vlfeat library function in my c# project..??..if yes how...


bec i heard tht vlfeat is developed in c language...
Posted

1 solution

you can most likely use vlfeat from c#, [but] you'd have to use p/invoke - if there's no c# image processing library that gives you what you need, it may be your only choice.

If the vlfeat c api is tricky to p/invoke, you could use a 'middle layer', ie, aggregate the transforms/functions you want into a 'c' dll and export a simpler interface for the benefit of calling via p/invoke from c# - so you end up with a 'stack' like I've shown below

c# - calls middle layer
using p/invoke
- - - - - - - - - - - - - -
middle layer - aggregate
of vlfeat functions into
useable business functions
in 'c' dll
- - - - - - - - - - - - - -
vlfeat api raw functions
 
Share this answer
 
v2
Comments
nanimam 3-Oct-15 3:19am    
Thanks for ur answer...actually i need slic superpixels or quickshift superpixels method for image segmentation.i saw these functions in vlfeat...i checked in other c#image processing libraries bt ididnt find these functions libraries anywhere else..

If u know pls suggest me any resource...
Thnx in advance

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