Open AnaSBarreira opened 5 years ago
Hi Ana,
it's a bit difficult from what you are saying to see what might be going wrong. Would you be willing to share me a dropbox folder with three of your images, landmarks and code? That I way i can troubleshoot it easily.
Steven
Hi Ana,
it was the .png format of your images that caused problems. Changing them to .jpg makes it work.
Cheers, Steven
Oohhhh, that's great! Thank you so much!
Cheers,
Ana
El El sáb, 11 may. 2019 a las 14:48, Steven M. Van Belleghem < notifications@github.com> escribió:
Hi Ana,
it was the .png format of your images that caused problems. Changing them to .jpg makes it work.
Cheers, Steven
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/StevenVB12/patternize/issues/14#issuecomment-491531233, or mute the thread https://github.com/notifications/unsubscribe-auth/AMBHOZA7GJPFFRCHMIV72VLPU4BH5ANCNFSM4HMD5UBA .
-- Dra. Ana S. Barreira Investigadora Asistente CONICET División Ornitología (+5411) 4982-6595 ext 185 Museo Argentino de Cs. Naturales "Bernardino Rivadavia" Av. Angel Gallardo 470 (C1405DJR) CABA - Argentina
No problem! Let me know if I can be of help with any other steps.
Steven
Dear Steven,
I'm trying to run patternize on some of my own data. So far, I've been able to run the analyses with the patlanRGB scripts, but when trying to run the patlank with the same data I get this error message "aggregate.data.frame(field, list(cells), fun, na.rm = na.rm)". I get a plot with the resulting kmeans image (though I'm not sure if it includes all images in the analysis or it gets stuck before), but it does not provide de raster list.
Here's the script I'm using: rasterList_lank6 <- patLanK(imageList, landmarkList, k = 6, crop = TRUE, res = 300, adjustCoords = TRUE, transformRef = 'meanshape', plot = TRUE)
Any help will be greatly appreciated. Thanks!
Ana