What is the function pixelIdxListsn?

3 次查看(过去 30 天)
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!

采纳的回答

Image Analyst
Image Analyst 2014-6-23
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 个评论
Image Analyst
Image Analyst 2014-6-24
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 2014-6-24
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?

请先登录,再进行评论。

更多回答(2 个)

the cyclist
the cyclist 2014-6-23
This article explains it.

Hsiu
Hsiu 2014-6-24
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?

类别

Help CenterFile Exchange 中查找有关 Matrix Indexing 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by