如何使用cv2打开16位1通道灰度图像?我不想转换文件。该文件已经是我需要它的形式。
class Diet < ApplicationRecord
belongs_to :coach
has_many :user_eat_diets
has_many :user, through: :user_eat_diets
accepts_nested_attributes_for :user_eat_diets
has_many :diet_composes
has_many :foods, through: :diet_composes
accepts_nested_attributes_for :diet_composes
end
我期待1个uint16频道,文件大小应该是2457600