What is the function pixelIdxListsn?

2 views (last 30 days)
Hsiu
Hsiu on 23 Jun 2014
Commented: Hsiu on 24 Jun 2014
Hello! I was given and asked to use a function called pixelIdxListsn, but because it was in .mexw64 file, and I am using a Mac so I had to get it in the .m format instead. I was told to get it from the Image Processing Toolbox, but realized that it actually does not belong there. Does anyone know where I can actually get the function, and what is it about? Thank you!

Accepted Answer

Image Analyst
Image Analyst on 23 Jun 2014
There is no such function in the Image Processing Toolbox as you know. To find alternate code that does the same thing I'd have to know what that function does. I would go back to the author of the .mexw64 file - whoever built/compiled it - and ask them for the source code.
  6 Comments
Image Analyst
Image Analyst on 24 Jun 2014
OK so it's a mexw64 file (a DLL). Where is your code where you're calling loadlibrary() and then calling the function?
Hsiu
Hsiu on 24 Jun 2014
Erm do you mean where I am gonna use this function? It is as attached. Included in the pathway is a lot of other functions as well, but I am trying to run this attached script. When I do it, it stated the following error:
Undefined function 'pixelIdxListsn' for input arguments of type 'double'.
Error in bwconncomp_nd (line 12) pixelIdxList = pixelIdxListsn(A,conn);
Error in bwconncomp (line 107) [CC.PixelIdxList,CC.NumObjects] = bwconncomp_nd(BW, conn);
Error in RemoveSmallestComponents (line 12) CC = bwconncomp(image,connectivity);
Error in cav_initial_alignment (line 175) seg_im = RemoveSmallestComponents(seg_im,10000,26,1);
Error in FindTheLid (line 19) [R,S,dimensions,LVpool,RVpool] = cav_initial_alignment(Ventr,hPH,'BiV',[]);
So basically I need the function pixelIdxListsn?

Sign in to comment.

More Answers (2)

the cyclist
the cyclist on 23 Jun 2014
This article explains it.

Hsiu
Hsiu on 24 Jun 2014
Erm do you mean where I am gonna use this function? It is as attached. Included in the pathway is a lot of other functions as well, but I am trying to run this attached script. When I do it, it stated the following error:
Undefined function 'pixelIdxListsn' for input arguments of type 'double'.
Error in bwconncomp_nd (line 12) pixelIdxList = pixelIdxListsn(A,conn);
Error in bwconncomp (line 107) [CC.PixelIdxList,CC.NumObjects] = bwconncomp_nd(BW, conn);
Error in RemoveSmallestComponents (line 12) CC = bwconncomp(image,connectivity);
Error in cav_initial_alignment (line 175) seg_im = RemoveSmallestComponents(seg_im,10000,26,1);
Error in FindTheLid (line 19) [R,S,dimensions,LVpool,RVpool] = cav_initial_alignment(Ventr,hPH,'BiV',[]);
So basically I need the function pixelIdxListsn?

Categories

Find more on Programming in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!