Open aguilar-gomez opened 2 years ago
Hi,
Yes, your images should be jpeg.
Please keep me posted if you encounter further problems along the way.
Best,
Steven
From: aguilar-gomez @.> Sent: Monday, February 28, 2022 7:09 PM To: StevenVB12/patternize @.> Cc: Subscribed @.***> Subject: [StevenVB12/patternize] error using patRegK (Issue #30)
I do not have landmarks, so I tried to use patRegK for automated image registration. I am trying to extract a spotted pattern from black and white pictures of frogs. I have pngs. I tried using different images as targets. I tried running a very simple command without many parameters (hoping default would work). I do not have a cartoon. I am trying to run:
rasterList_regKWT <- patRegK(imageListWT,target)
I get this error: Error in h(simpleError(msg, call)) : error in evaluating the argument 'x' in selecting a method for function 'raster': incorrect number of dimensions
Is it because it is png and not jpg? Do you have any recommendations? Thank you
— Reply to this email directly, view it on GitHubhttps://github.com/StevenVB12/patternize/issues/30, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ABQOC4ZG27ZEEB24HZKVDMDU5P577ANCNFSM5PSNJPZQ. Triage notifications on the go with GitHub Mobile for iOShttps://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Androidhttps://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub. You are receiving this because you are subscribed to this thread.Message ID: @.**@.>>
I do not have landmarks, so I tried to use patRegK for automated image registration. I am trying to extract a spotted pattern from black and white pictures of frogs. I have pngs. I tried using different images as targets. I tried running a very simple command without many parameters (hoping default would work). I do not have a cartoon. I am trying to run:
rasterList_regKWT <- patRegK(imageListWT,target)
I get this error: Error in h(simpleError(msg, call)) : error in evaluating the argument 'x' in selecting a method for function 'raster': incorrect number of dimensions
Is it because it is png and not jpg? Do you have any recommendations? Thank you