Weird results combination imlabel + imwarp + regionpros. Bug ?
1 visualizzazione (ultimi 30 giorni)
Mostra commenti meno recenti
Hello there !
I met a problem that was already asked, and I do need the answer. I did more thorough test compared to the previous post. Original post :
So, I did a test, and instead of having just a few points, I made a square 11*11.
Here are the two root images, left then right :
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/152542/image.jpeg)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/152543/image.jpeg)
Here are the labeled image transformed and the root image transformed (looking exactly the same) :
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/152544/image.bmp)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/152545/image.bmp)
And here (the interesting part), is what regionprops gives me for centroids of the labeled then transformed image :
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/152546/image.jpeg)
My question is : is it a bug or is it me that is doing something wrong somewhere ? If it is the latest, could you tell me how to fix it ?
Thank you for reading.
Risposte (0)
Vedere anche
Prodotti
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!