I see the code:

CPLErr GDALSimpleSURF::ConvertRGBToLuminosity


const double forRed = 0.21;
    const double forGreen = 0.72;
    const double forBlue = 0.07;

question:
if you have a sensor with more than this three channels
probably it will not work you need to have an RGB image.

how about have an option how many channels to choose.

Probably this process is working for one channel as well.


--Nikos



On Mon, Aug 27, 2012 at 9:12 AM, Frank Warmerdam <[email protected]>wrote:

> On Mon, Aug 27, 2012 at 11:50 AM, Even Rouault
> <[email protected]> wrote:
> > Making algorithm work with imagery that is piece-wise loaded can be very
> > complicated indeed. And if you try to correlate images that are taken by
> sensors
> > that have very different angles, then you could need to correlate parts
> that are
> > not at all at the same position in the 2 images.
>
> Even,
>
> I think it will actually not be too hard to remove this problem
> with loading the whole image.  It seems that the reference
> point objects (the somewhat poorly named GDALFeaturePoint)
> stores a "descriptor" representation of the point with it and so
> after these are collected from one of the images it is not
> necessary to keep the original image in memory.
>
> I'm still not sure how to handle the image scaling and
> conversion to a luminosity image more smoothly.
>
> Best regards,
> --
>
> ---------------------------------------+--------------------------------------
> I set the clouds in motion - turn up   | Frank Warmerdam,
> [email protected]
> light and sound - activate the windows | http://pobox.com/~warmerdam
> and watch the world go round - Rush    | Geospatial Software Developer
> _______________________________________________
> gdal-dev mailing list
> [email protected]
> http://lists.osgeo.org/mailman/listinfo/gdal-dev
>
_______________________________________________
gdal-dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/gdal-dev

Reply via email to