NAME

Cv::Histogram - Perl extension for OpenCV Histogram

SYNOPSIS

use Cv::Histogram;

DESCRIPTION

METHOD

new, CreateHist
$hist = Cv::Histogram->new($sizes, $type, $ranges, $uniform);
$hist = Cv::Histogram->new($sizes, $type);
$hist2 = $hist1->new;
type, bins, ranges (members of CvHistogram)
$hist->type
$hist->bins
$hist->ranges					# alias of CvHistogram.thresh
CalcBackProject
$hist->CalcBackProject(\@image, $back_project);
CalcBackProjectPatch
$hist->CalcBackProjectPatch(\@image, $dst, $patch_size, $method, $factor);
CalcHist, Calc
$hist->calc(\@image, $accumulate, $mask);
$hist->calc(\@image);
CalcProbDensity
$hist1->CalcProbDensity($hist2, $dst_hist, $scale);
$hist1->CalcProbDensity($hist2, $dst_hist);
ClearHist, Clear
$hist->clear;
CompareHist, Compare
$hist1->compare($hist2, $method);
CopyHist, Copy
$src->copy($dst);
$dst = $src->copy;
GetMinMaxHistValue, MinMaxLoc
$hist->minMaxLoc(my $min_value, my $max_value, my $min_idx, my $max_idx);
$hist->minMaxLoc(my $min_value, my $max_value);
NormalizeHist, Normalize
$hist->normalize($factor);
SetHistBinRanges, SetRanges
$hist->setRanges(\@ranges, $uniform);
$hist->setRanges(\@ranges);
ThreshHist, Thresh
$hist->thresh($threshold);
CalcPGH (legacy)
$hist->calcPGH($contour);
QueryHistValue, Query (legacy)
$value = $hist->query($idx0);
$value = $hist->query($idx0, $idx1);
$value = $hist->query($idx0, $idx1, $idx2);
$value = $hist->query(\@idx);
GetHistValue, Get (legacy)
$value = $hist->get($idx0);
$value = $hist->get($idx0, $idx1);
$value = $hist->get($idx0, $idx1, $idx2);
$value = $hist->get(\@idx);
cvCalcBackProject
cvCalcBackProjectPatch
cvCalcHist
cvCalcPGH
cvCalcProbDensity
cvClearHist
cvCompareHist
cvCopyHist
cvCreateHist
cvGetMinMaxHistValue
cvNormalizeHist
cvReleaseHist
cvSetHistBinRanges
cvThreshHist

EXPORT

None by default.

SEE ALSO

http://github.com/obuk/Cv-Olive

AUTHOR

MASUDA Yuta <yuta.cpan@gmail.com>

LICENCE

Copyright (c) 2013 by MASUDA Yuta.

All rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.