MCPcopy Create free account

hub / github.com/MearaY/StegaPy / functions

Functions196 in github.com/MearaY/StegaPy

Method__init__
(self, image: Image.Image, config: LSBConfig, password: str = None)
StegaPy/plugin/randlsb/random_lsb_input_stream.py:15
Method__init__
(self, image: Image.Image, data_length: int, filename: str, config: LSBConfig, password: str
StegaPy/plugin/randlsb/random_lsb_output_stream.py:16
Method__init__
初始化RandomLSB插件
StegaPy/plugin/randlsb/random_lsb_plugin.py:22
Method__init__
(self, image: Image.Image, data_length: int, filename: str, config: LSBConfig)
StegaPy/plugin/lsb/lsb_output_stream.py:14
Method__init__
初始化数据头 Args: data_length: 数据长度(不包括头) channel_bits_used: 每个颜色通道使用的位数 filename: 文件名 con
StegaPy/plugin/lsb/lsb_data_header.py:19
Method__init__
初始化LSB插件
StegaPy/plugin/lsb/lsb_plugin.py:21
Method__init__
(self, image: Image.Image, config: LSBConfig)
StegaPy/plugin/lsb/lsb_input_stream.py:14
Method__init__
初始化LSB配置
StegaPy/plugin/lsb/lsb_config.py:11
Method__init__
初始化加密工具
StegaPy/util/crypto_util.py:25
Function_compress_data
压缩数据
StegaPy/util/string_util.py:43
Function_compress_data
压缩数据
StegaPy/util/config_util.py:23
Function_compress_data
压缩数据
StegaPy/util/validation_util.py:3
Function_decompress_data
解压数据
StegaPy/util/string_util.py:3
Methodbytes_to_file
将字节数组写入文件
StegaPy/util/common_util.py:19
Functioncheck_mark
检查水印相关性
StegaPy/util/extension_util.py:3
Methodcreate_config
创建默认配置
StegaPy/plugin/randlsb/random_lsb_plugin.py:152
Methodcreate_config
创建默认配置
StegaPy/plugin/lsb/lsb_plugin.py:149
Functionembed_data
嵌入数据到封面图像
StegaPy/util/file_util.py:20
Methodembed_data
嵌入水印到封面图像
StegaPy/plugin/dwtdugad/dwt_dugad_plugin.py:64
Methodembed_data
嵌入数据到封面图像
StegaPy/plugin/randlsb/random_lsb_plugin.py:38
Methodembed_data
嵌入数据到封面图像
StegaPy/plugin/lsb/lsb_plugin.py:37
Functionextract_data
从隐写数据中提取消息
StegaPy/util/string_util.py:47
Functionextract_data
从隐写数据中提取消息
StegaPy/util/validation_util.py:15
Methodextract_data
从隐写数据中提取水印信息
StegaPy/plugin/dwtdugad/dwt_dugad_plugin.py:148
Methodextract_data
从隐写数据中提取消息
StegaPy/plugin/randlsb/random_lsb_plugin.py:76
Methodextract_data
从隐写数据中提取消息
StegaPy/plugin/lsb/lsb_plugin.py:73
Methodextract_msg_filename
提取消息文件名(水印不支持)
StegaPy/plugin/dwtdugad/dwt_dugad_plugin.py:202
Methodextract_msg_filename
从隐写数据中提取消息文件名
StegaPy/plugin/randlsb/random_lsb_plugin.py:65
Methodextract_msg_filename
从隐写数据中提取消息文件名
StegaPy/plugin/lsb/lsb_plugin.py:63
Methodfile_to_bytes
读取文件为字节数组
StegaPy/util/common_util.py:13
Functiongenerate_signature
生成签名数据
StegaPy/util/config_util.py:2
Methodgenerate_signature
生成签名数据
StegaPy/plugin/dwtdugad/dwt_dugad_plugin.py:207
Methodgenerate_signature
生成签名数据(RandomLSB不支持水印)
StegaPy/plugin/randlsb/random_lsb_plugin.py:99
Methodgenerate_signature
生成签名数据(LSB不支持水印)
StegaPy/plugin/lsb/lsb_plugin.py:95
Methodget_all_plugins
获取当前系统已加载的所有插件列表。
StegaPy/plugin_manager.py:55
Functionget_config
获取配置
StegaPy/util/file_util.py:3
Functionget_config
获取配置
StegaPy/util/validation_util.py:9
Methodget_config
获取当前实例运行的配置项。
StegaPy/StegaPy.py:191
Methodget_config
获取配置
StegaPy/plugin/base.py:109
Methodget_description
获取插件描述
StegaPy/plugin/base.py:48
Methodget_description
获取插件描述
StegaPy/plugin/dwtdugad/dwt_dugad_plugin.py:60
Methodget_description
获取插件描述
StegaPy/plugin/randlsb/random_lsb_plugin.py:34
Methodget_description
获取插件描述
StegaPy/plugin/lsb/lsb_plugin.py:33
Functionget_diff
获取原始图像和隐写图像的差异
StegaPy/util/file_util.py:11
Functionget_diff
获取原始图像和隐写图像的差异
StegaPy/util/validation_util.py:54
Methodget_diff
获取原始图像和隐写图像的差异
StegaPy/plugin/dwtdugad/dwt_dugad_plugin.py:367
Methodget_diff
获取原始图像和隐写图像的差异
StegaPy/plugin/randlsb/random_lsb_plugin.py:124
Methodget_diff
获取原始图像和隐写图像的差异
StegaPy/plugin/lsb/lsb_plugin.py:120
Methodget_error_code
获取错误代码
StegaPy/exceptions.py:26
Methodget_file_extension
获取文件扩展名
StegaPy/util/common_util.py:39
Methodget_header_size
获取当前数据头的实际大小
StegaPy/plugin/lsb/lsb_data_header.py:178
Methodget_high_watermark_level
获取高水印阈值(RandomLSB不支持)
StegaPy/plugin/randlsb/random_lsb_plugin.py:116
Methodget_high_watermark_level
获取高水印阈值(LSB不支持)
StegaPy/plugin/lsb/lsb_plugin.py:112
Methodget_low_watermark_level
获取低水印阈值(RandomLSB不支持)
StegaPy/plugin/randlsb/random_lsb_plugin.py:120
Methodget_low_watermark_level
获取低水印阈值(LSB不支持)
StegaPy/plugin/lsb/lsb_plugin.py:116
Methodget_name
获取插件名称
StegaPy/plugin/base.py:40
Methodget_name
获取插件名称
StegaPy/plugin/dwtdugad/dwt_dugad_plugin.py:52
Methodget_name
获取插件名称
StegaPy/plugin/randlsb/random_lsb_plugin.py:26
Methodget_name
获取插件名称
StegaPy/plugin/lsb/lsb_plugin.py:25
Methodget_namespace
获取命名空间
StegaPy/exceptions.py:30
Methodget_plugins_by_purpose
根据指定用途(如数据隐藏、数字水印)过滤并获取支持该功能的插件列表。
StegaPy/plugin_manager.py:62
Methodget_purposes
获取插件支持的用途
StegaPy/plugin/dwtdugad/dwt_dugad_plugin.py:56
Methodget_purposes
获取插件支持的用途
StegaPy/plugin/randlsb/random_lsb_plugin.py:30
Methodget_purposes
获取插件支持的用途
StegaPy/plugin/lsb/lsb_plugin.py:29
Methodget_readable_file_extensions
获取支持读取的文件扩展名
StegaPy/plugin/base.py:97
Methodget_readable_file_extensions
获取支持读取的文件扩展名
StegaPy/plugin/dwtdugad/dwt_dugad_plugin.py:387
Methodget_readable_file_extensions
获取支持读取的文件扩展名
StegaPy/plugin/randlsb/random_lsb_plugin.py:144
Methodget_readable_file_extensions
获取支持读取的文件扩展名
StegaPy/plugin/lsb/lsb_plugin.py:140
Methodget_subbands
从小波系数中提取子带 Args: coeffs: 小波系数列表 Returns: 子带列表,每个元素为 (level, subband_type, data)
StegaPy/util/dwt_util.py:43
Methodget_watermark_correlation
获取水印相关性
StegaPy/plugin/dwtdugad/dwt_dugad_plugin.py:252
Methodget_watermark_correlation
获取水印相关性(RandomLSB不支持)
StegaPy/plugin/randlsb/random_lsb_plugin.py:107
Methodget_watermark_correlation
获取水印相关性(LSB不支持)
StegaPy/plugin/lsb/lsb_plugin.py:103
Methodget_writable_file_extensions
获取支持写入的文件扩展名
StegaPy/plugin/base.py:101
Methodget_writable_file_extensions
获取支持写入的文件扩展名
StegaPy/plugin/dwtdugad/dwt_dugad_plugin.py:391
Methodget_writable_file_extensions
获取支持写入的文件扩展名
StegaPy/plugin/randlsb/random_lsb_plugin.py:148
Methodget_writable_file_extensions
获取支持写入的文件扩展名
StegaPy/plugin/lsb/lsb_plugin.py:144
Methodpixel_range
将像素值限制在0-255范围内
StegaPy/util/image_util.py:198
Methodreconstruct_subbands
从子带重构小波系数 Args: subbands: 修改后的子带列表 original_coeffs: 原始小波系数结构 wavelet: 小波基名称
StegaPy/util/dwt_util.py:65
Methodreset_config
重置配置
StegaPy/plugin/base.py:113
Methodset_max_bits_used_per_channel
设置每个通道使用的最大位数
StegaPy/plugin/lsb/lsb_config.py:20
Methodset_password
设置用于加密或水印操作的凭证密码。
StegaPy/config.py:57
Methodstream_to_bytes
将流转换为字节数组
StegaPy/util/common_util.py:25
Methodtest_different_from_lsb
RandomLSB 与 LSB 嵌入结果应不同(随机性验证)
tests/test_e2e.py:113
Methodtest_embed_and_verify
(self)
tests/test_e2e.py:138
Methodtest_embed_extract_lsb
(self, tmp_path)
tests/test_e2e.py:169
Methodtest_embed_extract_randlsb
(self, tmp_path)
tests/test_e2e.py:185
Methodtest_help
(self)
tests/test_e2e.py:219
Methodtest_image_unchanged_without_payload
嵌入前后 PSNR 应远高于 40dB(肉眼不可见)
tests/test_e2e.py:82
Methodtest_missing_file_exits_nonzero
(self)
tests/test_e2e.py:214
Methodtest_roundtrip
(self)
tests/test_e2e.py:105
Methodtest_roundtrip_basic
(self)
tests/test_e2e.py:49
Methodtest_roundtrip_with_compression
(self)
tests/test_e2e.py:57
Methodtest_roundtrip_with_encryption
(self)
tests/test_e2e.py:65
Methodtest_watermark_workflow
(self, tmp_path)
tests/test_e2e.py:199
Methodtest_wrong_password_raises
(self)
tests/test_e2e.py:73
Methodtest_wrong_signature_low_score
(self)
tests/test_e2e.py:146
← previous101–196 of 196, ranked by callers