Editing Image package
Jump to navigation
Jump to search
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 1: | Line 1: | ||
− | The {{Forge|image|image package}} is part of the | + | The {{Forge|image|image package}} is part of the octave-forge project. See its {{Forge|image|homepage}} for the latest release. |
− | |||
− | |||
== Development == | == Development == | ||
Follows an incomplete list of stuff missing in the image package to be matlab compatible. Bugs are not listed here, [https://savannah.gnu.org/bugs/?func=search&group=octave search] and [https://savannah.gnu.org/bugs/?func=additem&group=octave report] them on the bug tracker instead. | Follows an incomplete list of stuff missing in the image package to be matlab compatible. Bugs are not listed here, [https://savannah.gnu.org/bugs/?func=search&group=octave search] and [https://savannah.gnu.org/bugs/?func=additem&group=octave report] them on the bug tracker instead. | ||
+ | |||
+ | === Roadmap === | ||
+ | |||
+ | The following are missing targets for the next minor release of the image package (version 2.8.0). Small bug fixes, build fixes, and regressions may still be released before in a patch release (Version 2.6.X). | ||
+ | |||
+ | * add ellipse properties to {{codeline|regionprops}} (see bug {{bug|44100}}) ([http://hg.code.sf.net/p/octave/image/rev/7cf22a478792 done]) | ||
+ | * speed up {{codeline|regionprops}} for large images with many small objects (probably work around for loop with labeled == labelid) | ||
+ | * support passing {{codeline|bwconncomp}} output to {{codeline|regionprops}} (and then fix {{codeline|bwpropfilt}} to use that instead of a labeled image) | ||
+ | * ND support on {{codeline|imfilter}} | ||
+ | * check if {{codeline|normxcorr2}} is Matlab compatible and investigate making use of {{codeline|fftconvn}} since it's likely to receive large input | ||
+ | * investigate implementing the missing deconvolution functions (see patch {{patch|8571}}) | ||
+ | * anything else that is done or submitted before the above are done | ||
=== Missing functions === | === Missing functions === | ||
Line 16: | Line 26: | ||
* affine3d | * affine3d | ||
* applycform | * applycform | ||
+ | * axes2pix | ||
* bwconvhull | * bwconvhull | ||
* bwdistgeodesic | * bwdistgeodesic | ||
* bwlookup | * bwlookup | ||
+ | * bwpack | ||
* bwtraceboundary | * bwtraceboundary | ||
* bwulterode | * bwulterode | ||
+ | * bwunpack | ||
* chromadapt | * chromadapt | ||
+ | * [https://savannah.gnu.org/patch/index.php?9608 colorangle] | ||
* colorcloud | * colorcloud | ||
* convmtx2 | * convmtx2 | ||
Line 31: | Line 45: | ||
* dct2 | * dct2 | ||
* dctmtx | * dctmtx | ||
− | |||
* deconvblind | * deconvblind | ||
* deconvlucy | * deconvlucy | ||
Line 63: | Line 76: | ||
* hdrread | * hdrread | ||
* hdrwrite | * hdrwrite | ||
+ | * [https://savannah.gnu.org/patch/?9412 houghlines] -- (see hough_line) | ||
+ | * [https://savannah.gnu.org/patch/?9407 houghpeaks] | ||
* iccfind | * iccfind | ||
* iccread | * iccread | ||
Line 75: | Line 90: | ||
* ImageAdapter | * ImageAdapter | ||
* imageinfo | * imageinfo | ||
− | * | + | * imapplymatrix |
* imapprox | * imapprox | ||
* imbinarize | * imbinarize | ||
Line 154: | Line 169: | ||
* nitfread | * nitfread | ||
* openrset | * openrset | ||
+ | * [https://savannah.gnu.org/patch/?9360 otsuthresh] | ||
* para2fan | * para2fan | ||
* projective2d | * projective2d | ||
Line 204: | Line 220: | ||
|- | |- | ||
! bug !! bug title !! status | ! bug !! bug title !! status | ||
+ | |- | ||
+ | | {{bug|38085}} || image package: fails to build with --enable-64 (entropyfilt) || Confirmed | ||
|- | |- | ||
| {{bug|38087}}|| image package: graycomatrix incompatibilities with matlab || None | | {{bug|38087}}|| image package: graycomatrix incompatibilities with matlab || None | ||
+ | |- | ||
+ | | {{bug|38345}}|| image package: __spatial_filtering__() always returns class double || Confirmed | ||
|- | |- | ||
| {{bug|41674}}|| image package: temporary arrays in imresize are doubles || None | | {{bug|41674}}|| image package: temporary arrays in imresize are doubles || None | ||
Line 217: | Line 237: | ||
| {{bug|44831}}|| image package: imrotate - different dimensions of output matrix || Confirmed | | {{bug|44831}}|| image package: imrotate - different dimensions of output matrix || Confirmed | ||
|- | |- | ||
− | | {{bug|45088}}|| image package: rangefilt requires domain and image to have equal number of dimensions || | + | | {{bug|45088}}|| image package: rangefilt requires domain and image to have equal number of dimensions || Patch Reviewed |
|- | |- | ||
| {{bug|46745}}|| image package: imresize default method (bicubic) Matlab incompatible for the border pixels|| None | | {{bug|46745}}|| image package: imresize default method (bicubic) Matlab incompatible for the border pixels|| None | ||
Line 223: | Line 243: | ||
| {{bug|48529}}|| image package: compilation warnings under Mac OSX|| None | | {{bug|48529}}|| image package: compilation warnings under Mac OSX|| None | ||
|- | |- | ||
+ | | {{bug|50071}}|| OF image: bwfill(...,4) in Octave behaves like bwfill(...,8) in MATLAB and vice versa|| None | ||
|- | |- | ||
| {{bug|50151}}|| image package: normxcorr2 is not compatible with Matlab|| None | | {{bug|50151}}|| image package: normxcorr2 is not compatible with Matlab|| None | ||
Line 239: | Line 260: | ||
|- | |- | ||
| {{bug|50732}} || Image package: infinite error loop when assigning a strel (class) object to a vector|| Confirmed | | {{bug|50732}} || Image package: infinite error loop when assigning a strel (class) object to a vector|| Confirmed | ||
+ | |- | ||
+ | | {{bug|50874}} || bwdist call causes application crash || Confirmed | ||
|- | |- | ||
| {{bug|51420}} || [octave forge] (image) imrotate is less tolerant to missing argument than Matlab || None | | {{bug|51420}} || [octave forge] (image) imrotate is less tolerant to missing argument than Matlab || None | ||
Line 251: | Line 274: | ||
|- | |- | ||
| {{bug|51980}} || [octave forge] (image) Failing unit test for edge|| None | | {{bug|51980}} || [octave forge] (image) Failing unit test for edge|| None | ||
+ | |- | ||
+ | | {{bug|51981}} || [octave forge] (image) Failing unit test for otf2psf|| None | ||
+ | |- | ||
+ | | {{bug|51982}} || [octave forge] (image) Failing unit test for nlfilter|| None | ||
|- | |- | ||
| {{bug|52006}} || [octave forge] (image) 'makecform' feature request || Confirmed | | {{bug|52006}} || [octave forge] (image) 'makecform' feature request || Confirmed | ||
Line 258: | Line 285: | ||
| {{bug|52715}} || [octave forge] (image) Add full data range option to ycbcrfunc conversions || None | | {{bug|52715}} || [octave forge] (image) Add full data range option to ycbcrfunc conversions || None | ||
|- | |- | ||
− | | {{bug| | + | | {{bug|52933}} || [octave-forge] (image) regionprops Perimeter returns Matlab incompatible results || Patch Submitted |
− | |||
− | |||
|- | |- | ||
− | | {{bug| | + | | {{bug|52959}} || [octave-forge] (image) histeq is not compatible with Matlab || None |
|- | |- | ||
|} | |} | ||
Line 275: | Line 300: | ||
* {{patch|8571}}: image package: three deconvolution routines (Wiener, RL, RLTV) | * {{patch|8571}}: image package: three deconvolution routines (Wiener, RL, RLTV) | ||
* {{patch|8824}}: added affine2d class | * {{patch|8824}}: added affine2d class | ||
+ | * {{patch|9235}}: image package: improve filtering functions (stdfilt, entropyfilt) and add tests (also medfilt2, ordfilt2, rangefilt) | ||
+ | * {{patch|9244}}: image package: regionprops.m - new properties ConvexHull, ConvexImage, ConvexArea, Solidity | ||
+ | * {{patch|9354}}: image package: new function wiener2.m | ||
+ | * {{patch|9360}}: image package: new function otsuthresh.m | ||
+ | * {{patch|9365}}: image package: new function deconvwnr.m | ||
+ | * {{patch|9407}}: image package: new function houghpeaks.m | ||
+ | * {{patch|9412}}: image package: new function houghlines.m | ||
* {{patch|9509}}: Image package: simple implementation of roipoly function | * {{patch|9509}}: Image package: simple implementation of roipoly function | ||
* {{patch|9593}}: [Octave Forge] (Image) New function demosaic.m from bug #50708 | * {{patch|9593}}: [Octave Forge] (Image) New function demosaic.m from bug #50708 | ||
* {{patch|9600}}: [Octave Forge] (Image) New functions: lin2rgb.m and lrgb2lin.m | * {{patch|9600}}: [Octave Forge] (Image) New functions: lin2rgb.m and lrgb2lin.m | ||
− | * {{patch|9602}}: | + | * {{patch|9602}}: multithresh () for the image package |
* {{patch|9603}}: [Octave Forge] (Image) New functions: xyz2double.m, xyz2single.m, xyz2uint16.m | * {{patch|9603}}: [Octave Forge] (Image) New functions: xyz2double.m, xyz2single.m, xyz2uint16.m | ||
− | * {{patch| | + | * {{patch|9606}}: [Octave-forge] (image) New function integralImage |
− | * {{patch| | + | * {{patch|9608}}: image package: new function colorangle |
− | |||
== Image Processing Functions == | == Image Processing Functions == | ||
Line 363: | Line 394: | ||
| otsuthresh || - || {{patch|9360}} || graythresh || otsuthresh(hist) is equivalent to graythresh (hist) | | otsuthresh || - || {{patch|9360}} || graythresh || otsuthresh(hist) is equivalent to graythresh (hist) | ||
|- | |- | ||
− | | rgb2gray || | + | | rgb2gray || < 1.0.0 || || || |
|- | |- | ||
| rgb2ind || function is in Octave core || || || | | rgb2ind || function is in Octave core || || || | ||
Line 375: | Line 406: | ||
! Function !! Octave Package Version !! Related Bugs and Patches !! Alternatives || Notes | ! Function !! Octave Package Version !! Related Bugs and Patches !! Alternatives || Notes | ||
|- | |- | ||
− | | colorangle || | + | | colorangle || - || {{patch|9608}} || || |
|- | |- | ||
| lab2double || 2.6.0 || || || | | lab2double || 2.6.0 || || || | ||
Line 389: | Line 420: | ||
| lin2rgb || - || {{patch|9600}} || || | | lin2rgb || - || {{patch|9600}} || || | ||
|- | |- | ||
− | | ntsc2rgb || | + | | ntsc2rgb || function is in Octave core || || || |
|- | |- | ||
| rgb2lab || 2.6.0 || || || | | rgb2lab || 2.6.0 || || || | ||
Line 395: | Line 426: | ||
| rgb2lin || - || {{patch|9600}} || || | | rgb2lin || - || {{patch|9600}} || || | ||
|- | |- | ||
− | | rgb2ntsc || | + | | rgb2ntsc || function is in Octave core || || || |
|- | |- | ||
| rgb2xyz || 2.6.0 || || || | | rgb2xyz || 2.6.0 || || || | ||
|- | |- | ||
− | | rgb2ycbcr || | + | | rgb2ycbcr || dev || || || |
|- | |- | ||
| whitepoint || - || {{patch|8060}} || || | | whitepoint || - || {{patch|8060}} || || | ||
Line 411: | Line 442: | ||
| xyz2uint16 || - || {{patch|9603}} || || | | xyz2uint16 || - || {{patch|9603}} || || | ||
|- | |- | ||
− | | ycbcr2rgb || | + | | ycbcr2rgb || dev || || || |
|- | |- | ||
|} | |} | ||
Line 423: | Line 454: | ||
! Function !! Octave Package Version !! Related Bugs and Patches !! Alternatives || Notes | ! Function !! Octave Package Version !! Related Bugs and Patches !! Alternatives || Notes | ||
|- | |- | ||
− | | checkerboard || | + | | checkerboard || dev || || || |
|- | |- | ||
| imnoise || 2.2.2 || || || | | imnoise || 2.2.2 || || || | ||
Line 457: | Line 488: | ||
| convmtx2 || - || || || | | convmtx2 || - || || || | ||
|- | |- | ||
− | | entropyfilt || 1.0.9 || || || | + | | entropyfilt || 1.0.9 || {{patch|9235}} || || |
|- | |- | ||
| fibermetric ||- || || || | | fibermetric ||- || || || | ||
Line 499: | Line 530: | ||
| integralImage3 || - || || || | | integralImage3 || - || || || | ||
|- | |- | ||
− | | medfilt2 || < 1.0.0 || || || | + | | medfilt2 || < 1.0.0 || {{patch|9235}} || || |
|- | |- | ||
| medfilt3 || - || || || | | medfilt3 || - || || || | ||
Line 507: | Line 538: | ||
| normxcorr2 || 2.0.0 || {{bug|50151}} || || | | normxcorr2 || 2.0.0 || {{bug|50151}} || || | ||
|- | |- | ||
− | | ordfilt2 || 1.0.9 || || || | + | | ordfilt2 || 1.0.9 || {{patch|9235}} || || |
|- | |- | ||
| padarray || < 1.0.0 || || || | | padarray || < 1.0.0 || || || | ||
|- | |- | ||
− | | rangefilt || 1.0.9 || {{bug|45088}} || || | + | | rangefilt || 1.0.9 || {{bug|45088}} {{patch|9235}} || || |
|- | |- | ||
− | | stdfilt || 1.0.9 || || || | + | | stdfilt || 1.0.9 || {{patch|9235}} || || |
|- | |- | ||
− | | wiener2 || | + | | wiener2 || dev || || || |
|- | |- | ||
|} | |} | ||
Line 529: | Line 560: | ||
| imadd || 2.0.0 || || || | | imadd || 2.0.0 || || || | ||
|- | |- | ||
− | | imapplymatrix || - || | + | | imapplymatrix || - || || || |
|- | |- | ||
| imcomplement || 1.0.6 || || || | | imcomplement || 1.0.6 || || || | ||
Line 535: | Line 566: | ||
| imdivide || 2.0.0 || || || | | imdivide || 2.0.0 || || || | ||
|- | |- | ||
− | | imlincomb || 2.0.0 || || || | + | | imlincomb || 2.0.0 || {{bug|50783}} || || |
|- | |- | ||
| immultiply || 2.0.0 || || || | | immultiply || 2.0.0 || || || | ||
Line 573: | Line 604: | ||
| imerode || < 1.0.0 || || || | | imerode || < 1.0.0 || || || | ||
|- | |- | ||
− | | imextendedmax || | + | | imextendedmax || dev || {{patch|9488}}|| || |
|- | |- | ||
− | | imextendedmin || | + | | imextendedmin || dev || {{patch|9488}} || || |
|- | |- | ||
| imfill || 2.6.0 || || || | | imfill || 2.6.0 || || || | ||
|- | |- | ||
− | | imhmax || | + | | imhmax || dev || {{patch|9488}}|| || |
|- | |- | ||
− | | imhmin || | + | | imhmin || dev || {{patch|9488}} || || |
|- | |- | ||
− | | imimposemin || | + | | imimposemin || dev || {{patch|9488}}|| || |
|- | |- | ||
| imopen || < 1.0.0 || || || | | imopen || < 1.0.0 || || || | ||
Line 602: | Line 633: | ||
|- | |- | ||
| watershed || 2.6.0 || || || | | watershed || 2.6.0 || || || | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
|- | |- | ||
|} | |} | ||
Line 688: | Line 681: | ||
* Obs: implay, iptgetpref, iptprefs, iptsetpref functions are on Basic Display section too... | * Obs: implay, iptgetpref, iptprefs, iptsetpref functions are on Basic Display section too... | ||
− | [[Category:Octave Forge | + | [[Category:Octave-Forge]] |
− |