
Version 0.8
iRfcb 0.8.0
New features
- New function
ifcb_classify_images()to classify one or more pre-extracted IFCB PNG images through a CNN model served by a Gradio application, returning a data frame of predicted class names and confidence scores. Per-class thresholds are applied automatically. - New function
ifcb_classify_sample()to classify all images in a raw IFCB sample (.roifile) without prior PNG extraction. Internally extracts images to a temporary directory and delegates toifcb_classify_images(). - New function
ifcb_save_classification()to classify IFCB samples via Gradio API and save results as HDF5 (.h5), MAT (.mat), or CSV (.csv) files. - New function
ifcb_classify_models()to list available CNN models from a Gradio classification server. - Added HDF5 (
.h5) and CSV (.csv) classification file support toifcb_extract_biovolumes(),ifcb_extract_classified_images(),ifcb_summarize_class_counts(),ifcb_summarize_biovolumes(), andsummarize_TBclass(), in addition to existing.matsupport.
Breaking changes
- Image extraction functions (
ifcb_extract_pngs(),ifcb_extract_annotated_images(), andifcb_extract_classified_images()) now preserve raw pixel values by default (normalize = FALSE), producing images comparable to IFCB Dashboard and other standard IFCB software. Previously, pixel values were stretched to the full 0-255 range using min-max normalization. This change can affect classifier training results. Setnormalize = TRUEto restore the previous behavior (#75).
Minor improvements and fixes
-
ifcb_create_manual_file()now writesclass2use_autoas a numeric matrix, matching the format produced byifcb-analysis(#74). - Corrected the parameter description of
micron_factorinifcb_psd()andifcb_extract_biovolumes(). - Corrected the parameter description of
skip_classinifcb_extract_annotated_images().
Deprecations
-
ifcb_run_image_gallery()is deprecated in favor ofClassiPyR::run_app(). See https://europeanifcbgroup.github.io/ClassiPyR/ for more information. - Deprecated arguments:
-
old_adcinifcb_extract_pngs(),ifcb_extract_annotated_images(), andifcb_extract_classified_images(). ADC format (old IFCB1-6 vs new) is now auto-detected from the HDR file’sADCFileFormatparameter and the ADC column count. -
mat_filesinifcb_extract_biovolumes()andifcb_summarize_biovolumes()(replaced byclass_files). -
mat_recursiveinifcb_extract_biovolumes()andifcb_summarize_biovolumes()(replaced byclass_recursive).
-
iRfcb 0.8.1
Bug fixes
- Fixed
adc_get_roi_columns()failing to detect ROI dimension columns for older IFCB instruments (e.g. IFCB110) where HDR files use different column name casing (ROIwidth/ROIheight/start_byte) compared to newer instruments (RoiWidth/RoiHeight/StartByte). Column matching is now case-insensitive and positional fallback uses column indices instead of V-prefixed names (#77).