Ask Your Question
0

How much byte does BRIEF use with the Java wrapper?

asked 2013-05-31 16:56:29 -0600

MysticBE gravatar image

I was wondering just how much bytes BRIEF uses when using the Java wrapper (Android). I've been looking online, and in the OpenCV Library, but the answer can't be found. I know however that BRIEF uses image patches, and found the next code for C++

class BriefDescriptorExtractor : public DescriptorExtractor

{ public: static const int PATCH_SIZE = 48; static const int KERNEL_SIZE = 9;

// bytes is a length of descriptor in bytes. It can be equal 16, 32 or 64 bytes.
BriefDescriptorExtractor( int bytes = 32 );

virtual void read( const FileNode& );
virtual void write( FileStorage& ) const;
virtual int descriptorSize() const;
virtual int descriptorType() const;

protected: ... };

I'm guessing since the PATCH_SIZE is 48, that BRIEF normally uses 48 bytes to describe a keypoint? Am I correct, or totally wrong?

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
1

answered 2013-05-31 17:41:51 -0600

Notas gravatar image

The important part is

// bytes is a length of descriptor in bytes. It can be equal 16, 32 or 64 bytes.
BriefDescriptorExtractor( int bytes = 32 );

so your descriptor of the keypoint uses 32 bytes. I guess the patch size refers to the actual size of the area around the keypoint that is used to compute the descriptor.

edit flag offensive delete link more

Question Tools

Stats

Asked: 2013-05-31 16:56:29 -0600

Seen: 200 times

Last updated: May 31 '13