What is the function pixelIdxListsn?

5 visualizaciones (últimos 30 días)
Hsiu
Hsiu el 23 de Jun. de 2014
Comentada: Hsiu el 24 de Jun. de 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!

Respuesta aceptada

Image Analyst
Image Analyst el 23 de Jun. de 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 comentarios
Image Analyst
Image Analyst el 24 de Jun. de 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 el 24 de Jun. de 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?

Iniciar sesión para comentar.

Más respuestas (2)

the cyclist
the cyclist el 23 de Jun. de 2014
This article explains it.

Hsiu
Hsiu el 24 de Jun. de 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?

Categorías

Más información sobre Matrix Indexing en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by