You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
refactor(SensorsBlocks): remove duplicate methods and consolidate pixel data handling
- Removed duplicate getPixelDataFromMedia method
- Merged pixel data handling into unified getPixelData method
- Updated arg method to use the consolidated getPixelData
- Improved error handling and documentation
- Fixed RGB component indexing in GetBlueBlock and GetGreenBlock
- Made code more maintainable and DRY
This change eliminates code duplication while preserving all functionality
and improving error handling across the SensorsBlocks implementation.
0 commit comments