What is the function pixelIdxListsn?

4 visualizzazioni (ultimi 30 giorni)
Hsiu
Hsiu il 23 Giu 2014
Commentato: Hsiu il 24 Giu 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!

Risposta accettata

Image Analyst
Image Analyst il 23 Giu 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 Commenti
Image Analyst
Image Analyst il 24 Giu 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 il 24 Giu 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?

Accedi per commentare.

Più risposte (2)

the cyclist
the cyclist il 23 Giu 2014
This article explains it.

Hsiu
Hsiu il 24 Giu 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?

Community Treasure Hunt

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

Start Hunting!

Translated by