pub struct GhostMetrics {
pub num_modifications: usize,
pub n_used: usize,
pub w: usize,
pub total_cost: f64,
pub median_cost: f32,
pub is_si: bool,
pub shadow_modifications: usize,
pub total_coefficients: usize,
}Expand description
Inputs for Ghost stealth score computation.
Fields§
§num_modifications: usizeNumber of STC modifications (cover != stego).
n_used: usizeNumber of cover positions used by STC (n_used).
w: usizeSTC width parameter.
total_cost: f64Total distortion cost from STC embedding.
median_cost: f32Median cost across all positions (before STC).
is_si: boolWhether SI-UNIWARD (Deep Cover) was used.
shadow_modifications: usizeNumber of shadow LSB modifications (0 if no shadows).
total_coefficients: usizeTotal number of Y-channel coefficients in the image.
Auto Trait Implementations§
impl Freeze for GhostMetrics
impl RefUnwindSafe for GhostMetrics
impl Send for GhostMetrics
impl Sync for GhostMetrics
impl Unpin for GhostMetrics
impl UnsafeUnpin for GhostMetrics
impl UnwindSafe for GhostMetrics
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more