I have an image and i want to locate key points by using SIFT detector and group them, then i want to generate local features for each key point by using SIFT, would you please help me how I can do it ? Please give me any suggestions I really appreciate your help
Generate local features For each keypoint by using SIFT
899 Views Asked by Baran Barani At
2
There are 2 best solutions below
0
G453
On
If you are using opencv here are the commands to do it, else if you are using the matlab see the link MATCHING_using surf
USING OPENCV::
// you can change the parameters for your requirement
double hessianThreshold=200;
int octaves=3;
int octaveLayers=4;
bool upright=false;
vector<KeyPoint>keypoints;
//The detector detects the keypoints in an image here image is RGBIMAGE of Mat type
SurfFeatureDetector detector( hessianThreshold, octaves, octaveLayers, upright );
detector.detect(RGB_IMAGE, keypoints);
//The extractor computesthe local features around the keypoints
SurfDescriptorExtractor extractor;
Mat descriptors;
extractor.compute( last_ref, keypoints, descriptors);
// all the key points local features are stored in rows one after another in descriptors matrix...
Hope it is useful:)
Related Questions in IMAGE-PROCESSING
- RuntimeError: Given groups=1, weight of size [64, 1, 3, 3], expected input[1, 3, 416, 416] to have 1 channels, but got 3 channels instead
- Unable to open shape_predictor_68_face_landmarks.dat
- When transferring mri t1 to mni152 spaces, the dimensions change and lose information, is that not a problem?
- How to detect the exact boundary of a Sudoku using OpenCV when there are multiple external boundaries?
- Nuke BlinkScript: Why does the convolution kernel scale down the image?
- CV2 Python - image merging based on homography matrix - error in mergeing
- Python pillow library text align center
- Implementing Image Processing for Dimension Measurement in Arduino-based Packaging System
- AI tools for generating clean clipping paths
- efficient way to remove a background from an image in python
- I want to segment an MRI image of the spine and obtain only the vertebrae using Matlab
- Find Gradient Magnitude using skimage.feature.hog module
- AR Image Display Issue
- Using python OpenCV to crop an image based on reference marks
- Python: Generating an image using Multiprocessing freezes
Related Questions in SIMILARITY
- Similar Questions but Different Response Set Up in Survey Data Sets
- Measures of similarity for time series data
- similarity between two numpy arrays based on shape but not distance
- How to detect if two sentences are simmilar, not in meaning, but in syllables/words?
- How can I compare the similarity between multiple sets?
- Similarity search within vector database records
- Langchain FAISS | Any solutions or alternatives for similarity search on vector DBs for slightly repetitive short words with numerics?
- I have plots of points that I extract from an image. How can I determine a similarity measure between two different plots?
- How to combine a column containing score value with knn score of rest of the columns
- Shared triples between two knowledge graphs
- record matching/similarity calculation for numbers and characters
- Dealing with Pearson Similarity returning 0 for users with equal item counts - Mahout
- VBA collect consecutive similar cells in the row
- Textual similarity between two tags in Nodejs
- Get similarity within a column based on another column
Related Questions in SIFT
- Image preparation before SIFT extracting features, or how to make SIFT work stable
- SIFT feature transform performing poor, Scale Space Extrema refinement
- SIFT feature transform not detecting correct/incomplete Scale Space Extremas
- Matching a pattern between an image and template using Python OpenCV and SIFT
- I am trying to SIFT from this image
- Can I use OpenCV SIFT for 16bit images?
- SIFT KeyPoint input values (scale constants)
- Copy-move forgery detection using sift algorithm and keypoints matching using knn
- MATLAB for object tracking
- Custom dataset is not fit to svm model
- OpenCV Exception: Assertion failed in cv::DescriptorMatcher::checkMasks
- loss of space on C (windows10) and openCV SIFT (detect and compute images)
- How to use SIFT descriptors in knn algorithm to classify images
- find the same object from two images which contain two crowds of such similar objects
- Using SIFT in opencv using c++ without special libraries
Related Questions in FEATURE-EXTRACTION
- Error processing image dataset\train\image\ff8bf1417c.png: No skimage.transform attribute extract_patches --
- Find Gradient Magnitude using skimage.feature.hog module
- Pipeline data processing and code architecture
- turning an Autoencoder into another model
- I have MODIS raster images, want to extract LST values at given lat long values USING python
- Can BERTopic model correlate topic with unique id in other column?
- Dimensionality reduction of atmospheric data
- How do I pass a list to a bar chart using matplotlib?
- Understanding movement's direction by comparing 2 pictures
- Training feature matrix vs Real input
- Plot bands for a particular channel in EEG feature extraction
- Normalizing the numerical values
- How to compare two 3D point clouds
- Supervised learning? or unsupervised learning? which one is correct?
- Tensorflow-based MIMO Deep-Wide Neural Network with Transfer Learning: Any advice on improving prediction accuracy above 60% (Football Prediction)
Related Questions in KEYPOINT
- How to generate body pose keypoints like dresscode using openpose
- How to use MediaPipe pose to make detections?
- How overlap 2 images with keypoints in OpenCV Python?
- Which pose estimation model is used to get keypoints in the JSON format specifically as below, code in Python?
- How To Add Code to Upload image and show image that has keypoint from YoloV8 model?
- Why the coco-annotator I installed doesn't have delete option?
- 2D keypoints/features identification using HRNET32 and top down heatmap on mmpose platform
- May I ask how I can use the Coral dev board and a USB camera(LogiC270)to utilize MoveNet for obtaining real-time single human pose estimation data?
- Estimating pose via semantic segmentation pipeline
- How do deal with bad visibility in keypoint-annotation
- Pytorch keypoint detector not learning
- cv2.drawKeypoints not drawing keypoints on the outImage
- OpenCV Python Stitching: Define custom keypoints / matches skipping feature detector & matcher
- In detectron2, how could I put the keypoint names on the image?
- How to save JSON object to text file
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular # Hahtags
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
I'm not sure that I understand what you mean, but if you extract SIFT features from an image, you automatically get the feature descriptor which is used to compare features to each other. Of course you also get the feature location, size, direction and hessian value with it.
While you can group those features by there position in the image, but there is currently no way that I'm aware of to compare those groups, since they may be locally related, but can have wildly different feature descriptors.
Also I would suggest SURF. It is faster and not patent encumbered.
Have a look at the examples from OpenCV if you want specific instructions on how to retrieve and compare descriptors.