StevenVB12 / patternize

An R package for quantifying color pattern variation
31 stars 8 forks source link

ColorChecker issue #28

Closed mhackett324 closed 2 years ago

mhackett324 commented 2 years ago

Hi Steven, I'm using the color checker feature to calibrate a series of images of fish fins. setwd("C:/Users/mhack/Desktop/patternize-examples-master") #loading required packages library(patternize) library(imager) library(magick) IDlist <- c('Bluegill_fins_01', 'Bluegill_fins_02', 'Bluegill_fins_03', 'Bluegill_fins_04', 'Bluegill_fins_05', 'Bluegill_fins_06')' prepath <- 'images/Fins' extension <- '.jpg' colorChecker(IDlist, prepath, extension, patchSize = 0.5) However, whenever I run the code, I get as far as the program showing me the old image and a blank graph where the calibrated image should be. image When I confirm to save, it saves a blank image. Bluegill_fins_01_calibrated

Thanks for your help! Matt

StevenVB12 commented 2 years ago

Hi Matt

That's strange. Would you mind giving me one or two of your images and let me have a try?

Cheers,

Steven

-------- Original message -------- From: mhackett324 @.> Date: 11/27/21 3:36 PM (GMT+01:00) To: StevenVB12/patternize @.> Cc: Subscribed @.***> Subject: [StevenVB12/patternize] ColorChecker issue (Issue #28)

Hi Steven, I'm using the color checker feature to calibrate a series of images of fish finshttps://drive.google.com/drive/folders/1cTR6KE_i41uefvLIJ8s1KDqfXVLRQpwE?usp=sharing. setwd("C:/Users/mhack/Desktop/patternize-examples-master")

loading required packages

library(patternize) library(imager) library(magick) IDlist <- c('Bluegill_fins_01', 'Bluegill_fins_02', 'Bluegill_fins_03', 'Bluegill_fins_04', 'Bluegill_fins_05', 'Bluegill_fins_06')' prepath <- 'images/Fins' extension <- '.jpg' colorChecker(IDlist, prepath, extension, patchSize = 0.5) However, whenever I run the code, I get as far as the program showing me the old image and a blank graph where the calibrated image should be. [image]https://user-images.githubusercontent.com/95134566/143685613-724ef7c0-a238-4523-9bd0-67db70bb3666.png When I confirm to save, it saves a blank image. [Bluegill_fins_01_calibrated]https://user-images.githubusercontent.com/95134566/143685633-b1ab90a3-98ef-4214-bbb6-4976ac5edaa7.jpg

Thanks for your help! Matt

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHubhttps://github.com/StevenVB12/patternize/issues/28, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ABQOC4ZK2B7E2WZL5FTHAMTUODUFTANCNFSM5I4IADQA. 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.

mhackett324 commented 2 years ago

Hi Steven,

I actually found out the issue. I kept swapping extensions trying to get it to work, so I opened them in GIMP and exported to JPEG. All is working fine.

StevenVB12 commented 2 years ago

Great!!

-------- Original message -------- From: mhackett324 @.> Date: 11/29/21 6:37 PM (GMT-05:00) To: StevenVB12/patternize @.> Cc: "Steven M. Van Belleghem" @.>, Comment @.> Subject: Re: [StevenVB12/patternize] ColorChecker issue (Issue #28)

Hi Steven,

I actually found out the issue. I kept swapping extensions trying to get it to work, so I opened them in GIMP and exported to JPEG. All is working fine.

— You are receiving this because you commented. Reply to this email directly, view it on GitHubhttps://github.com/StevenVB12/patternize/issues/28#issuecomment-982132358, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ABQOC423XHVR6D76VVIJD7TUOQFFJANCNFSM5I4IADQA. 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.