![]() |
|
Pathologically Eclectic Rubbish Lister | |
PerlMonks |
Re^5: Imagecat - show color images in a terminalby etj (Priest) |
on Feb 02, 2024 at 20:55 UTC ( [id://11157485]=note: print w/replies, xml ) | Need Help?? |
Using FlexRaw to read the PV of a scalar as an ndarray is very clever, nice work! However, a more idiomatic way might be to replace the last 4 lines with (untested):
Another way to read images into PDL with lots of capability is PDL::OpenCV::Imgcodecs.
In Section
Cool Uses for Perl
|
|